Skip to content

Commit

Permalink
Clarify rules for quoting string literals
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries committed Dec 5, 2023
1 parent 788bac6 commit 3d0fc6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,8 @@ An add column operation creates a new column on an existing table.
}
```

Default values are subject to the usual rules for quoting SQL expressions. In particular string literals should be surrounded with single quotes.

Example **add column** migrations:

* [03_add_column.json](../examples/03_add_column.json)
Expand Down Expand Up @@ -924,6 +926,8 @@ where each `column` is defined as:
},
```

Default values are subject to the usual rules for quoting SQL expressions. In particular string literals should be surrounded with single quotes.

Example **create table** migrations:

* [01_create_tables.json](../examples/01_create_tables.json)
Expand Down

0 comments on commit 3d0fc6f

Please sign in to comment.