Skip to content

Conversation

@dangquangdon
Copy link
Contributor

sqlc init now would generate v2 format yaml file by default, user also can use --v1 to generate v1 format if needed.

Create an empty sqlc.yaml settings file

Usage:
  sqlc init [flags]

Flags:
  -h, --help   help for init
      --v1     generate v1 config yaml file
      --v2     generate v2 config yaml file (default true)
`sqlc init` now would generate v2 format yaml file by default,
user also can use `--v1` to generate v1 format if needed.
@kyleconroy kyleconroy merged commit 7ef0daf into sqlc-dev:main Jun 20, 2023
@kyleconroy
Copy link
Collaborator

Thanks! This has been on the todo list for a while.

alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
`sqlc init` now would generate v2 format yaml file by default,
user also can use `--v1` to generate v1 format if needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants