mirror of
https://github.com/usememos/memos.git
synced 2024-11-16 19:56:11 +08:00
6b5d5e757e
* feat: no need to log in to view memos * chore: add a normal user to seed * feat: page for other members * fix: replace window.location * fix: can not get username on home * fix: check userID * fix: can visit other user's page after login * fix: do not redirect on wrong path * fix: path error when clicked heatmap * refactor: revise for review * chore: remove unused import * refactor: revise for review * feat: update each user's route to /u/:userId. * chore: eslint for import sort * refactor: revise for review
57 lines
774 B
SQL
57 lines
774 B
SQL
INSERT INTO
|
|
memo (
|
|
`id`,
|
|
`content`,
|
|
`creator_id`
|
|
)
|
|
VALUES
|
|
(
|
|
101,
|
|
'#Hello 👋 Welcome to memos
|
|
![](https://api.star-history.com/svg?repos=usememos/memos&type=Date&size=mobile)',
|
|
101
|
|
);
|
|
|
|
INSERT INTO
|
|
memo (
|
|
`id`,
|
|
`content`,
|
|
`creator_id`
|
|
)
|
|
VALUES
|
|
(
|
|
102,
|
|
'#TODO
|
|
- [ ] Take more photos about **🌄 sunset**;
|
|
- [x] Clean the room;
|
|
- [x] Read *📖 The Little Prince*;
|
|
(👆 click to toggle status)
|
|
',
|
|
101
|
|
);
|
|
|
|
INSERT INTO
|
|
memo (
|
|
`id`,
|
|
`content`,
|
|
`creator_id`
|
|
)
|
|
VALUES
|
|
(
|
|
103,
|
|
'好好学习,天天向上。🤜🤛',
|
|
101
|
|
);
|
|
|
|
INSERT INTO
|
|
memo (
|
|
`id`,
|
|
`content`,
|
|
`creator_id`
|
|
)
|
|
VALUES
|
|
(
|
|
104,
|
|
'好好学习,天天向上。🤜🤛',
|
|
102
|
|
);
|