(ns user
  (:require [postgres.async :as pg]
            [clojure.tools.namespace.repl :as repl]))

(defn test-db []
  (pg/open-db {:hostname "localhost"
               :database "postgres"
               :username "postgres"
               :password "postgres"
               :validation-query "select 1"}))

(defn reload []
  (repl/refresh))

(ns user
  (:require [postgres.async :as pg]
            [clojure.tools.namespace.repl :as repl]))

(defn test-db []
  (pg/open-db {:hostname "localhost"
               :database "postgres"
               :username "postgres"
               :password "postgres"
               :validation-query "select 1"}))

(defn reload []
  (repl/refresh))
