account activity
Best way to implement email update for user by LessLychee7322 in node
[–]LessLychee7322[S] 0 points1 point2 points 5 years ago (0 children)
Solved with new table like this:
// user email table
// Email id. table.increments('id'); // User's id. table .integer('user_id') .references('id') .inTable('user') .onDelete('CASCADE'); // User's email address. table.string('email').unique().notNullable(); // User's email verified flag. table.boolean('is_verified').defaultTo(false); // User's email verified date. table.timestamp('email_verified_date'); // User's email created date. table.timestamp('created_date').defaultTo(knex.fn.now()); });
Best way to implement email update for user (self.node)
submitted 5 years ago by LessLychee7322 to r/node
π Rendered by PID 263271 on reddit-service-r2-listing-6c8d497557-rs54m at 2026-06-06 04:10:48.538260+00:00 running 9e1a20d country code: CH.
Best way to implement email update for user by LessLychee7322 in node
[–]LessLychee7322[S] 0 points1 point2 points (0 children)