Liking cljdoc? Tell your friends :D

monkey.ci.entities.migrations


amount-colclj

source

col-idxclj

(col-idx table col)

Defines an index for a single column

Defines an index for a single column
sourceraw docstring

cuid-colclj

source

cuid-idxclj

(cuid-idx table)

Generates a unique index on the cuid column for given table.

Generates a unique index on the `cuid` column for given table.
sourceraw docstring

customer-colclj

source

customer-ivsclj

(customer-ivs idx)
source

description-colclj

source

encrypt-paramsclj

(encrypt-params idx)
source

encrypt-ssh-keysclj

(encrypt-ssh-keys idx)
source

entity-table-migrationclj

(entity-table-migration idx table extra-cols extra-indices)
source

fkclj

(fk col ref-table ref-col & [no-cascade?])

Defines a foreign key constraint on the column that references another table column.

Defines a foreign key constraint on the column that references another table column.
sourceraw docstring

fk-colclj

(fk-col col)
source

fk-customerclj

source

fk-repoclj

source

fk-userclj

source

id-colclj

source

label-filters-colclj

source

Migratablecljprotocol

->migrationclj

(->migration obj sql-opts)

Convert the object into a migration, using sql opts

Convert the object into a migration, using sql opts
source

migrationclj

(migration id up down)

Creates a new migration, with given id and up/down statements. The statements can either be raw strings, or honeysql statements which are then converted to sql.

Creates a new migration, with given id and up/down statements.  The statements
can either be raw strings, or honeysql statements which are then converted to sql.
sourceraw docstring

migrationsclj

source

prepare-migrationsclj

(prepare-migrations opts)
(prepare-migrations migrations opts)

Prepares all migrations by formatting to sql, creates a ragtime migration object from it.

Prepares all migrations by formatting to sql, creates a ragtime migration object from it.
sourceraw docstring

repo-colclj

source

run-migrations!clj

(run-migrations! conn)

Runs SQL migrations on the database indicated by the connection

Runs SQL migrations on the database indicated by the connection
sourceraw docstring

table-migrationclj

(table-migration idx table cols indices)
source

user-colclj

source

with-migrationsclj

(with-migrations conn f)

Runs migrations, executes f and then rolls back. Useful for testing.

Runs migrations, executes `f` and then rolls back.  Useful for testing.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close