mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
feat(integration): add LinkTaco service for saving articles
This commit is contained in:
parent
983291c78b
commit
4d656d2739
31 changed files with 939 additions and 5 deletions
|
@ -1135,4 +1135,20 @@ var migrations = []func(tx *sql.Tx) error{
|
|||
_, err = tx.Exec(sql)
|
||||
return err
|
||||
},
|
||||
func(tx *sql.Tx) (err error) {
|
||||
sql := `
|
||||
CREATE TYPE linktaco_link_visibility AS ENUM (
|
||||
'PUBLIC',
|
||||
'PRIVATE'
|
||||
);
|
||||
ALTER TABLE integrations
|
||||
ADD COLUMN linktaco_enabled bool default 'f',
|
||||
ADD COLUMN linktaco_api_token text default '',
|
||||
ADD COLUMN linktaco_org_slug text default '',
|
||||
ADD COLUMN linktaco_tags text default '',
|
||||
ADD COLUMN linktaco_visibility linktaco_link_visibility default 'PUBLIC';
|
||||
`
|
||||
_, err = tx.Exec(sql)
|
||||
return err
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue