2021-03-03 10:01:32 +00:00
|
|
|
<?php
|
2021-03-03 10:16:10 +00:00
|
|
|
require_once "../../bootstrap.php";
|
2021-03-03 10:01:32 +00:00
|
|
|
use Illuminate\Database\Capsule\Manager as Capsule;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2021-03-03 10:41:09 +00:00
|
|
|
Capsule::schema()->create("GameJam", function (Blueprint $table){
|
2021-03-03 10:01:32 +00:00
|
|
|
$table->id();
|
|
|
|
$table->string("name");
|
|
|
|
$table->dateTime("startTime");
|
|
|
|
$table->dateTime("endTime");
|
|
|
|
$table->string("keyWord")->nullable();
|
|
|
|
$table->text("description")->nullable();
|
|
|
|
});
|