mirror of
https://github.com/usememos/memos.git
synced 2024-12-22 18:51:31 +03:00
61 lines
939 B
SQL
61 lines
939 B
SQL
INSERT INTO
|
|
user (
|
|
`id`,
|
|
`email`,
|
|
`role`,
|
|
`name`,
|
|
`open_id`,
|
|
`password_hash`
|
|
)
|
|
VALUES
|
|
(
|
|
101,
|
|
'demo@usememos.com',
|
|
'HOST',
|
|
'Demo Host',
|
|
'demo_open_id',
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
);
|
|
|
|
INSERT INTO
|
|
user (
|
|
`id`,
|
|
`email`,
|
|
`role`,
|
|
`name`,
|
|
`open_id`,
|
|
`password_hash`
|
|
)
|
|
VALUES
|
|
(
|
|
102,
|
|
'jack@usememos.com',
|
|
'USER',
|
|
'Jack',
|
|
'jack_open_id',
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
);
|
|
|
|
INSERT INTO
|
|
user (
|
|
`id`,
|
|
`row_status`,
|
|
`email`,
|
|
`role`,
|
|
`name`,
|
|
`open_id`,
|
|
`password_hash`
|
|
)
|
|
VALUES
|
|
(
|
|
103,
|
|
'ARCHIVED',
|
|
'bob@usememos.com',
|
|
'USER',
|
|
'Bob',
|
|
'bob_open_id',
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
); |