mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-18 23:11:12 +02:00
feat(podcasts): add zero schema and queries
This commit is contained in:
parent
15e44616f3
commit
e61308387c
4 changed files with 35 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import { chatCommentTable, chatSessionStateTable, newChatMessageTable } from "./
|
|||
import { documentTable, searchSourceConnectorTable } from "./documents";
|
||||
import { folderTable } from "./folders";
|
||||
import { notificationTable } from "./inbox";
|
||||
import { podcastTable } from "./podcasts";
|
||||
import { userTable } from "./user";
|
||||
|
||||
const chatCommentRelationships = relationships(chatCommentTable, ({ one }) => ({
|
||||
|
|
@ -38,6 +39,7 @@ export const schema = createSchema({
|
|||
chatSessionStateTable,
|
||||
userTable,
|
||||
automationRunTable,
|
||||
podcastTable,
|
||||
],
|
||||
relationships: [chatCommentRelationships, newChatMessageRelationships],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue