Skip to content

Commit

Permalink
Fix example project sqlite datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Dec 3, 2024
1 parent 55b8b31 commit 0c194ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:paths ["src" "resources"]

:deps {com.kepler16/mallard {:local/root "../packages/mallard"}
com.kepler16/mallard-sql-store {:local/root "../packages/sql"}
com.kepler16/mallard-sqlite-store {:local/root "../packages/sqlite"}

com.github.seancorfield/next.jdbc {:mvn/version "1.3.955"}
org.xerial/sqlite-jdbc {:mvn/version "3.47.0.0"}
Expand Down
4 changes: 2 additions & 2 deletions example/src/k16/mallard/example/migrate.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[clojure.java.io :as io]
[k16.mallard :as mallard]
[k16.mallard.loader.fs :as loader.fs]
[k16.mallard.store.sql :as store.sql]
[k16.mallard.store.sqlite :as store.sqlite]
[taoensso.timbre :as log]
[next.jdbc :as jdbc])
(:gen-class))
Expand All @@ -22,7 +22,7 @@

(defn run-migrations [args]
(let [context (create-context)
datastore (store.sql/create-sqlite-datastore
datastore (store.sqlite/create-datastore
{:db (:db context)
:table-name "migrations"})]
(mallard/run {:context context
Expand Down

0 comments on commit 0c194ae

Please sign in to comment.