-
Notifications
You must be signed in to change notification settings - Fork 35
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
Move to IDENTITY column for ordering? #69
Comments
@akkadotnet/core is there a way we can add this retroactively? Always want to avoid breaking changes if possible. |
I think this is a little tricky since we would want to have this be 'opt-in' based on the version of Postgres. It could probably be handled via a (new) configuration option as far as changing upthe create table statement. I'm not sure what the script we would need to migrate would look like (Postgres is not something I've really worked with in detail outside of linq2db usage, so I don't know how the type conversions work out...) But that might be more of a 'nice to have' than necessity, unless changing the type causes issues with the Other SQL used. I did go ahead and create a related issue in Akka.Persistence.Linq2db since we will probably want to do the same there. |
Does this change apply to only database table creation script? In this case, other queries will keep working without any changes, right? If so - yeah, we can give an option to use |
I agree with @IgorFedchenko, if we do make this an opt-in feature and since it only affects table creation, we don't need to provide any migration tools. |
Seems to be here:
As to the why:
If you want I can make a PR
Downside: PostgreSQL 10 and up only
The text was updated successfully, but these errors were encountered: