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

67 lines
1.0 KiB
MySQL
Raw Normal View History

2022-03-28 18:38:12 +03:00
INSERT INTO
user (
`id`,
`username`,
2022-05-19 17:29:27 +03:00
`role`,
`email`,
`nickname`,
2022-03-28 18:38:12 +03:00
`open_id`,
`password_hash`
)
VALUES
(
101,
'demohero',
'HOST',
'demo@usememos.com',
'Demo Hero',
2022-05-20 01:48:55 +03:00
'demo_open_id',
2022-05-19 13:32:04 +03:00
-- raw password: secret
2022-05-03 06:49:10 +03: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 16:41:20 +03:00
INSERT INTO
user (
`id`,
`row_status`,
`username`,
2022-07-26 16:41:20 +03:00
`role`,
`email`,
`nickname`,
2022-07-26 16:41:20 +03:00
`open_id`,
`password_hash`
)
VALUES
(
103,
'ARCHIVED',
'bob',
2022-07-26 16:41:20 +03:00
'USER',
'bob@usememos.com',
2022-07-26 16:41:20 +03:00
'Bob',
'bob_open_id',
-- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);