mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-12 02:40:31 +00:00
fix: the email confirmation link on mail message
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
exports.up = function (knex) {
|
||||
return knex.schema.table('users', (table) => {
|
||||
table.string('verify_token');
|
||||
table.boolean('verified').defaultTo(false);
|
||||
});
|
||||
return knex.schema
|
||||
.table('users', (table) => {
|
||||
table.string('verify_token');
|
||||
table.boolean('verified').defaultTo(false);
|
||||
})
|
||||
.then(() => {
|
||||
return knex('USERS').update({ verified: true });
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = (knex) => {};
|
||||
|
||||
Reference in New Issue
Block a user