diff --git a/src/migrations/20231211122351-feature-tag-created-by.js b/src/migrations/20231211122351-feature-tag-created-by.js new file mode 100644 index 000000000000..b33907fe4fa2 --- /dev/null +++ b/src/migrations/20231211122351-feature-tag-created-by.js @@ -0,0 +1,19 @@ +'use strict'; + +exports.up = function (db, callback) { + db.runSql( + ` + ALTER TABLE feature_tag ADD COLUMN IF NOT EXISTS created_by INTEGER; + `, + callback, + ); +}; + +exports.down = function (db, callback) { + db.runSql( + ` + ALTER TABLE feature_tag DROP COLUMN IF EXISTS created_by; + `, + callback, + ); +};