summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/weepinbell/storage/sqlite.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/weepinbell/storage/sqlite.clj b/src/weepinbell/storage/sqlite.clj
index 87c475a..59feb37 100644
--- a/src/weepinbell/storage/sqlite.clj
+++ b/src/weepinbell/storage/sqlite.clj
@@ -112,6 +112,7 @@
(update-related! ds (:id wm) new))))
(defn make-db [db-file]
+ (io/make-parents db-file)
{:dbtype "sqlite" :dbname db-file})
(defn make-ds [db]
(jdbc/get-datasource db))