(ns swartz.models.core
  (:require [environ.core :refer [env]]
            [clojure.string :as str]))

(def db {:connection-uri (str/replace (env :database-url)
                                      #":postgres:"
                                      ":postgresql:")
         :classname "org.postgresql.Driver"})

(ns swartz.models.core
  (:require [environ.core :refer [env]]))

(def db {:connection-uri (env :database-url)})

Undo the last couple of useless tweaks
Undo the last couple of useless tweaks

ajpocus/swartz,ajpocus/swartz