743a0a1b5bc9_.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:bit 作者: codesmart-co 项目源码 文件源码
def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('bit_facebook_daily_ad_insights',
    sa.Column('id', sa.INTEGER(), nullable=False),
    sa.Column('ad_id', sa.INTEGER(), autoincrement=False, nullable=True),
    sa.Column('buying_type', sa.VARCHAR(length=255), autoincrement=False, nullable=True),
    sa.Column('unique_clicks', sa.INTEGER(), autoincrement=False, nullable=True),
    sa.Column('age', sa.VARCHAR(length=255), autoincrement=False, nullable=True),
    sa.Column('gender', sa.VARCHAR(length=255), autoincrement=False, nullable=True),
    sa.Column('date_stop', postgresql.TIMESTAMP(), autoincrement=False, nullable=True),
    sa.Column('date_start', postgresql.TIMESTAMP(), autoincrement=False, nullable=True),
    sa.ForeignKeyConstraint(['ad_id'], [u'bit_facebook_ad.id'], name=u'bit_facebook_daily_ad_insights_ad_id_fkey'),
    sa.PrimaryKeyConstraint('id', name=u'bit_facebook_daily_ad_insights_pkey')
    )
    # ### end Alembic commands ###
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号