fixes
This commit is contained in:
@@ -21,7 +21,7 @@ class CreateResource extends Migration
|
||||
$table->unsignedInteger("extension_id");
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign("extension_id")->references("id")->on("resource_extensions");
|
||||
$table->foreignid("extension_id")->constrained("resource_extensions", "id");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user