diff options
author | 2024-01-23 18:12:31 +0100 | |
---|---|---|
committer | 2024-01-25 18:04:14 -0800 | |
commit | 1e704468a50c53dc98c07f3d87805b6ca16ca919 (patch) | |
tree | 1b22985854ecbd1eb4f2f6c801c220bcf5189c73 /internal/database/migrations.go | |
parent | e8147f26b99871b60af15dcaca0c25a070ddbb15 (diff) | |
download | v2-1e704468a50c53dc98c07f3d87805b6ca16ca919.tar.gz v2-1e704468a50c53dc98c07f3d87805b6ca16ca919.tar.zst v2-1e704468a50c53dc98c07f3d87805b6ca16ca919.zip |
feat: add linkace service integration
Diffstat (limited to 'internal/database/migrations.go')
-rw-r--r-- | internal/database/migrations.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/database/migrations.go b/internal/database/migrations.go index be3bef84..0313e918 100644 --- a/internal/database/migrations.go +++ b/internal/database/migrations.go @@ -834,4 +834,16 @@ var migrations = []func(tx *sql.Tx) error{ _, err = tx.Exec(sql) return }, + func(tx *sql.Tx) (err error) { + sql := ` + ALTER TABLE integrations ADD COLUMN linkace_enabled bool default 'f'; + ALTER TABLE integrations ADD COLUMN linkace_url text default ''; + ALTER TABLE integrations ADD COLUMN linkace_api_key text default ''; + ALTER TABLE integrations ADD COLUMN linkace_tags text default ''; + ALTER TABLE integrations ADD COLUMN linkace_is_private bool default 't'; + ALTER TABLE integrations ADD COLUMN linkace_check_disabled bool default 't'; + ` + _, err = tx.Exec(sql) + return err + }, } |