Add username to user

This commit is contained in:
Maksim Eltyshev
2020-04-03 00:35:25 +05:00
parent ec222a5e32
commit af00e3e191
143 changed files with 1051 additions and 420 deletions

View File

@@ -1,4 +1,4 @@
module.exports.up = knex =>
module.exports.up = (knex) =>
knex.raw(`
CREATE SEQUENCE next_id_seq;
@@ -20,7 +20,7 @@ module.exports.up = knex =>
$$ LANGUAGE PLPGSQL;
`);
module.exports.down = knex =>
module.exports.down = (knex) =>
knex.raw(`
DROP SEQUENCE next_id_seq;
DROP FUNCTION next_id(OUT id BIGINT);