new db migration

This commit is contained in:
2021-03-05 11:23:10 +01:00
parent 01f6e16283
commit d2182f5020
10 changed files with 29 additions and 50 deletions
+1
View File
@@ -8,6 +8,7 @@ use Illuminate\Support\Facades\Schema;
//Create password table with the rows as id, password, rememberToken and timestamps
Capsule::schema()->create("passwords", function (Blueprint $table){
$table->id();
$table->foreignId("group_id")->constrained("groups");
$table->string('password');
$table->rememberToken();
$table->timestamps();