From 432d86022c5bf31403bc55607c6b0f1a7191e4ca Mon Sep 17 00:00:00 2001 From: Pitu Date: Sun, 10 May 2020 00:39:53 +0900 Subject: chore: forgot to remove this uuid --- src/api/database/seeds/initial.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/api/database') diff --git a/src/api/database/seeds/initial.js b/src/api/database/seeds/initial.js index 5e906fb..280fd74 100644 --- a/src/api/database/seeds/initial.js +++ b/src/api/database/seeds/initial.js @@ -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, -- cgit v1.2.3