diff --git a/database/migrations.go b/database/migrations.go index 48701ce717f..2bc806c7657 100644 --- a/database/migrations.go +++ b/database/migrations.go @@ -724,7 +724,6 @@ 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 apprise_enabled bool default 'f'; @@ -733,5 +732,5 @@ var migrations = []func(tx *sql.Tx) error{ ` _, err = tx.Exec(sql) return err - }, + }, } diff --git a/storage/integration.go b/storage/integration.go index 079abb7e827..21e3a2cb353 100644 --- a/storage/integration.go +++ b/storage/integration.go @@ -341,7 +341,7 @@ func (s *Storage) UpdateIntegration(integration *model.Integration) error { integration.NotionPageID, integration.ReadwiseEnabled, integration.ReadwiseAPIKey, - integration.AppriseEnabled, + integration.AppriseEnabled, integration.AppriseURL, integration.AppriseServicesURL, integration.UserID,