diff options
author | 2024-04-27 20:35:56 -0700 | |
---|---|---|
committer | 2024-05-02 16:23:00 -0700 | |
commit | ca62b0b36b5f5ecaf13e54f9b4c13c1f745cbfbb (patch) | |
tree | c347a2a565a147ef0924b4c2bfe811485b4874da /internal/database | |
parent | 7d6a4243c1671bb0a978b32a4a5862f5f9d71da7 (diff) | |
download | v2-ca62b0b36b5f5ecaf13e54f9b4c13c1f745cbfbb.tar.gz v2-ca62b0b36b5f5ecaf13e54f9b4c13c1f745cbfbb.tar.zst v2-ca62b0b36b5f5ecaf13e54f9b4c13c1f745cbfbb.zip |
integration/raindrop: initial draft implementation
Diffstat (limited to 'internal/database')
-rw-r--r-- | internal/database/migrations.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/database/migrations.go b/internal/database/migrations.go index fa3c3972..df2a5dc7 100644 --- a/internal/database/migrations.go +++ b/internal/database/migrations.go @@ -888,4 +888,14 @@ var migrations = []func(tx *sql.Tx) error{ _, err = tx.Exec(`DROP INDEX entries_feed_url_idx`) return err }, + func(tx *sql.Tx) (err error) { + sql := ` + ALTER TABLE integrations ADD COLUMN raindrop_enabled bool default 'f'; + ALTER TABLE integrations ADD COLUMN raindrop_token text default ''; + ALTER TABLE integrations ADD COLUMN raindrop_collection_id text default ''; + ALTER TABLE integrations ADD COLUMN raindrop_tags text default ''; + ` + _, err = tx.Exec(sql) + return err + }, } |