diff --git a/alembic/versions/987edda096f5_access_id_in_user_projects.py b/alembic/versions/987edda096f5_access_id_in_user_projects.py index 0b201f5..3181586 100644 --- a/alembic/versions/987edda096f5_access_id_in_user_projects.py +++ b/alembic/versions/987edda096f5_access_id_in_user_projects.py @@ -83,7 +83,7 @@ def upgrade(): ) # alter the constraints - op.drop_constraint('user_projects_project_id_key', 'user_projects') + op.drop_constraint('user_projects_project_id_fkey', 'user_projects') op.create_unique_constraint( None, 'user_projects',