Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #11

Open
chisumo2016 opened this issue Oct 31, 2019 · 0 comments
Open

Issue #11

chisumo2016 opened this issue Oct 31, 2019 · 0 comments
Labels
later will attend to later

Comments

@chisumo2016
Copy link

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

@myckhel myckhel added the later will attend to later label May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
later will attend to later
Projects
None yet
Development

No branches or pull requests

2 participants