You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed fabricator table name so it couldn't conflict with "pages" table I want to create later. Got an error during migration.
The config config/filament-fabricator.php:
<?php// config for Z3d0X/FilamentFabricatorreturn [
...
'table_name' => 'fabricator_pages',
];
The error on php artisan migrate:
SQLSTATE[HY000]: General error: 1824 Failed to open the referenced table 'pages' (Connection: mysql, SQL: alter table `fabricator_pages` add constraint `fabricator_pages_parent_id_foreign` foreign key (`parent_id`) references `pages` (`id`) on delete cascade on update cascade)
The text was updated successfully, but these errors were encountered:
I changed fabricator table name so it couldn't conflict with "pages" table I want to create later. Got an error during migration.
The config
config/filament-fabricator.php
:The error on
php artisan migrate
:The text was updated successfully, but these errors were encountered: