Fred808 commited on
Commit
ee95ee0
·
verified ·
1 Parent(s): 0b8674d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,9 +104,10 @@ async def add_order_ids_column():
104
  async with engine.connect() as conn:
105
  await conn.execute(text("ALTER TABLE user_profiles ADD COLUMN order_ids TEXT DEFAULT ''"))
106
  await conn.commit()
 
107
 
108
  # Run the function to add the column
109
- asyncio.run(add_order_ids_column())
110
 
111
  async def init_db():
112
  async with engine.begin() as conn:
 
104
  async with engine.connect() as conn:
105
  await conn.execute(text("ALTER TABLE user_profiles ADD COLUMN order_ids TEXT DEFAULT ''"))
106
  await conn.commit()
107
+
108
 
109
  # Run the function to add the column
110
+ asyncio.run(await add_order_ids_column())
111
 
112
  async def init_db():
113
  async with engine.begin() as conn: