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