How to use existing postgres enum in alembic migration?

前端 未结 0 817
孤街浪徒
孤街浪徒 2021-01-25 14:22

I have a new migration using alembic. My database has a enum name myenum.

This is the migration script:

def upgrade():
    op.create_table(
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题