 
 
 (defn create-realtime-trigger [& {:keys [:table-name]}]
-(let [coils-trigger      (korma.core/exec-raw 
-                                   [" select * from coils_triggers where table_name = ?" [table-name]] 
+(let [coils-trigger      (korma.core/exec-raw
+                                   [" select * from coils_triggers where table_name = ?" [table-name]]
                                    :results)
 
         coils-trigger-exists   (pos? (count coils-trigger))

  [:use [webapp.framework.server.db-helper]]
  [:use [webapp.framework.server.neo4j-helper]]
  [:use [webapp.framework.server.globals]]
  )





(defn make-admin-table []
  (let [coils-admin-tables      (korma.core/exec-raw
                                   [" select * from pg_tables where schemaname='public' and tablename='coils_triggers'" []]
                                   :results)

        coils-admin-table-exists   (pos? (count coils-admin-tables))
