-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User specific schema configurations #201
base: feature/schema-tools
Are you sure you want to change the base?
Conversation
Hotfix/track cloned connections (kvesteri#2) Hotfix/track cloned connections (kvesteri#3) change iterations use only ConnectionFairy as indexes create new dict entry for clones create entry using old connection create entry using session revert to event listening strategy remove cloned connections on rollback treat None case when cleaning connections Hotfix/track cloned connections (kvesteri#2) Hotfix/track cloned connections (kvesteri#3) change iterations use only ConnectionFairy as indexes create new dict entry for clones create entry using old connection create entry using session revert to event listening strategy remove cloned connections on rollback treat None case when cleaning connections
…onnections track cloned connections
Raising a new KeyError means you lose the original stacktrace, which is going to be more useful since it'll contain more information about the relevant context for this error.
…ption Reraise original exception instead of a new one
Fix ResourceClosedErrors from connections leaking when using an external transaction
…ility in handling table name
@raheelriax is there any estimate on when this PR could be merged? |
pinging @kvesteri on this. |
This looks like it needs some serious rebasing. |
@marksteward @kvesteri do you have any suggestions on how to generate
What do you think? |
What aspect of this PR will fix that? I'm happy to look at a smaller PR. I don't think UUID makes sense as the primary key for Transaction, you'd still need some way of sequencing them that's stable and unambiguously ordered (i.e. not date). Why can't you use a sequence currently? I think we might be able to remove the explicit Sequence in recent versions of SQLAlchemy if that helps. |
@marksteward |
So if we can append schema name i.e. |
I think we might just need to reference |
Great, thanks. |
Thanks, guys. @marksteward I think, one of these two will work:
In anyway, I can't wait to see this fix coming. Thanks for all your supports btw. |
@marksteward any chance that you could take a look on this? |
@marksteward did you have a chance to look into this one? |
I've not forgotten about this but ran out of time today. |
Added Customized schema configurations for both
Transaction and version tables.
You can now pass schema name as an option to make_versioned method or define it explicitly in versioned attribute of parent model.
If no configuration is passed it will use default configurations