mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-10 15:56:03 +00:00
feat: update persistence models
This commit is contained in:
@@ -34,11 +34,6 @@ class PersistenceManager:
|
||||
|
||||
await self.create_tables()
|
||||
|
||||
# auto migrate
|
||||
async with self.get_db_engine().connect() as conn:
|
||||
await conn.run_sync(self.meta.drop_all)
|
||||
await conn.run_sync(self.meta.create_all)
|
||||
|
||||
async def create_tables(self):
|
||||
# TODO: 对扩展友好
|
||||
|
||||
|
||||
Reference in New Issue
Block a user