diff options
author | 2024-02-22 03:57:34 +0000 | |
---|---|---|
committer | 2024-02-21 19:57:34 -0800 | |
commit | cfdb890eae2b1090e0b43090e4e4d3007e0b94d8 (patch) | |
tree | cfc0af10612913e2e8fcba902687cc4ae2f40f98 /internal/database/migrations.go | |
parent | 2f8d3a7958c5b3aa952824a75351e7deb64b3471 (diff) | |
download | v2-cfdb890eae2b1090e0b43090e4e4d3007e0b94d8.tar.gz v2-cfdb890eae2b1090e0b43090e4e4d3007e0b94d8.tar.zst v2-cfdb890eae2b1090e0b43090e4e4d3007e0b94d8.zip |
Add Readeck integration
Diffstat (limited to 'internal/database/migrations.go')
-rw-r--r-- | internal/database/migrations.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/database/migrations.go b/internal/database/migrations.go index 43125153..9acae40f 100644 --- a/internal/database/migrations.go +++ b/internal/database/migrations.go @@ -855,4 +855,15 @@ var migrations = []func(tx *sql.Tx) error{ _, err = tx.Exec(sql) return err }, + func(tx *sql.Tx) (err error) { + sql := ` + ALTER TABLE integrations ADD COLUMN readeck_enabled bool default 'f'; + ALTER TABLE integrations ADD COLUMN readeck_only_url bool default 'f'; + ALTER TABLE integrations ADD COLUMN readeck_url text default ''; + ALTER TABLE integrations ADD COLUMN readeck_api_key text default ''; + ALTER TABLE integrations ADD COLUMN readeck_labels text default ''; + ` + _, err = tx.Exec(sql) + return err + }, } |