summaryrefslogtreecommitdiffstats
path: root/src/app.phel
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-09-08 00:26:08 -0700
committerGravatar Tom Willemse2026-09-08 00:26:08 -0700
commit1fd54b7aa0449bd16b484f289da7b5264161f967 (patch)
treeb948eaeaf97275820f220b55a43ed3fe8a2e6f2a /src/app.phel
parent94ef10d1fe4ed27f8442944c25ecc0300c5e5655 (diff)
downloadlezer-1fd54b7aa0449bd16b484f289da7b5264161f967.tar.gz
lezer-1fd54b7aa0449bd16b484f289da7b5264161f967.zip
Move database initialization
Diffstat (limited to 'src/app.phel')
-rw-r--r--src/app.phel3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.phel b/src/app.phel
index 8bb61c1..7df561f 100644
--- a/src/app.phel
+++ b/src/app.phel
@@ -1,8 +1,11 @@
(ns lezer.app
(:require lezer.controller.routes)
+ (:require lezer.db)
(:require phel.router :as r)
(:require phel.http :as h))
+(db/initialize-database)
+
(def- router
(r/router
[["/" {:handler (fn [req]