Set notes on existing apps to empty string if NULL
This commit is contained in:
@@ -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 */) {
|
||||
};
|
||||
Reference in New Issue
Block a user