Add taskName in integrations table

This commit is contained in:
Hongbo Wu
2022-08-05 12:45:32 +08:00
parent eb2ee5ab55
commit 5a8184da3a
2 changed files with 4 additions and 0 deletions

View File

@ -39,4 +39,7 @@ export class Integration {
@Column('timestamp', { nullable: true })
syncedAt?: Date | null
@Column('text', { nullable: true })
taskName?: string | null
}

View File

@ -15,6 +15,7 @@ CREATE TABLE omnivore.integrations (
created_at timestamptz NOT NULL DEFAULT current_timestamp,
updated_at timestamptz NOT NULL DEFAULT current_timestamp,
synced_at timestamptz,
task_name text,
UNIQUE (user_id, "type")
);