chore(rls): 新增 manual script gate 與 canary wave1
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
"""同步 dev DB — 補齊 prod 有但 dev 沒有的表"""
|
||||
import asyncio
|
||||
import os
|
||||
import sys
|
||||
from sqlalchemy.ext.asyncio import create_async_engine
|
||||
from sqlalchemy import text
|
||||
|
||||
DEV_URL = "postgresql+asyncpg://awoooi:awoooi_prod_2026@192.168.0.188:5432/awoooi_dev"
|
||||
DEV_URL = os.environ.get("DEV_DATABASE_URL")
|
||||
if not DEV_URL:
|
||||
print("ERROR: DEV_DATABASE_URL not set", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
MIGRATIONS = [
|
||||
("auto_repair_executions", """
|
||||
|
||||
Reference in New Issue
Block a user