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

67 lines
1 KiB
MySQL
Raw Normal View History

2022-03-28 23:38:12 +08:00
INSERT INTO
user (
`id`,
`username`,
2022-05-19 22:29:27 +08:00
`role`,
`email`,
`nickname`,
2022-03-28 23:38:12 +08:00
`open_id`,
`password_hash`
)
VALUES
(
101,
'demohero',
'HOST',
'demo@usememos.com',
'Demo Hero',
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`,
`username`,
`role`,
`email`,
`nickname`,
`open_id`,
`password_hash`
)
VALUES
(
102,
'jack',
'USER',
'jack@usememos.com',
'Jack',
'jack_open_id',
-- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);
2022-07-26 21:41:20 +08:00
INSERT INTO
user (
`id`,
`row_status`,
`username`,
2022-07-26 21:41:20 +08:00
`role`,
`email`,
`nickname`,
2022-07-26 21:41:20 +08:00
`open_id`,
`password_hash`
)
VALUES
(
103,
'ARCHIVED',
'bob',
2022-07-26 21:41:20 +08:00
'USER',
'bob@usememos.com',
2022-07-26 21:41:20 +08:00
'Bob',
'bob_open_id',
-- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);