forked from Hay1tsme/artemis
develop #7
@ -18,6 +18,28 @@ depends_on = None
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('sao_static_quest', sa.Column('QuestSceneId', sa.BIGINT(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('SortNo', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('Tutorial', sa.BOOLEAN(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('ColRate', sa.DECIMAL(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('LimitDefault', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('LimitResurrection', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('RewardTableSubId', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('PlayerTraceTableSubId', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('SuccessPlayerExp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('FailedPlayerExp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('PairExpRate', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('TrioExpRate', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('SingleRewardVp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('PairRewardVp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('TrioRewardVp', sa.INTEGER(), nullable=False))
|
||||
op.drop_index('sao_static_quest_uk', table_name='sao_static_quest')
|
||||
op.drop_column('sao_static_quest', 'id')
|
||||
op.drop_column('sao_static_quest', 'enabled')
|
||||
op.drop_column('sao_static_quest', 'version')
|
||||
op.drop_column('sao_static_quest', 'questSceneId')
|
||||
op.drop_column('sao_static_quest', 'sortNo')
|
||||
op.drop_column('sao_static_quest', 'name')
|
||||
op.create_table('sao_static_property',
|
||||
sa.Column('PropertyId', sa.BIGINT(), nullable=False),
|
||||
sa.Column('PropertyTargetType', sa.INTEGER(), nullable=False),
|
||||
@ -478,28 +500,6 @@ def upgrade():
|
||||
op.drop_column('sao_static_item_list', 'name')
|
||||
op.drop_column('sao_static_item_list', 'itemTypeId')
|
||||
op.drop_column('sao_static_item_list', 'itemId')
|
||||
op.add_column('sao_static_quest', sa.Column('QuestSceneId', sa.BIGINT(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('SortNo', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('Tutorial', sa.BOOLEAN(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('ColRate', sa.DECIMAL(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('LimitDefault', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('LimitResurrection', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('RewardTableSubId', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('PlayerTraceTableSubId', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('SuccessPlayerExp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('FailedPlayerExp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('PairExpRate', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('TrioExpRate', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('SingleRewardVp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('PairRewardVp', sa.INTEGER(), nullable=False))
|
||||
op.add_column('sao_static_quest', sa.Column('TrioRewardVp', sa.INTEGER(), nullable=False))
|
||||
op.drop_index('sao_static_quest_uk', table_name='sao_static_quest')
|
||||
op.drop_column('sao_static_quest', 'id')
|
||||
op.drop_column('sao_static_quest', 'enabled')
|
||||
op.drop_column('sao_static_quest', 'version')
|
||||
op.drop_column('sao_static_quest', 'questSceneId')
|
||||
op.drop_column('sao_static_quest', 'sortNo')
|
||||
op.drop_column('sao_static_quest', 'name')
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user