mirror of
https://github.com/usememos/memos.git
synced 2024-11-18 20:51:21 +08:00
2042737004
* feat: add username field * chore: update
67 lines
No EOL
1 KiB
SQL
67 lines
No EOL
1 KiB
SQL
INSERT INTO
|
|
user (
|
|
`id`,
|
|
`username`,
|
|
`role`,
|
|
`email`,
|
|
`nickname`,
|
|
`open_id`,
|
|
`password_hash`
|
|
)
|
|
VALUES
|
|
(
|
|
101,
|
|
'demohero',
|
|
'HOST',
|
|
'demo@usememos.com',
|
|
'Demo Hero',
|
|
'demo_open_id',
|
|
-- raw password: secret
|
|
'$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'
|
|
);
|
|
|
|
INSERT INTO
|
|
user (
|
|
`id`,
|
|
`row_status`,
|
|
`username`,
|
|
`role`,
|
|
`email`,
|
|
`nickname`,
|
|
`open_id`,
|
|
`password_hash`
|
|
)
|
|
VALUES
|
|
(
|
|
103,
|
|
'ARCHIVED',
|
|
'bob',
|
|
'USER',
|
|
'bob@usememos.com',
|
|
'Bob',
|
|
'bob_open_id',
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
); |