Made login
This commit is contained in:
@@ -10,10 +10,10 @@ Capsule::schema()->create("groups", function (Blueprint $table){
|
||||
$table->id();
|
||||
$table->string("groupName");
|
||||
$table->integer("groupAmount");
|
||||
$table->foreignId("fkGameJam")->constrained("game_jams");
|
||||
$table->foreignId("game_jam_id")->constrained("game_jams");
|
||||
$table->integer("votes")->nullable();
|
||||
$table->foreignId("fkPassword")->constrained("password");
|
||||
$table->foreignId("fkGameData")->nullable()->constrained("game_data");
|
||||
$table->foreignId("password_id")->constrained("passwords");
|
||||
$table->foreignId("game_data_id")->nullable()->constrained("game_data");
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ use Illuminate\Support\Facades\Schema;
|
||||
Capsule::schema()->create("key_words", function (Blueprint $table){
|
||||
$table->id();
|
||||
$table->string('keyWord');
|
||||
$table->foreignId("fkGroup")->constrained("groups");
|
||||
$table->foreignId("group_id")->constrained("groups");
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
//Create password table with the rows as id, password, rememberToken and timestamps
|
||||
Capsule::schema()->create("password", function (Blueprint $table){
|
||||
Capsule::schema()->create("passwords", function (Blueprint $table){
|
||||
$table->id();
|
||||
$table->string('password');
|
||||
$table->rememberToken();
|
||||
|
||||
Reference in New Issue
Block a user