mailtrain/setup/knex/migrations/20170726155118_create_user_role.js
Tomas Bures 89c9615592 WiP on permissions
Doesn't run. This commit is just to backup the changes.
2017-07-26 22:42:05 +03:00

9 lines
No EOL
275 B
JavaScript

exports.up = function(knex, Promise) {
return knex.schema.table('users', table => {
table.string('role');
});
/* The user role is set automatically in rebuild permissions, which is called upon every start */
};
exports.down = function(knex, Promise) {
};