修正
This commit is contained in:
@@ -138,7 +138,14 @@ def run_auto_migration():
|
||||
print("=" * 80 + "\n")
|
||||
|
||||
conn.close()
|
||||
|
||||
|
||||
# ── ねんきんポータル テーブル作成 ──
|
||||
try:
|
||||
from app.modules.nenkin_portal.migration import create_nenkin_tables
|
||||
create_nenkin_tables()
|
||||
except Exception as e:
|
||||
print(f"⚠️ ねんきんポータル テーブル作成エラー(無視): {e}")
|
||||
|
||||
except Exception as e:
|
||||
print(f"\n❌ 無法連接到數據庫或執行遷移: {e}")
|
||||
print("\n提示:")
|
||||
|
||||
Reference in New Issue
Block a user