From 0ea1733acc67c4fe910815f8bbb739c74c6e8817 Mon Sep 17 00:00:00 2001 From: boojack Date: Sat, 29 Oct 2022 18:49:58 +0800 Subject: [PATCH] fix: missing column in resource table (#368) --- store/db/migration/prod/0.7/00__remove_fk.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/store/db/migration/prod/0.7/00__remove_fk.sql b/store/db/migration/prod/0.7/00__remove_fk.sql index e22297b8..13d8ce09 100644 --- a/store/db/migration/prod/0.7/00__remove_fk.sql +++ b/store/db/migration/prod/0.7/00__remove_fk.sql @@ -88,6 +88,7 @@ CREATE TABLE resource ( updated_ts BIGINT NOT NULL DEFAULT (strftime('%s', 'now')), filename TEXT NOT NULL DEFAULT '', blob BLOB DEFAULT NULL, + external_link TEXT NOT NULL DEFAULT '', type TEXT NOT NULL DEFAULT '', size INTEGER NOT NULL DEFAULT 0 );