mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 17:12:02 +03:00
848ecd99ee
chore: format sql
67 lines
1.0 KiB
SQL
67 lines
1.0 KiB
SQL
INSERT INTO
|
|
user (
|
|
`id`,
|
|
`username`,
|
|
`role`,
|
|
`email`,
|
|
`nickname`,
|
|
`open_id`,
|
|
`password_hash`
|
|
)
|
|
VALUES
|
|
(
|
|
101,
|
|
'demohero',
|
|
'HOST',
|
|
'demo@usememos.com',
|
|
'Demo Hero',
|
|
hex(randomblob(16)),
|
|
-- 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',
|
|
hex(randomblob(16)),
|
|
-- 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',
|
|
hex(randomblob(16)),
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
); |