account and player img

This commit is contained in:
ntr
2019-09-22 17:25:28 +10:00
parent a81f3323ba
commit 05e1b19d11
7 changed files with 89 additions and 35 deletions
@@ -0,0 +1,11 @@
const uuidv4 = require('uuid/v4');
// give everybody the shapes mtx
exports.up = async knex => {
await knex.raw(`
ALTER TABLE accounts
ADD COLUMN img UUID DEFAULT uuid_generate_v4();
`);
};
exports.down = async () => {};