Skip to content

Commit

Permalink
docs: add collation example
Browse files Browse the repository at this point in the history
  • Loading branch information
YAhiru committed Feb 20, 2024
1 parent 9f2fb0f commit 1ba35b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/resources/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ resource "snowflake_table" "table" {
name = "data"
type = "text"
nullable = false
collate = "en-ci"
}
column {
Expand Down Expand Up @@ -115,6 +116,7 @@ Required:

Optional:

- `collate` (String) Column collation, e.g. utf8
- `comment` (String) Column comment
- `default` (Block List, Max: 1) Defines the column default value; note due to limitations of Snowflake's ALTER TABLE ADD/MODIFY COLUMN updates to default will not be applied (see [below for nested schema](#nestedblock--column--default))
- `identity` (Block List, Max: 1) Defines the identity start/step values for a column. **Note** Identity/default are mutually exclusive. (see [below for nested schema](#nestedblock--column--identity))
Expand Down
1 change: 1 addition & 0 deletions examples/resources/snowflake_table/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ resource "snowflake_table" "table" {
name = "data"
type = "text"
nullable = false
collate = "en-ci"
}

column {
Expand Down

0 comments on commit 1ba35b0

Please sign in to comment.