diff options
author | 2023-09-28 03:02:22 +0000 | |
---|---|---|
committer | 2023-09-27 20:02:22 -0700 | |
commit | e0e8a99abe919b8cc2dc292fb8efc2c31f42ad80 (patch) | |
tree | d8337842ed96f17e31add109423adfaab3a08a24 /internal/database/migrations.go | |
parent | c0e954f19d707fef8ef8271636ec661634a4c4c7 (diff) | |
download | v2-e0e8a99abe919b8cc2dc292fb8efc2c31f42ad80.tar.gz v2-e0e8a99abe919b8cc2dc292fb8efc2c31f42ad80.tar.zst v2-e0e8a99abe919b8cc2dc292fb8efc2c31f42ad80.zip |
Telegram: add the possibility to disable buttons
Closes #2093
Diffstat (limited to 'internal/database/migrations.go')
-rw-r--r-- | internal/database/migrations.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/database/migrations.go b/internal/database/migrations.go index bcd7e494..bdd6f739 100644 --- a/internal/database/migrations.go +++ b/internal/database/migrations.go @@ -776,4 +776,11 @@ 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 telegram_bot_disable_buttons bool default 'f'; + ` + _, err = tx.Exec(sql) + return err + }, } |