Код: Выделить всё
op.drop_constraint('exists_in_some_db_fkey', 'table', type='foreignkey')
Код: Выделить всё
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject)
constraint "exists_in_some_db_fkey" of relation "table" does not exist
[SQL: 'ALTER TABLE extensions DROP CONSTRAINT exists_in_some_db_fkey']
(Background on this error at: http://sqlalche.me/e/f405)
Возможно ли это с помощью Alembic?
Подробнее здесь: https://stackoverflow.com/questions/558 ... th-alembic
Мобильная версия