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: add default local storage path (#1457)

boojackbdc00d67b2ff
diff --git a/store/db/migration/prod/0.12/05__default_local_storage_path.sql b/store/db/migration/prod/0.12/05__default_local_storage_path.sql
new file mode 100644
index 000000000..71908e84a
--- /dev/null
+++ b/store/db/migration/prod/0.12/05__default_local_storage_path.sql
@@ -0,0 +1,7 @@
+INSERT
+ OR IGNORE INTO system_setting(name, value)
+VALUES
+ (
+ 'local-storage-path',
+ '"assets/{timestamp}_{filename}"'
+ );
\ No newline at end of file