Game-Jaming/Backend/Database/Group.php

12 lines
336 B
PHP
Raw Normal View History

2021-03-03 09:22:31 +00:00
<?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");
});