Skip to content

Commit

Permalink
fix: create sqlite tables (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
marknguyen1302 authored Jul 12, 2024
1 parent 38cbb66 commit f8537d8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export const sqliteDatabaseProviders = [
logging: false,
});
sequelize.addModels([ThreadEntity, MessageEntity, AssistantEntity]);
await ThreadEntity.sync();
await MessageEntity.sync();
await AssistantEntity.sync();
return sequelize;
},
},
Expand Down

0 comments on commit f8537d8

Please sign in to comment.