def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.alter_column('statistic_visitor', 'referred',
existing_type=mysql.VARCHAR(collation=u'utf8_unicode_ci', length=128),
nullable=False,
existing_server_default=sa.text(u"''"))
op.drop_column('machine_statistic', 'wlanmac')
op.drop_column('machine_statistic', 'localip')
op.drop_column('machine_statistic', 'ip')
op.drop_column('machine_statistic', 'gateway')
### end Alembic commands ###
e8b3861bce6b_add_some_columns_in_machine_statistic_.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录