def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.create_table('Products',
sa.Column('maker', mysql.CHAR(collation=u'utf8_unicode_ci', length=2), nullable=True),
sa.Column('model', mysql.INTEGER(display_width=11), autoincrement=False, nullable=True),
sa.Column('tyle', mysql.VARCHAR(collation=u'utf8_unicode_ci', length=10), nullable=True),
mysql_collate=u'utf8_unicode_ci',
mysql_default_charset=u'utf8',
mysql_engine=u'InnoDB'
)
op.drop_index(op.f('ix_users_username'), table_name='users')
op.drop_index(op.f('ix_users_email'), table_name='users')
op.drop_table('users')
op.drop_table('roles')
### end Alembic commands ###
评论列表
文章目录