Disable schema prefix in generated structs name, eg, SchemaTableName
from schema.table_name
#3211
Unanswered
Nikola-Milovic
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I have the same problem. Did you find any solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to drop the schema from the generated struct without having to manually rename each one?
Eg.
I understand that there might be conflicts if the schema name is dropped, but I'd deal with that in another way. (by prefixing only in the case of a conflict if possible).
This is especially annoying since the new postgres 15 changes and the move towards using per user schemas, and discouraging the usage of public schema.
My full setup uses SQLC queries with
atlas-go
for migration generation out of a db schema, not sure if there is a better way of doing this.Beta Was this translation helpful? Give feedback.
All reactions