chore: forgot to remove this uuid

This commit is contained in:
Pitu 2020-05-10 00:39:53 +09:00
parent 97243c7087
commit 432d86022c
1 changed files with 0 additions and 2 deletions

View File

@ -1,6 +1,5 @@
const bcrypt = require('bcrypt');
const moment = require('moment');
const uuidv4 = require('uuid/v4');
exports.seed = async db => {
const now = moment.utc().toDate();
@ -9,7 +8,6 @@ exports.seed = async db => {
try {
const hash = await bcrypt.hash(process.env.ADMIN_PASSWORD, 10);
await db.table('users').insert({
uuid: uuidv4(),
username: process.env.ADMIN_ACCOUNT,
password: hash,
passwordEditedAt: now,