-
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
laterwill attend to laterwill attend to later
Description
I am having some issues when I run php artisan migrate:fresh --seed . Please advise what to do.
[41;1m Illuminate\Database\QueryException [49;22m : [33mSQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table collections add constraint collections_branch_id_foreign foreign key (b ranch_id) references users (id) on delete cascade)[39m
[41;1m Illuminate\Database\QueryException [49;22m : [33mSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'branch_id' cannot be null (SQL: insert into collections (branch_id, amount, service_types_id, collections_types_id, date, updated_at, created_at) values (, 7181, , , 2018-02-22 06:57:52, 2019-10-31 13:32:18, 2019-10-31 13:32:18))[39m
Metadata
Metadata
Assignees
Labels
laterwill attend to laterwill attend to later