chore: fix user seed data

This commit is contained in:
Steven 2023-09-15 08:55:18 +08:00
parent 8824ee9b9d
commit 28a1888163

View file

@ -5,7 +5,6 @@ INSERT INTO
`role`, `role`,
`email`, `email`,
`nickname`, `nickname`,
`open_id`,
`password_hash` `password_hash`
) )
VALUES VALUES
@ -15,7 +14,6 @@ VALUES
'HOST', 'HOST',
'demo@usememos.com', 'demo@usememos.com',
'Demo Hero', 'Demo Hero',
hex(randomblob(16)),
-- raw password: secret -- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK' '$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
); );
@ -27,7 +25,6 @@ INSERT INTO
`role`, `role`,
`email`, `email`,
`nickname`, `nickname`,
`open_id`,
`password_hash` `password_hash`
) )
VALUES VALUES
@ -37,7 +34,6 @@ VALUES
'USER', 'USER',
'jack@usememos.com', 'jack@usememos.com',
'Jack', 'Jack',
hex(randomblob(16)),
-- raw password: secret -- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK' '$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
); );
@ -50,7 +46,6 @@ INSERT INTO
`role`, `role`,
`email`, `email`,
`nickname`, `nickname`,
`open_id`,
`password_hash` `password_hash`
) )
VALUES VALUES
@ -61,7 +56,6 @@ VALUES
'USER', 'USER',
'bob@usememos.com', 'bob@usememos.com',
'Bob', 'Bob',
hex(randomblob(16)),
-- raw password: secret -- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK' '$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
); );