Liking cljdoc? Tell your friends :D

wagoe.workflow.shell.entity-uuid

workflow_instances.entity_uuid: entity_id as a UUID, NULL when it is not one (BOU-589). entity_id stays text, since not every entity is keyed by a UUID; this generated column is what an entity table keyed by one joins on:

JOIN workflow_instances w ON w.entity_type = 'invoice' AND w.entity_uuid = i.id

Idempotent. On PostgreSQL the column is stored, so adding it rewrites the table once; on SQLite, which has no uuid type, it is virtual text.

workflow_instances.entity_uuid: entity_id as a UUID, NULL when it is not one
(BOU-589). entity_id stays text, since not every entity is keyed by a UUID;
this generated column is what an entity table keyed by one joins on:

  JOIN workflow_instances w ON w.entity_type = 'invoice' AND w.entity_uuid = i.id

Idempotent. On PostgreSQL the column is stored, so adding it rewrites the
table once; on SQLite, which has no uuid type, it is virtual text.
raw docstring

downclj

(down config)

Migratus entry point.

Migratus entry point.
sourceraw docstring

ensure-entity-uuid!clj

(ensure-entity-uuid! connectable)

Add workflow_instances.entity_uuid and its index, unless they are there.

Add workflow_instances.entity_uuid and its index, unless they are there.
sourceraw docstring

present?clj

(present? datasource)

Whether workflow_instances has entity_uuid.

Whether workflow_instances has entity_uuid.
sourceraw docstring

upclj

(up config)

Migratus entry point.

Migratus entry point.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close