feat(pay): 增加支付状态paid 已支付

This commit is contained in:
xingc
2025-05-12 12:01:44 +08:00
parent 8df69dff9c
commit 56c2a8aedb
8 changed files with 16 additions and 9 deletions

View File

@@ -70,6 +70,7 @@ def upgrade() -> None:
sa.UniqueConstraint('user_id', name='uniq_user_id'),
comment='用户表'
)
op.execute("ALTER SEQUENCE system_users RESTART WITH 100000;")
op.create_index('wechat_openid', 'system_users', ['wechat_openid'], unique=False)
op.create_table('system_user_collections',
sa.Column('user_id', sa.Integer(), nullable=False),