Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update seed data
boojack21702b615a68
diff --git a/store/db/migration/LATEST__SCHEMA.sql b/store/db/migration/LATEST__SCHEMA.sqlindex 4f5c33b64..6591bdecc 100644--- a/store/db/migration/LATEST__SCHEMA.sql+++ b/store/db/migration/LATEST__SCHEMA.sql@@ -51,7 +51,7 @@ CREATE TABLE memo (INSERT INTOsqlite_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 INTOsqlite_sequence (name, seq)VALUES- ('memo_organizer', 100);+ ('memo_organizer', 1000);-- shortcutCREATE TABLE shortcut (@@ -96,7 +96,7 @@ CREATE TABLE shortcut (INSERT INTOsqlite_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 INTOsqlite_sequence (name, seq)VALUES- ('resource', 100);+ ('resource', 10000);CREATE TRIGGER IF NOT EXISTS `trigger_update_resource_modification_time`AFTERdiff --git a/store/db/seed/10002__memo.sql b/store/db/seed/10002__memo.sqlindex b0897323f..f1e0206b4 100644--- a/store/db/seed/10002__memo.sql+++ b/store/db/seed/10002__memo.sql@@ -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 INTOmemo (`id`,`content`,- `creator_id`+ `creator_id`,+ `visibility`)VALUES(- 105,+ 1005,'三人行,必有我师焉!👨🏫',- 102+ 102,+ 'PUBLIC');diff --git a/store/db/seed/10003__memo_organizer.sql b/store/db/seed/10003__memo_organizer.sqlindex 5c3ade8e9..be2ddec6e 100644--- a/store/db/seed/10003__memo_organizer.sql+++ b/store/db/seed/10003__memo_organizer.sql@@ -6,7 +6,7 @@ INSERT INTO)VALUES(- 101,+ 1001,101,1);