feat: FlowPilot migration — Phase 1-9 + Phase 9 bug fixes + QA fixture harness #147
@@ -161,8 +161,8 @@ async def main() -> None:
|
||||
if cfg["plan"] is not None:
|
||||
await conn.execute(
|
||||
text("""
|
||||
INSERT INTO subscriptions (id, account_id, plan, status, created_at, updated_at)
|
||||
VALUES (:id, :aid, :plan, 'active', :now, :now)
|
||||
INSERT INTO subscriptions (id, account_id, plan, status, cancel_at_period_end, created_at, updated_at)
|
||||
VALUES (:id, :aid, :plan, 'active', false, :now, :now)
|
||||
"""),
|
||||
{"id": uuid.uuid4(), "aid": account_id, "plan": cfg["plan"], "now": now},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user