You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we plan on shipping our second configuration version in #302, we're going to want to offer users an easy way to convert their configuration to the latest version. The Go tool offers similar functionality via go fix, so I think we should use that name.
sqlc fix will look for sqlc.json in the current directory. If it exists, it will check the version of the configuration. If the version is not the most recent, it will parse the existing file, convert it to the most recent version, and write it back to disk. If the --diff flag is specified, the new contents of the configuration file will be printed to stdout instead of being written to disk.
The text was updated successfully, but these errors were encountered:
As we plan on shipping our second configuration version in #302, we're going to want to offer users an easy way to convert their configuration to the latest version. The Go tool offers similar functionality via
go fix
, so I think we should use that name.sqlc fix
will look forsqlc.json
in the current directory. If it exists, it will check the version of the configuration. If the version is not the most recent, it will parse the existing file, convert it to the most recent version, and write it back to disk. If the--diff
flag is specified, the new contents of the configuration file will be printed to stdout instead of being written to disk.The text was updated successfully, but these errors were encountered: