We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I recently had a need in a test to mess with the auto-increments and this is what I did:
Foo.interface.query( "ALTER SEQUENCE {}__id_seq RESTART WITH 218832".format(Foo.table_name), ignore_result=True ) Bar.interface.query( "ALTER SEQUENCE {}__id_seq RESTART WITH 24".format(Bar.table_name), ignore_result=True )
It would be great if this was codified into the Interface, it could also discover the field's primary key name.
helpful link
The text was updated successfully, but these errors were encountered:
I've never needed to do this since and I don't think it needs to be codified into the interface and I don't think this issue needs to stay open
Sorry, something went wrong.
No branches or pull requests
I recently had a need in a test to mess with the auto-increments and this is what I did:
It would be great if this was codified into the Interface, it could also discover the field's primary key name.
helpful link
The text was updated successfully, but these errors were encountered: