mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Require presence of up block; optional space after -- (#72)
This commit is contained in:
parent
a31e06b438
commit
02c7bda8a9
3 changed files with 55 additions and 26 deletions
|
|
@ -218,10 +218,9 @@ dbmate supports options passed to a migration block in the form of `key:value` p
|
|||
```sql
|
||||
-- migrate:up transaction:false
|
||||
ALTER TYPE colors ADD VALUE 'orange' AFTER 'red';
|
||||
ALTER TYPE colors ADD VALUE 'yellow' AFTER 'orange';
|
||||
```
|
||||
|
||||
`transaction` will default to `true` for if your database supports it.
|
||||
`transaction` will default to `true` if your database supports it.
|
||||
|
||||
### Schema File
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue