Game-Jaming/Backend/Database/Group.php

12 lines
336 B
PHP

<?php
require_once "bootstrap.php";
use Illuminate\Database\Capsule\Manager as Capsule;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Capsule::schema()->create("Group", function ($tabel){
$tabel->id();
$tabel->string("groupName");
$tabel->int("groupAmount");
$tabel->int("votes");
});