fix: fix seed data

This commit is contained in:
Takeshi Kimata
2024-06-02 14:57:29 +09:00
parent 755379ae0f
commit b3fddfd22c

View File

@@ -9,7 +9,7 @@ module.exports = {
// Add projects table records // Add projects table records
await queryInterface.bulkInsert('users', [ await queryInterface.bulkInsert('users', [
{ {
email: 'admin@example.com.com', email: 'admin@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Admin', username: 'Admin',
role: 0, role: 0,
@@ -18,7 +18,7 @@ module.exports = {
updatedAt: new Date(), updatedAt: new Date(),
}, },
{ {
email: 'samuel@example.com.com', email: 'samuel@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Samuel Golden', username: 'Samuel Golden',
role: 1, role: 1,
@@ -27,7 +27,7 @@ module.exports = {
updatedAt: new Date(), updatedAt: new Date(),
}, },
{ {
email: 'trey@example.com.com', email: 'trey@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Trey Fisher', username: 'Trey Fisher',
role: 1, role: 1,
@@ -36,7 +36,7 @@ module.exports = {
updatedAt: new Date(), updatedAt: new Date(),
}, },
{ {
email: 'zoe@example.com.com', email: 'zoe@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Zoe Woodward', username: 'Zoe Woodward',
role: 1, role: 1,
@@ -45,7 +45,7 @@ module.exports = {
updatedAt: new Date(), updatedAt: new Date(),
}, },
{ {
email: 'roger@example.com.com', email: 'roger@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Roger Hess', username: 'Roger Hess',
role: 1, role: 1,
@@ -54,7 +54,7 @@ module.exports = {
updatedAt: new Date(), updatedAt: new Date(),
}, },
{ {
email: 'jasmine@example.com.com', email: 'jasmine@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Jasmine Moody', username: 'Jasmine Moody',
role: 1, role: 1,
@@ -63,7 +63,7 @@ module.exports = {
updatedAt: new Date(), updatedAt: new Date(),
}, },
{ {
email: 'tatsuya@example.com.com', email: 'tatsuya@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Suzuki Tatsuya', username: 'Suzuki Tatsuya',
role: 1, role: 1,
@@ -72,7 +72,7 @@ module.exports = {
updatedAt: new Date(), updatedAt: new Date(),
}, },
{ {
email: 'eri@example.com.com', email: 'eri@example.com',
password: hashedPassword, password: hashedPassword,
username: 'Sato Eri', username: 'Sato Eri',
role: 1, role: 1,