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