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: fix resource seeds

Steven54a24833a794
diff --git a/store/db/sqlite/seed/10006__resource.sql b/store/db/sqlite/seed/10006__resource.sql
index 2ae1c9970..d805fa61d 100644
--- a/store/db/sqlite/seed/10006__resource.sql
+++ b/store/db/sqlite/seed/10006__resource.sql
@@ -1,4 +1,4 @@
INSERT INTO
- resource (`creator_id`, `filename`, `external_link`, `type`, `memo_id`)
+ resource (`resource_name`, `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);
+ ("slash-demo", 101, 'slash-demo.png', 'https://github.com/yourselfhosted/slash/blob/main/docs/assets/demo.png?raw=true', 'image/png', 3);