From eb604fff849702ef73b5a26b1161535972ff1836 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 15 Sep 2023 22:12:25 +0800 Subject: [PATCH] Fix last fetch at column --- pkg/admin/src/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/admin/src/db.ts b/pkg/admin/src/db.ts index a9313f4ff..8902eea38 100644 --- a/pkg/admin/src/db.ts +++ b/pkg/admin/src/db.ts @@ -304,7 +304,7 @@ export class Subscription extends BaseEntity { @Column('integer', { default: 0 }) count!: number - @Column('timestamp', { nullable: true }) + @Column({ type: 'timestamp', name: 'last_fetched_at', nullable: true }) lastFetchedAt?: Date | null @Column({ type: 'timestamp', name: 'created_at' })