All about user login
Not runnable at the moment
This commit is contained in:
parent
fbb8f5799e
commit
d79bbad575
49 changed files with 1554 additions and 686 deletions
|
@ -1,6 +1,8 @@
|
|||
exports.up = function(knex, Promise) {
|
||||
return knex.schema.table('users', table => {
|
||||
table.string('name').notNullable().default('');
|
||||
// name and password can be null in case of LDAP login
|
||||
table.string('name');
|
||||
table.string('password').alter();
|
||||
})
|
||||
.then(() => knex('users').where('id', 1).update({
|
||||
name: 'Administrator'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue