Game-Jaming/Backend/Database/KeyWord.php

11 lines
342 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("Group", function (Blueprint $table){
$table->id();
$table->string('keyWord');
$table->foreignId("fkGroup")->constrained("Group");
});