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