mirror of
https://github.com/LogicLabs-OU/OpenArchiver.git
synced 2026-04-06 00:31:57 +02:00
add isjournaled property to archived_email
This commit is contained in:
@@ -26,6 +26,7 @@ export const archivedEmails = pgTable(
|
||||
isIndexed: boolean('is_indexed').notNull().default(false),
|
||||
hasAttachments: boolean('has_attachments').notNull().default(false),
|
||||
isOnLegalHold: boolean('is_on_legal_hold').notNull().default(false),
|
||||
isJournaled: boolean('is_journaled').default(false),
|
||||
archivedAt: timestamp('archived_at', { withTimezone: true }).notNull().defaultNow(),
|
||||
path: text('path'),
|
||||
tags: jsonb('tags'),
|
||||
|
||||
@@ -43,6 +43,7 @@ export interface ArchivedEmail {
|
||||
isIndexed: boolean;
|
||||
hasAttachments: boolean;
|
||||
isOnLegalHold: boolean;
|
||||
isJournaled: boolean | null;
|
||||
archivedAt: Date;
|
||||
attachments?: Attachment[];
|
||||
raw?: Buffer;
|
||||
|
||||
Reference in New Issue
Block a user