Skip to content
Discussion options

You must be logged in to vote

To summarize:
I could solve the problem for my usecase by:

  • dropping the line that sets default_schema_name
  • To match the search path change the Base model __table_args__ to {"schema": None}
  • To correctly filter with the include_names method, change the check for object.schema to != None

Thanks to @zzzeek and @CaselIT for your suggestions and help.

Replies: 11 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@CaselIT
Comment options

@n00b42
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@CaselIT
Comment options

@n00b42
Comment options

@CaselIT
Comment options

@CaselIT
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by n00b42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autogenerate - detection postgresql awaiting info waiting for the submitter to give more information
3 participants
Converted from issue

This discussion was converted from issue #1287 on August 04, 2023 16:37.