database And dertory update

This commit is contained in:
2021-03-08 13:01:01 +01:00
parent 858b065a8e
commit 4eb443cd1c
15 changed files with 59 additions and 13 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ use Illuminate\Support\Facades\Schema;
//Create groups table with the rows as id, groupName, groupAmount, fkGameJam, votes, fkPassword, fkGameData and timestamp
Capsule::schema()->create("groups", function (Blueprint $table){
$table->id();
$table->string("groupName");
$table->integer("groupAmount");
$table->string("group_name");
$table->integer("group_amount");
$table->foreignId("game_jam_id")->constrained("game_jams");
$table->foreignId("game_data_id")->nullable()->constrained("game_data");
$table->timestamps();