Game-Jaming/Backend/Database/GameJam.php

14 lines
447 B
PHP

<?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("GameJam", function (Blueprint $table){
$table->id();
$table->string("name");
$table->dateTime("startTime");
$table->dateTime("endTime");
$table->string("keyWord")->nullable();
$table->text("description")->nullable();
});