mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 14:05:21 +02:00
fix: Migration Failure On Postgres Due To Foreign Key Error (#2923)
* added test data to (hopefully) expose fk error * added additional commits during migration --------- Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
parent
b1fa089236
commit
8ca5a9454e
7 changed files with 21 additions and 9 deletions
|
@ -71,14 +71,16 @@ def test_database_restore():
|
|||
@pytest.mark.parametrize(
|
||||
"backup_path",
|
||||
[
|
||||
test_data.backup_version_44e8d670719d,
|
||||
test_data.backup_version_ba1e4a6cfe99,
|
||||
test_data.backup_version_bcfdad6b7355,
|
||||
test_data.backup_version_44e8d670719d_1,
|
||||
test_data.backup_version_44e8d670719d_2,
|
||||
test_data.backup_version_ba1e4a6cfe99_1,
|
||||
test_data.backup_version_bcfdad6b7355_1,
|
||||
],
|
||||
ids=[
|
||||
"44e8d670719d: add extras to shopping lists, list items, and ingredient foods",
|
||||
"ba1e4a6cfe99: added plural names and alias tables for foods and units",
|
||||
"bcfdad6b7355: remove tool name and slug unique contraints",
|
||||
"44e8d670719d_1: add extras to shopping lists, list items, and ingredient foods",
|
||||
"44e8d670719d_2: add extras to shopping lists, list items, and ingredient foods",
|
||||
"ba1e4a6cfe99_1: added plural names and alias tables for foods and units",
|
||||
"bcfdad6b7355_1: remove tool name and slug unique contraints",
|
||||
],
|
||||
)
|
||||
def test_database_restore_data(backup_path: Path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue