Alembic
Jump to navigation
Jump to search
Issues With Alembic Enums & Flask
Edit migration version and add something like this above op_add column
from sqlalchemy.dialects import postgresql keycipher = postgresql.ENUM('ed25519', 'rsa', 'keycipher', name='keycipher') keycipher.create(op.get_bind()) keyformat = postgresql.ENUM('openssh', 'pem', 'pkcs12', name='keyformat') keyformat.create(op.get_bind())