Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit f8537d8

Browse files
fix: create sqlite tables (#873)
1 parent 38cbb66 commit f8537d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cortex-js/src/infrastructure/database/sqlite-database.providers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export const sqliteDatabaseProviders = [
1919
logging: false,
2020
});
2121
sequelize.addModels([ThreadEntity, MessageEntity, AssistantEntity]);
22+
await ThreadEntity.sync();
23+
await MessageEntity.sync();
24+
await AssistantEntity.sync();
2225
return sequelize;
2326
},
2427
},

0 commit comments

Comments
 (0)