feat: store unreleased titles where first episode time is unknown

This commit is contained in:
2024-09-21 13:45:37 -04:00
parent c1bf12de4f
commit 755ae4b94f
7 changed files with 76 additions and 11 deletions

View File

@@ -39,9 +39,15 @@ export const titleMessagesTable = sqliteTable("title_messages", {
messageId: text("message_id").notNull(),
});
/** Used to keep track of titles that haven't been released yet and the time when the first episode will be released is unknown */
export const unreleasedTitlesTable = sqliteTable("unreleased_titles", {
titleId: integer("title_id").notNull().primaryKey(),
});
export const tables = [
watchStatusTable,
deviceTokensTable,
keyValueTable,
titleMessagesTable,
unreleasedTitlesTable,
watchStatusTable,
];