1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

migration: project settings - external link templates (#9933)

This commit is contained in:
Tymoteusz Czech 2025-05-08 13:51:21 +02:00 committed by GitHub
parent 28e5f39548
commit 499ee1e099
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,13 @@
exports.up = (db, callback) => {
db.runSql(
`ALTER TABLE project_settings ADD COLUMN link_templates JSONB DEFAULT '[]'`,
callback,
);
};
exports.down = (db, callback) => {
db.runSql(
`ALTER TABLE project_settings DROP COLUMN link_templates`,
callback,
);
};