def downgrade():
op.add_column('system_settings', sa.Column('created', sa.DateTime, nullable=False))
op.add_column('system_settings', sa.Column('deleted', sa.DateTime, nullable=True))
op.drop_column('system_settings', 'label')
op.drop_column('system_settings', 'description')
op.drop_column('system_settings', 'placeholder')
op.drop_constraint('uq_system_settings_name', 'system_settings')
56ab56a9ac5_change_settings_schema_and_add_initial_.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录