2017-08-11 06:51:30 +00:00
|
|
|
exports.up = (knex, Promise) => (async() => {
|
|
|
|
await knex.schema.table('users', table => {
|
2017-07-26 19:42:05 +00:00
|
|
|
table.string('role');
|
|
|
|
});
|
|
|
|
/* The user role is set automatically in rebuild permissions, which is called upon every start */
|
2017-08-11 06:51:30 +00:00
|
|
|
})();
|
2017-07-26 19:42:05 +00:00
|
|
|
|
2017-08-11 06:51:30 +00:00
|
|
|
exports.down = (knex, Promise) => (async() => {
|
|
|
|
})();
|