diff --git a/geoapi/migrations/versions/20240916_1855-968f358e102a_add_watch_variables_to_project.py b/geoapi/migrations/versions/20240916_1855-968f358e102a_add_watch_variables_to_project.py index 63afcae3..c5eec74c 100644 --- a/geoapi/migrations/versions/20240916_1855-968f358e102a_add_watch_variables_to_project.py +++ b/geoapi/migrations/versions/20240916_1855-968f358e102a_add_watch_variables_to_project.py @@ -58,11 +58,7 @@ def upgrade(): finally: session.close() - # Drop the unique constraint - op.drop_constraint('observable_data_projects_system_id_path_key', 'observable_data_projects') - def downgrade(): op.drop_column('projects', 'watch_users') op.drop_column('projects', 'watch_content') - op.create_unique_constraint('observable_data_projects_system_id_path_key', 'observable_data_projects', ['system_id', 'path'])