develop #7

Merged
Kayori merged 27 commits from Hay1tsme/artemis:develop into develop 2024-06-28 07:15:37 +00:00
Showing only changes of commit f27f789269 - Show all commits

View File

@ -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 ###