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
SQLSTATE[HY000]: General error: 1824 Failed to open the referenced table 'reg_employee_mst' (SQL: alter table reg_employee_attachments add constraint reg_employee_attachments_employee_id_foreign foreign key (employee_id) references reg_employee_mst (employee_id) on delete cascade)
The text was updated successfully, but these errors were encountered:
Ahh I realize you documented this in the install steps. However, could it make sense to redo the migrations to be in order so the extra step isn't needed anymore? I could submit a patch for that if helpful.
For others, before running php artisan migrate you first need to run
php artisan migrate --path=database/migrations/2022_01_31_191309_create_reg_employee_msts_table.php
Fresh install of latest main:
Illuminate\Database\QueryException
SQLSTATE[HY000]: General error: 1824 Failed to open the referenced table 'reg_employee_mst' (SQL: alter table
reg_employee_attachments
add constraintreg_employee_attachments_employee_id_foreign
foreign key (employee_id
) referencesreg_employee_mst
(employee_id
) on delete cascade)The text was updated successfully, but these errors were encountered: