Skip to content

armgit / memos

Public Imported from GitHub
0

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.

chore: update seed data

Steven7735cfac3185
diff --git a/store/db/sqlite/seed/10002__memo.sql b/store/db/sqlite/seed/10002__memo.sql
index 0a245da28..7a7c3022a 100644
--- a/store/db/sqlite/seed/10002__memo.sql
+++ b/store/db/sqlite/seed/10002__memo.sql
@@ -36,8 +36,7 @@ INSERT INTO
VALUES
(
3,
- "**[Slash](https://github.com/yourselfhosted/slash)**: A bookmarking and url shortener, save and share your links very easily.
-**[TechStack](https://github.com/Get-Tech-Stack/TechStack)**: A browser extension that will display the technology stack of the GitHub repository.",
+ "**[yourselfhosted/slash](https://github.com/yourselfhosted/slash)**: An open source, self-hosted bookmarks and link sharing platform. Save and share your links very easily.",
101,
'PUBLIC'
);
diff --git a/store/db/sqlite/seed/10005__system_setting.sql b/store/db/sqlite/seed/10005__system_setting.sql
new file mode 100644
index 000000000..da67f1ba1
--- /dev/null
+++ b/store/db/sqlite/seed/10005__system_setting.sql
@@ -0,0 +1,4 @@
+INSERT INTO
+ system_setting (`name`, `value`)
+VALUES
+ ('instance_url', 'https://demo.usememos.com');
diff --git a/store/db/sqlite/seed/10006__resource.sql b/store/db/sqlite/seed/10006__resource.sql
new file mode 100644
index 000000000..2ae1c9970
--- /dev/null
+++ b/store/db/sqlite/seed/10006__resource.sql
@@ -0,0 +1,4 @@
+INSERT INTO
+ resource (`creator_id`, `filename`, `external_link`, `type`, `memo_id`)
+VALUES
+ (101, 'slash-demo.png', 'https://github.com/yourselfhosted/slash/blob/main/docs/assets/demo.png?raw=true', 'image/png', 3);