From 33cfa2fa6e0077442d802b518bc106e5b8923049 Mon Sep 17 00:00:00 2001 From: KevinSnyderCodes Date: Mon, 11 Dec 2023 11:08:41 -0800 Subject: [PATCH] Add version 2 example for how to rename tables (#3051) Co-authored-by: Kevin Snyder --- docs/howto/rename.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/howto/rename.md b/docs/howto/rename.md index 0085de4e05..dbc7f94aea 100644 --- a/docs/howto/rename.md +++ b/docs/howto/rename.md @@ -67,6 +67,18 @@ rename: author: Writer ``` +```yaml +version: "2" +sql: + - engine: postgresql + queries: query.sql + schema: query.sql +overrides: + go: + rename: + author: Writer +``` + ```go package db