1. Shantanu Kumar
  2. Clj-Liquibase


Shantanu Kumar  committed 86826f6

add convenience visitor to enforce InnoDB engine for MySQL

  • Participants
  • Parent commits 975573a
  • Branches default

Comments (0)

Files changed (1)

File src/main/clj/org/bituf/clj_liquibase/sql_visitor.clj

View file
                     'k ":include/:append/:prepend/:replace" k)))]
-    (into [] (reduce concat (map (fn [[k v]] (makev k v)) pairs)))))
+    (into [] (reduce concat (map (fn [[k v]] (makev k v)) pairs)))))
+;; ===== Some common visitors =====
+(def ^{:doc "SQL visitor to enforce InnoDB storage engine on MySQL"}
+      mysql-innodb (for-dbms! :mysql (make-append-visitor " engine=InnoDB")))