chore: update seed data

This commit is contained in:
boojack 2022-07-10 08:15:34 +08:00
parent d75338b6e9
commit 21702b615a
3 changed files with 16 additions and 13 deletions

View File

@ -51,7 +51,7 @@ CREATE TABLE memo (
INSERT INTO
sqlite_sequence (name, seq)
VALUES
('memo', 100);
('memo', 1000);
CREATE TRIGGER IF NOT EXISTS `trigger_update_memo_modification_time`
AFTER
@ -79,7 +79,7 @@ CREATE TABLE memo_organizer (
INSERT INTO
sqlite_sequence (name, seq)
VALUES
('memo_organizer', 100);
('memo_organizer', 1000);
-- shortcut
CREATE TABLE shortcut (
@ -96,7 +96,7 @@ CREATE TABLE shortcut (
INSERT INTO
sqlite_sequence (name, seq)
VALUES
('shortcut', 100);
('shortcut', 10000);
CREATE TRIGGER IF NOT EXISTS `trigger_update_shortcut_modification_time`
AFTER
@ -126,7 +126,7 @@ CREATE TABLE resource (
INSERT INTO
sqlite_sequence (name, seq)
VALUES
('resource', 100);
('resource', 10000);
CREATE TRIGGER IF NOT EXISTS `trigger_update_resource_modification_time`
AFTER

View File

@ -6,8 +6,9 @@ INSERT INTO
)
VALUES
(
101,
'#Hello 👋 Welcome to memos',
1001,
"#Hello 👋 Welcome to memos.
And here is old Jack's Page: [/u/102](/u/102)",
101
);
@ -19,7 +20,7 @@ INSERT INTO
)
VALUES
(
102,
1002,
'#TODO
- [ ] Take more photos about **🌄 sunset**;
- [x] Clean the room;
@ -37,7 +38,7 @@ INSERT INTO
)
VALUES
(
103,
1003,
'好好学习,天天向上。🤜🤛',
101,
'PUBLIC'
@ -51,7 +52,7 @@ INSERT INTO
)
VALUES
(
104,
1004,
'#TODO
- [x] Take more photos about **🌄 sunset**;
- [ ] Clean the classroom;
@ -65,11 +66,13 @@ INSERT INTO
memo (
`id`,
`content`,
`creator_id`
`creator_id`,
`visibility`
)
VALUES
(
105,
1005,
'三人行,必有我师焉!👨‍🏫',
102
102,
'PUBLIC'
);

View File

@ -6,7 +6,7 @@ INSERT INTO
)
VALUES
(
101,
1001,
101,
1
);