mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-19 13:03:14 +12:00
docs: update formatter and cheat sheet
This commit is contained in:
parent
7b9929f07c
commit
4d86fa73ad
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ spark_locals_without_parens = [
|
|||
create?: 1,
|
||||
deferrable: 1,
|
||||
down: 1,
|
||||
error_fields: 1,
|
||||
exclusion_constraint_names: 1,
|
||||
foreign_key_names: 1,
|
||||
identity_index_names: 1,
|
||||
|
|
|
@ -104,6 +104,7 @@ index ["column", "column2"], unique: true, where: "thing = TRUE"
|
|||
|
||||
| Name | Type | Default | Docs |
|
||||
|------|------|---------|------|
|
||||
| [`error_fields`](#postgres-custom_indexes-index-error_fields){: #postgres-custom_indexes-index-error_fields } | `list(atom)` | | The fields to attach the error to. |
|
||||
| [`name`](#postgres-custom_indexes-index-name){: #postgres-custom_indexes-index-name } | `String.t` | | the name of the index. Defaults to "#{table}_#{column}_index". |
|
||||
| [`unique`](#postgres-custom_indexes-index-unique){: #postgres-custom_indexes-index-unique } | `boolean` | `false` | indicates whether the index should be unique. |
|
||||
| [`concurrently`](#postgres-custom_indexes-index-concurrently){: #postgres-custom_indexes-index-concurrently } | `boolean` | `false` | indicates whether the index should be created/dropped concurrently. |
|
||||
|
|
Loading…
Reference in a new issue