You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
428 B

from sqlalchemy import Table, MetaData, String, Column, Text
def upgrade(migrate_engine):
try:
meta = MetaData(bind=migrate_engine)
account = Table('peer', meta, autoload=True)
dns = Column('dns', Text)
dns.create(account)
except:
pass
def downgrade(migrate_engine):
meta = MetaData(bind=migrate_engine)
dns = Table('peer', meta, autoload=True)
dns.c.email.drop()