cursor execute statement parameters sqlalchemy exc InternalError Inter

1
2
3
4
5
6
7
cursor.execute(statement, parameters)
sqlalchemy.exc.InternalError: (InternalError) cannot drop table "user" because other objects depend on it
DETAIL: constraint project_owner_id_fkey on table project depends on table "user"
constraint backer_owner_id_fkey on table backer depends on table "user"
constraint image_owner_id_fkey on table image depends on table "user"
HINT: Use DROP ... CASCADE to drop the dependent objects too.
'\nDROP TABLE "user"' {}