mirror of
https://github.com/usememos/memos.git
synced 2024-11-18 04:34:19 +08:00
9c18960f47
* skeleton of postgres skeleton * Adding Postgres specific db schema sql * user test passed * memo store test passed * tag is working * update user setting test done * activity test done * idp test passed * inbox test done * memo_organizer, UNTESTED * memo relation test passed * webhook test passed * system setting test passed * passed storage test * pass resource test * migration_history done * fix memo_relation_test * fixing server memo_relation test * passes memo relation server test * paess memo test * final manual testing done * final fixes * final fixes cleanup * sync schema * lint * lint * lint * lint * lint
44 lines
733 B
SQL
44 lines
733 B
SQL
INSERT INTO "user" (
|
|
id,
|
|
username,
|
|
role,
|
|
email,
|
|
nickname,
|
|
row_status,
|
|
avatar_url,
|
|
password_hash
|
|
)
|
|
VALUES
|
|
(
|
|
101,
|
|
'memos-demo',
|
|
'HOST',
|
|
'demo@usememos.com',
|
|
'Derobot',
|
|
'NORMAL',
|
|
'',
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
),
|
|
(
|
|
102,
|
|
'jack',
|
|
'USER',
|
|
'jack@usememos.com',
|
|
'Jack',
|
|
'NORMAL',
|
|
'',
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
),
|
|
(
|
|
103,
|
|
'bob',
|
|
'USER',
|
|
'bob@usememos.com',
|
|
'Bob',
|
|
'ARCHIVED',
|
|
'',
|
|
-- raw password: secret
|
|
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
|
|
);
|