feat: User email verification after signing-up.

This commit is contained in:
Ahmed Bouhuolia
2024-04-26 12:21:40 +02:00
parent b7214044bb
commit 4368c18479
16 changed files with 778 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
exports.up = function (knex) {
return knex.schema.table('users', (table) => {
table.string('verify_token');
table.boolean('verified').defaultTo(false);
});
};
exports.down = (knex) => {};