@@ -1,9 +1,9 @@
|
||||
import bcrypt from 'bcrypt';
|
||||
const bcrypt = require('bcrypt');
|
||||
|
||||
exports.seed = knex => {
|
||||
const date = new Date().toUTCString();
|
||||
|
||||
return knex('user').insert({
|
||||
return knex('user_account').insert({
|
||||
email: 'demo@demo.demo',
|
||||
password: bcrypt.hashSync('demo', 10),
|
||||
isAdmin: true,
|
||||
|
||||
Reference in New Issue
Block a user