mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
73b7cc0b5a
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. ![image](https://github.com/Unleash/unleash/assets/17786332/b96d2dbb-2b90-4adf-bc83-cdc534c507ea)
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,
|
|
);
|
|
};
|