 (defn initialized? []
   (throw (new Exception "TODO: init")))
 
-(defn create-users-table
+(defn create-users-table-x
   []
-  (sql/with-connection db-spec
+  (sql/with-connection (System/getenv "DATABASE_URL")
     (sql/create-table
       :users
       [:id "varchar(20) PRIMARY KEY"]

      [:is_active :boolean]
      [:pass "varchar(100)"])))

(defn create-tables
  "creates the database tables used by the application"
  []
  (create-users-table))

(defn get-post
  ([id]

  (:use     [korma.db :only (defdb mysql)])
  (:require [clojure.java.jdbc :as sql]
            [simplex-clj.util :as util]))

(def db-spec (mysql
  {:classname "com.mysql.jdbc.Driver"
