Game-Jaming/Backend/Database/GameJam.php

14 lines
442 B
PHP
Raw Normal View History

2021-03-03 10:01:32 +00:00
<?php
2021-03-03 10:03:29 +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;
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();
});