From 04841d902f028470d83e40e61e710f47f434da97 Mon Sep 17 00:00:00 2001 From: David Leek Date: Wed, 27 Nov 2024 08:55:36 +0100 Subject: [PATCH] chore: make milestone_strategies.title nullable --- ...241127074206-milestone-strategy-title-nullable.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/migrations/20241127074206-milestone-strategy-title-nullable.js diff --git a/src/migrations/20241127074206-milestone-strategy-title-nullable.js b/src/migrations/20241127074206-milestone-strategy-title-nullable.js new file mode 100644 index 000000000000..f34c7be7d692 --- /dev/null +++ b/src/migrations/20241127074206-milestone-strategy-title-nullable.js @@ -0,0 +1,12 @@ +exports.up = function(db, cb) { + db.runSql( + ` + ALTER TABLE milestone_strategies ALTER COLUMN title DROP NOT NULL; + `, + cb, + ); +}; + +exports.down = function(db, cb) { + cb(); +}; \ No newline at end of file