Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- knex('users').insert({
- username: username,
- email: email,
- password: password,
- created_at: new Date(),
- updated_at: new Date()
- }).catch(function(err) {
- console.error(err);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement