chore: update inline parser

This commit is contained in:
Steven
2023-12-16 10:09:20 +08:00
parent 7b0ceee57b
commit 47af632c79
19 changed files with 73 additions and 222 deletions

View File

@@ -1,45 +0,0 @@
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'
);

View File

@@ -1,51 +0,0 @@
INSERT INTO
memo (`id`, `content`, `creator_id`)
VALUES
(
1,
"#Hello 👋 Welcome to memos.",
101
);
INSERT INTO
memo (
`id`,
`content`,
`creator_id`,
`visibility`
)
VALUES
(
2,
'#TODO
- [x] Take more photos about **🌄 sunset**
- [x] Clean the room
- [ ] Read *📖 The Little Prince*
(👆 click to toggle status)',
101,
'PROTECTED'
),
(
3,
"**[Slash](https://github.com/yourselfhosted/slash)**: A bookmarking and url shortener, save and share your links very easily.
**[SQL Chat](https://www.sqlchat.ai)**: Chat-based SQL Client",
101,
'PUBLIC'
),
(
4,
'#TODO
- [x] Take more photos about **🌄 sunset**
- [ ] Clean the classroom
- [ ] Watch *👦 The Boys*
(👆 click to toggle status)
',
102,
'PROTECTED'
),
(
5,
'三人行,必有我师焉!👨‍🏫',
102,
'PUBLIC'
);

View File

@@ -1,5 +0,0 @@
INSERT INTO
memo_organizer (`memo_id`, `user_id`, `pinned`)
VALUES
(1, 101, 1),
(3, 101, 1);

View File

@@ -1,6 +0,0 @@
INSERT INTO
tag (`name`, `creator_id`)
VALUES
('Hello', 101),
('TODO', 101),
('TODO', 102);