Add project contacts

This commit is contained in:
LoRiot 2022-10-17 14:07:16 +03:00
parent a01a00dec1
commit a107f13a24

View file

@ -26,7 +26,5 @@ def upgrade() -> None:
def downgrade() -> None: def downgrade() -> None:
conn = op.get_bind() conn = op.get_bind()
drop_contacts_query = """ drop_contacts_query = "ALTER TABLE projects DROP COLUMN contacts"
ALTER TABLE projects DROP COLUMN contacts
"""
conn.execute(text(drop_contacts_query)) conn.execute(text(drop_contacts_query))