diff --git a/migrations/20240629074953-apps-notes-null-to-emptystring.js b/migrations/20240629074953-apps-notes-null-to-emptystring.js new file mode 100644 index 000000000..6b6dfe289 --- /dev/null +++ b/migrations/20240629074953-apps-notes-null-to-emptystring.js @@ -0,0 +1,8 @@ +'use strict'; + +exports.up = async function(db) { + await db.runSql('UPDATE apps SET notes="" WHERE notes IS NULL'); +}; + +exports.down = async function(/* db */) { +};