From 08e8e36e256d1893967c98b366395279b39c1e72 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 16 Feb 2023 12:24:23 +0300 Subject: auth: migrations: Link to data in main db Provide the `linked_group_data` table to be used to link to data in the main database. Update the `mrna_resources`, `genotype_resources` and `phenotype_resources` tables to rely on the `linked_group_data` table. --- tests/unit/auth/test_migrations_create_tables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit') diff --git a/tests/unit/auth/test_migrations_create_tables.py b/tests/unit/auth/test_migrations_create_tables.py index 98022eb..ef192f4 100644 --- a/tests/unit/auth/test_migrations_create_tables.py +++ b/tests/unit/auth/test_migrations_create_tables.py @@ -32,7 +32,8 @@ migrations_and_tables = ( ("20221219_03_PcTrb-create-authorisation-code-table.py", "authorisation_code"), ("20230207_01_r0bkZ-create-group-join-requests-table.py", - "group_join_requests")) + "group_join_requests"), + ("20230216_01_dgWjv-create-linked-group-data-table.py", "linked_group_data")) @pytest.mark.unit_test @pytest.mark.parametrize("migration_file,the_table", migrations_and_tables) -- cgit v1.2.3