mirror of
https://github.com/usememos/memos.git
synced 2024-12-23 11:11:35 +03:00
f1cca0f298
* feat: add user role field * chore: fix typo * feat: update signup api
18 lines
267 B
SQL
18 lines
267 B
SQL
INSERT INTO
|
|
user (
|
|
`id`,
|
|
`name`,
|
|
`email`,
|
|
`open_id`,
|
|
`password_hash`
|
|
)
|
|
VALUES
|
|
(
|
|
101,
|
|
'guest',
|
|
'guest@example.com',
|
|
'guest_open_id',
|
|
-- "secret"
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
);
|