Files
roll-room/ruoyi-ui/recover.py
2026-04-23 16:58:11 +08:00

20 lines
403 B
Python

tables = [
"tt_box",
"tt_box_open_chance",
"tt_box_ornaments",
"tt_box_records",
"tt_ornament",
"tt_upgrade_fail_ornaments",
"tt_upgrade_ornaments",
"tt_upgrade_record",
"tt_roll",
"tt_roll_jackpot",
"tt_roll_jackpot_ornaments",
"tt_roll_user_prize"
]
for table in tables:
print(f"""RENAME TABLE {table} TO {table}_new, {table}_old TO {table};""")