Made role controller, added index and create

This commit is contained in:
2020-06-30 11:30:12 +02:00
parent 8415338120
commit 6c020e36da
3 changed files with 4 additions and 9 deletions
@@ -16,6 +16,7 @@ class CreateAlbumsTable extends Migration
Schema::create('albums', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->foreignId('user_id')->constrained();
});
}