Upgrading from 0.26.2 to 0.28.1 Fails with insert or update on table "report_card" violates foreign key constraint "fk_report_card_ref_database_id" #7031
Labels
Operation/
Priority:P1
Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness
Type:Bug
Product defects
Milestone
Hi All, this seems similar to #6520 but is happening to me on 0.28.1
When upgrading a heroku deploy of metabase following the instructions in https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-heroku.html metabase crashes with the following error:
insert or update on table "report_card" violates foreign key constraint "fk_report_card_ref_database_id"
Postgres
0.26.2 upgrade to 0.28.1
Heroku
Postgres
I managed to manually clean this up following the instructions provided in #6520 but ifgured you might want to take a look and see if there's an issue with this in 0.28.1
Full logs:
The text was updated successfully, but these errors were encountered: