   (make-log-table   )
   ( make-log-table-insert-trigger-function)
   ( make-log-table-update-trigger-function)
+  ( make-log-table-delete-trigger-function)
   (create-realtime-trigger  :table-name  table-name)
 )
 


        sql-to-create-insert-trigger (str "CREATE TRIGGER trigger_afterInsert AFTER INSERT ON " table-name " FOR EACH ROW EXECUTE PROCEDURE trigger_function_afterInsert();")
        sql-to-create-update-trigger (str "CREATE TRIGGER trigger_afterUpdate AFTER UPDATE ON " table-name " FOR EACH ROW EXECUTE PROCEDURE trigger_function_afterUpdate();")
        ]
        (println "Coils trigger table exists: " coils-trigger-exists)


            (korma.core/exec-raw   [sql-to-drop-trigger []]   [])
            (korma.core/exec-raw   [sql-to-create-insert-trigger []]   [])
            (korma.core/exec-raw   [sql-to-create-update-trigger []]   [])
            (korma.core/exec-raw   [sql-to-create-delete-trigger []]   [])

                      )
                      nil
