Public interface for lib's users.
Public interface for lib's users.
(explain args)
Show raw SQL for migration by number
Available options:
Show raw SQL for migration by number Available options: - :migrations-dir - path to dir for storing migrations (required) - :number - integer number of migration to explain (required) - :direction - direction for SQL from migration (optional)
(list args)
Show list of existing migrations with status.
Available options:
Show list of existing migrations with status. Available options: - :jdbc-url - jdbc url of database connection (required) - :migrations-dir - path to dir for storing migrations (required) - :migrations-table - optional migrations' table name (optional)
(make args)
Create new migration based on changes of models.
Available options:
Create new migration based on changes of models. Available options: - :models-file - path to models' file (required) - :migrations-dir - path to dir for storing migrations (required) - :name - custom name for migration (optional) - :type - type of new migration, empty by default for auto-migration; also available :empty-sql - for creating empty raw SQL migration; (optional)
(migrate args)
Run existing migrations and change database schema.
Available options:
Run existing migrations and change database schema. Available options: - :jdbc-url - jdbc url of database connection (required) - :migrations-dir - path to dir for storing migrations (required) - :migrations-table - optional migrations' table name (optional) - :number - integer number of target point migration (optional)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close