Skip to content
Advertisement

Tag: web-frameworks

SQLSTATE[42000]: Syntax error or access violation: 1072 Key column ‘proform_id’ doesn’t exist in table

After php artisan migrate:fresh I get error: SQLSTATE[42000]: Syntax error or access violation: 1072 Key column ‘proform_id’ doesn’t exist in table (SQL: alter table proforms add constraint proforms_proform_id_foreign foreign key (proform_id) references proforms (id) on delete cascade) This is migration which generates error: 2020_08_08_093303_create_dynamic_field.php This is migration asociated with it: 2020_07_29_101958_proforms.php Answer This looks odd to me: It looks like

Advertisement