feat: store unreleased titles where first episode time is unknown
This commit is contained in:
@@ -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,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user