Migrations start

This commit is contained in:
neerholt 2021-03-03 10:22:31 +01:00
parent 6717cc4437
commit c780295bf7
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?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");
});