 
 
 (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))


  (cond
       realtime
       
       (let [
             query-key   (create-query-key
                            :db-table  db-table



(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))
