made migrations files

This commit is contained in:
neerholt
2021-03-03 11:01:32 +01:00
parent c780295bf7
commit 26161102f5
8 changed files with 73 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
require_once "Backend\Bootstrap.php";
use Illuminate\Database\Capsule\Manager as Capsule;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Capsule::schema()->create("Group", function (Blueprint $table){
$table->id();
$table->string("name");
$table->dateTime("startTime");
$table->dateTime("endTime");
$table->string("keyWord")->nullable();
$table->text("description")->nullable();
});