Skip to content

Commit 33cfa2f

Browse files
KevinSnyderCodesKevin Snyder
and
Kevin Snyder
authored
Add version 2 example for how to rename tables (#3051)
Co-authored-by: Kevin Snyder <kevinsnyder@Kevins-Raft-MacBook-Pro.local>
1 parent 4fd678f commit 33cfa2f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/howto/rename.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ rename:
6767
author: Writer
6868
```
6969

70+
```yaml
71+
version: "2"
72+
sql:
73+
- engine: postgresql
74+
queries: query.sql
75+
schema: query.sql
76+
overrides:
77+
go:
78+
rename:
79+
author: Writer
80+
```
81+
7082
```go
7183
package db
7284

0 commit comments

Comments
 (0)