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

View file

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

View file

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