def upgrade():
for table in ('accounts', 'oauth_tokens', 'posts', 'sessions',
'twitter_archives', 'mastodon_apps'):
for column in ('created_at', 'updated_at'):
op.alter_column(table, column, type_=DateTime(timezone=True))
90b5b84abc6a_change_timestamps_to_timestamptzs.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录