Liking cljdoc? Tell your friends :D

monkey.ci.entities.migrations


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

description-colclj

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

format-migrationsclj

(format-migrations sql-opts)
(format-migrations migrations sql-opts)

Formats all migrations to sql, creates a ragtime migration object from it.

Formats all migrations to sql, creates a ragtime migration object from it.
sourceraw docstring

id-colclj

source

label-filters-colclj

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

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