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:
parent
28e5f39548
commit
499ee1e099
@ -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,
|
||||||
|
);
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user