id(); $table->string('name')->unique(); $table->string('description')->nullable(); $table->timestamps(); }); Schema::create('permissions', function (Blueprint $table) { $table->id(); $table->string('name')->unique(); $table->string('description')->nullable(); $table->timestamps(); }); Schema::create('assignments', function (Blueprint $table) { $table->morphs('affected'); $table->morphs('assignment'); $table->timestamp('expires_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { // } };