(create name opts)
Wrapper around migratus/create. Creates a migration file with generated timestamp-based migration id. name - string, name of migration to be created. opts - map of options specifying the database configuration. supported options are: :db - Migratus db config map :database-url - URL of the application database :migration-dir - string specifying the directory of the migration files :migration-table-name - string specifying the migration table name
Wrapper around migratus/create. Creates a migration file with generated timestamp-based migration id. name - string, name of migration to be created. opts - map of options specifying the database configuration. supported options are: :db - Migratus db config map :database-url - URL of the application database :migration-dir - string specifying the directory of the migration files :migration-table-name - string specifying the migration table name
(init opts)
wrapper around migratus/init initializes the database using the script specified by the :init-script key opts - map of options specifying the database configuration. supported options are: :db - Migratus db config map :init-script - SQL script that initialized the database :database-url - URL of the application database :migration-dir - string specifying the directory of the migration files :migration-table-name - string specifying the migration table name
wrapper around migratus/init initializes the database using the script specified by the :init-script key opts - map of options specifying the database configuration. supported options are: :db - Migratus db config map :init-script - SQL script that initialized the database :database-url - URL of the application database :migration-dir - string specifying the directory of the migration files :migration-table-name - string specifying the migration table name
(migrate args opts)
args - vector of arguments, e.g: ["migrate" "201506104553"] opts - map of options specifying the database configuration. supported options are: :database-url - URL of the application database :migration-dir - string specifying the directory of the migration files :migration-table-name - string specifying the migration table name
args - vector of arguments, e.g: ["migrate" "201506104553"] opts - map of options specifying the database configuration. supported options are: :database-url - URL of the application database :migration-dir - string specifying the directory of the migration files :migration-table-name - string specifying the migration table name
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close