memos/store/db/seed/10001__user.sql

40 lines
606 B
MySQL
Raw Normal View History

2022-03-28 23:38:12 +08:00
INSERT INTO
user (
`id`,
`email`,
2022-05-19 22:29:27 +08:00
`role`,
`name`,
2022-03-28 23:38:12 +08:00
`open_id`,
`password_hash`
)
VALUES
(
101,
2022-05-20 06:48:55 +08:00
'demo@usememos.com',
'HOST',
'Demo Host',
2022-05-20 06:48:55 +08:00
'demo_open_id',
2022-05-19 18:32:04 +08:00
-- raw password: secret
2022-05-03 11:49:10 +08:00
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);
INSERT INTO
user (
`id`,
`email`,
`role`,
`name`,
`open_id`,
`password_hash`
)
VALUES
(
102,
'jack@usememos.com',
'USER',
'Jack',
'jack_open_id',
-- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);