Clojure wrappers for liquibase.change.Change implementations. See also: http://www.liquibase.org/documentation/index (Available Database Refactorings)
Clojure wrappers for liquibase.change.Change implementations. See also: http://www.liquibase.org/documentation/index (Available Database Refactorings)
(changelog-prop-defined prop value)
Change-log property defined
Change-log property defined
(changeset-executed file id author)
Change-set executed
Change-set executed
(column-exists schema-name table-name column-name)
Specified column exists
Specified column exists
(dbms db-type)
Check database type. Example: (dbms :mysql)
Check database type. Example: (dbms :mysql)
(foreign-key-exists schema-name table-name key-name)
Return Precondition that asserts given Foreign key exists
Return Precondition that asserts given Foreign key exists
(pc-and pc & more)
Verify that ALL immediate nested preconditions are met
Verify that ALL immediate nested preconditions are met
(pc-not pc & more)
Verify that NONE OF immediate nested preconditions is met
Verify that NONE OF immediate nested preconditions is met
(pc-or pc & more)
Verify that ANY OF immediate nested preconditions is met
Verify that ANY OF immediate nested preconditions is met
(pre-cond pre-cond-list
&
{:keys [on-fail on-fail-msg on-error on-error-msg on-update-sql]
:or {on-fail nil
on-fail-msg nil
on-error nil
on-error-msg nil
on-update-sql nil}
:as opt})
Return a PreconditionContainer that verifies that ALL immediate nested preconditions are met. Optional args: :on-fail What to do when preconditions fail; either of :halt (default), :continue, :mark-ran, :warn :on-fail-msg Custom message (string) to output when preconditions fail :on-error What to do when preconditions error; either of :halt (default), :continue, :mark-ran, :warn :on-error-msg Custom message (string) to output when preconditions fail :on-update-sql What to do in updateSQL mode; either of :run, :fail, :ignore See also: http://www.liquibase.org/documentation/preconditions
Return a PreconditionContainer that verifies that ALL immediate nested preconditions are met. Optional args: :on-fail What to do when preconditions fail; either of :halt (default), :continue, :mark-ran, :warn :on-fail-msg Custom message (string) to output when preconditions fail :on-error What to do when preconditions error; either of :halt (default), :continue, :mark-ran, :warn :on-error-msg Custom message (string) to output when preconditions fail :on-update-sql What to do in updateSQL mode; either of :run, :fail, :ignore See also: http://www.liquibase.org/documentation/preconditions
(pre-cond? x)
Return true if given argument is a pre-condition, false otherwise.
Return true if given argument is a pre-condition, false otherwise.
(running-as user-name)
Verify database user name
Verify database user name
(sequence-exists schema-name sequence-name)
Verify that given sequence exists
Verify that given sequence exists
(table-exists schema-name table-name)
Verify that said table exists
Verify that said table exists
(view-exists schema-name view-name)
Verify that view exists
Verify that view exists
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close