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.

fix: seed data

Steven5742f9ca1342
diff --git a/store/db/sqlite/seed/10006__resource.sql b/store/db/sqlite/seed/10006__resource.sql
index 255838f1b..1850b89f6 100644
--- a/store/db/sqlite/seed/10006__resource.sql
+++ b/store/db/sqlite/seed/10006__resource.sql
@@ -1,4 +1,4 @@
INSERT INTO
- resource (`uid`, `creator_id`, `filename`, `external_link`, `type`, `memo_id`)
+ resource (`uid`, `creator_id`, `filename`, `type`, `memo_id`, `storage_type`, `reference`)
VALUES
- ("Pw2awZvxxLK4sPRtHmYuS7", 101, 'slash-demo.png', 'https://github.com/yourselfhosted/slash/blob/main/docs/assets/demo.png?raw=true', 'image/png', 3);
+ ("Pw2awZvxxLK4sPRtHmYuS7", 101, 'slash-demo.png', 'image/png', 3, 'EXTERNAL', 'https://github.com/yourselfhosted/slash/blob/main/docs/assets/demo.png?raw=true');