mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +02:00
This PR adds a feature naming pattern description to the project form. It's rendered as a multi-line input field. The description is also stored in the db. This adapts most of @andreas-unleash's PR #4599 with some minor changes (using description instead of prompt). Actually displaying this data to the users will come in a later PR. 
21 lines
400 B
JavaScript
21 lines
400 B
JavaScript
'use strict';
|
|
|
|
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE project_settings
|
|
ADD COLUMN IF NOT EXISTS "feature_naming_description" text;
|
|
`,
|
|
cb(),
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE project_settings DROP COLUMN IF EXISTS "feature_naming_description";
|
|
`,
|
|
cb,
|
|
);
|
|
};
|