diff options
author | 2023-12-04 23:05:04 -0500 | |
---|---|---|
committer | 2023-12-04 20:05:04 -0800 | |
commit | e933fb11e95422b4859c41f81d56b041f68510fc (patch) | |
tree | 081cc91899ee0b6f2626f24432d4e4c8a896fd7b /internal/database/migrations.go | |
parent | 0666d98648d24796f0a30adebbd75bd839399234 (diff) | |
download | v2-e933fb11e95422b4859c41f81d56b041f68510fc.tar.gz v2-e933fb11e95422b4859c41f81d56b041f68510fc.tar.zst v2-e933fb11e95422b4859c41f81d56b041f68510fc.zip |
Add Omnivore integration
Diffstat (limited to 'internal/database/migrations.go')
-rw-r--r-- | internal/database/migrations.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/database/migrations.go b/internal/database/migrations.go index 8931772b..be3bef84 100644 --- a/internal/database/migrations.go +++ b/internal/database/migrations.go @@ -825,4 +825,13 @@ var migrations = []func(tx *sql.Tx) error{ `) return }, + func(tx *sql.Tx) (err error) { + sql := ` + ALTER TABLE integrations ADD COLUMN omnivore_enabled bool default 'f'; + ALTER TABLE integrations ADD COLUMN omnivore_api_key text default ''; + ALTER TABLE integrations ADD COLUMN omnivore_url text default ''; + ` + _, err = tx.Exec(sql) + return + }, } |