Expose functions from the Liquibase library. See also: http://www.liquibase.org/documentation/index.html
Expose functions from the Liquibase library. See also: http://www.liquibase.org/documentation/index.html
Changelog params (liquibase.changelog.ChangeLogParameters) instance.
Changelog params (liquibase.changelog.ChangeLogParameters) instance.
Database (liquibase.database.Database) instance.
Database (liquibase.database.Database) instance.
Logical filepath use by ChangeSet and ChangeLog instances.
Logical filepath use by ChangeSet and ChangeLog instances.
(change-sql change)
Return a list of SQL statements (string) that would be required to execute the given Change object instantly for current database without versioning.
Return a list of SQL statements (string) that would be required to execute the given Change object instantly for current database without versioning.
(changelog? x)
Return true if specified argument is a liquibase.changelog.DatabaseChangeLog instance, false otherwise.
Return true if specified argument is a liquibase.changelog.DatabaseChangeLog instance, false otherwise.
(changeset? x)
Return true if specified argument is a liquibase.changelog.ChangeSet instance, false otherwise.
Return true if specified argument is a liquibase.changelog.ChangeSet instance, false otherwise.
(check-database-changelog-table db
update-existing-null-checksums
db-changelog
contexts)
Check database changelog table. See also: liquibase.Liquibase/checkDatabaseChangeLogTable
Check database changelog table. See also: liquibase.Liquibase/checkDatabaseChangeLogTable
(defchangelog var-name logical-schema change-sets & var-args)
DEPRECATED: Use 'defparser' instead.
Define a function that when executed with no arguments, returns a database
changelog (DatabaseChangeLog instance) while binding logical-filepath to
logical-schema
.
See also:
make-changelog
DEPRECATED: Use 'defparser' instead. Define a function that when executed with no arguments, returns a database changelog (DatabaseChangeLog instance) while binding *logical-filepath* to `logical-schema`. See also: make-changelog
(defparser var-name filepath)
(defparser var-name filepath options)
Define a parser for a changelog file, typically a XML, YAML, JSON or EDN file.
Define a parser for a changelog file, typically a XML, YAML, JSON or EDN file.
(diff ref-db-instance)
Report a description of the differences between two databases to standard out. See also: http://www.liquibase.org/documentation/diff
Report a description of the differences between two databases to standard out. See also: http://www.liquibase.org/documentation/diff
(do-locked & body)
Acquire lock and execute body of code in that context. Make sure the lock is released (or log an error if it can't be) before exit.
Acquire lock and execute body of code in that context. Make sure the lock is released (or log an error if it can't be) before exit.
(generate-doc changelog-fn output-dir)
(generate-doc changelog-fn output-dir contexts)
Generate documentation for changelog. See also: http://www.liquibase.org/documentation/dbdoc http://www.liquibase.org/dbdoc/index.html
Generate documentation for changelog. See also: http://www.liquibase.org/documentation/dbdoc http://www.liquibase.org/dbdoc/index.html
(make-changelog filepath
change-sets
&
{:keys [pre-conditions pre-cond] :as opt})
DEPRECATED: Use 'parse-changelog' instead. Return a DatabaseChangeLog instance. Arguments: change-sets (collection/list) List of ChangeSet instances, or List of arg-lists (for 'make-changeset' fn) Optional args: :pre-conditions :pre-cond ; PreconditionContainer object, or list of Precondition objects See also: http://www.liquibase.org/documentation/databasechangelog make-changelog-params
DEPRECATED: Use 'parse-changelog' instead. Return a DatabaseChangeLog instance. Arguments: change-sets (collection/list) List of ChangeSet instances, or List of arg-lists (for 'make-changeset' fn) Optional args: :pre-conditions :pre-cond ; PreconditionContainer object, or list of Precondition objects See also: http://www.liquibase.org/documentation/databasechangelog make-changelog-params
(make-changelog-iterator changelog changeset-filters)
(make-changelog-iterator ran-changesets changelog changeset-filters)
Return a ChangeLogIterator instance. See also: liquibase.Liquibase/getStandardChangelogIterator
Return a ChangeLogIterator instance. See also: liquibase.Liquibase/getStandardChangelogIterator
(make-changelog-params db-instance & {:keys [contexts]})
Return a ChangeLogParameters instance.
Return a ChangeLogParameters instance.
(make-changeset id
author
changes
&
{:keys [logical-filepath filepath dbms run-always always
run-on-change on-change context ctx run-in-transaction
in-txn fail-on-error fail-err comment pre-conditions
pre-cond rollback-changes rollback valid-checksum
valid-csum visitors]
:as opt})
Return a ChangeSet instance. Use MySQL InnoDB for create-table
changes by
default (unless overridden by :visitors argument.)
Arguments:
id (String) Author-assigned ID, which can be sequential
author (String) Author name (must be kept same across changesets)
changes (collection) List of Change objects
Optional arguments:
:dbms ; String/Keyword/vector-of-multiple
:run-always :always ; Boolean
:run-on-change :on-change ; Boolean
:context :ctx ; String
:run-in-transaction :in-txn ; Boolean (true by default)
:fail-on-error :fail-err ; Boolean
;; sub tags
:comment ; String
:pre-conditions :pre-cond ; list of Precondition objects, or PreconditionContainer object
:valid-checksum :valid-csum ; String
:visitors ; list of SqlVisitor objects
See also:
http://www.liquibase.org/documentation/changeset
Return a ChangeSet instance. Use MySQL InnoDB for `create-table` changes by default (unless overridden by :visitors argument.) Arguments: id (String) Author-assigned ID, which can be sequential author (String) Author name (must be kept same across changesets) changes (collection) List of Change objects Optional arguments: :dbms ; String/Keyword/vector-of-multiple :run-always :always ; Boolean :run-on-change :on-change ; Boolean :context :ctx ; String :run-in-transaction :in-txn ; Boolean (true by default) :fail-on-error :fail-err ; Boolean ;; sub tags :comment ; String :pre-conditions :pre-cond ; list of Precondition objects, or PreconditionContainer object :valid-checksum :valid-csum ; String :visitors ; list of SqlVisitor objects See also: http://www.liquibase.org/documentation/changeset
(make-db-instance conn)
Return a Database instance for current connection.
Return a Database instance for current connection.
(parse-changelog filepath)
(parse-changelog filepath {:keys [source] :or {source :classpath} :as options})
Return a DatabaseChangeLog instance. Arguments: filepath - name of the changelog file Optional args: :source - either :classpath (default) or :filesystem
Return a DatabaseChangeLog instance. Arguments: filepath - name of the changelog file Optional args: :source - either :classpath (default) or :filesystem
(rollback-by-count changelog-fn howmany-changesets)
(rollback-by-count changelog-fn howmany-changesets contexts)
(rollback-by-count changelog-fn howmany-changesets contexts output)
Rollback schema by specified count of changes. See also: liquibase.Liquibase/rollback http://www.liquibase.org/documentation/rollback
Rollback schema by specified count of changes. See also: liquibase.Liquibase/rollback http://www.liquibase.org/documentation/rollback
(rollback-to-date changelog-fn date)
(rollback-to-date changelog-fn date contexts)
(rollback-to-date changelog-fn date contexts output)
Rollback schema to specified date. See also: liquibase.Liquibase/rollback http://www.liquibase.org/documentation/rollback
Rollback schema to specified date. See also: liquibase.Liquibase/rollback http://www.liquibase.org/documentation/rollback
(rollback-to-tag changelog-fn tag)
(rollback-to-tag changelog-fn tag contexts)
(rollback-to-tag changelog-fn tag contexts output)
Rollback schema to specified tag. See also: liquibase.Liquibase/rollback http://www.liquibase.org/documentation/rollback
Rollback schema to specified tag. See also: liquibase.Liquibase/rollback http://www.liquibase.org/documentation/rollback
(tag the-tag)
Tag the database schema with specified tag (coerced as string).
Tag the database schema with specified tag (coerced as string).
(update changelog-fn)
(update changelog-fn contexts)
(update changelog-fn contexts output)
Run the Liquibase Update command. See also: liquibase.Liquibase/update make-db-instance http://www.liquibase.org/documentation/update
Run the Liquibase Update command. See also: liquibase.Liquibase/update make-db-instance http://www.liquibase.org/documentation/update
(update-by-count changelog-fn howmany-changesets)
(update-by-count changelog-fn howmany-changesets contexts)
(update-by-count changelog-fn howmany-changesets contexts output)
Run Liquibase Update command restricting number of changes to howmany-changesets. See also: liquibase.Liquibase/update make-db-instance http://www.liquibase.org/documentation/update
Run Liquibase Update command restricting number of changes to howmany-changesets. See also: liquibase.Liquibase/update make-db-instance http://www.liquibase.org/documentation/update
(verify-valid-logical-filepath)
Verify whether the logical-filepath var has a valid value. Return true if all OK, throw IllegalStateException otherwise.
Verify whether the *logical-filepath* var has a valid value. Return true if all OK, throw IllegalStateException otherwise.
(with-lb & body)
Execute body of code in the context of initialized Liquibase settings.
Execute body of code in the context of initialized Liquibase settings.
(with-writable & body)
Set spec with :read-only? as false and execute body of code in that context.
Set spec with :read-only? as false and execute body of code in that context.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close