Migrations start
This commit is contained in:
parent
6717cc4437
commit
c780295bf7
|
@ -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");
|
||||||
|
});
|
Loading…
Reference in New Issue