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
Add check "Don't use serial" #317
Comments
Hi @mfvanek I would like to work on this one! |
Hi @manumafe98 ! |
Thanks @mfvanek! I'm needing a bit more information on this one, the goal is to make a test that checks that |
@manumafe98 You need to implement a new sql query to find cases of using old syntax. As example you can use https://github.com/mfvanek/pg-index-health-sql/blob/master/sql/non_primary_key_columns_with_serial_types.sql Then you need to implement a Java layer above new sql query. A new class have to appear in https://github.com/mfvanek/pg-index-health/tree/master/pg-index-health/src/main/java/io/github/mfvanek/pg/checks/host. See https://github.com/mfvanek/pg-index-health/blob/master/pg-index-health/src/main/java/io/github/mfvanek/pg/checks/host/ColumnsWithSerialTypesCheckOnHost.java as example |
Hi @manumafe98 |
Hey @mfvanek I'm going to unassign it, currently i'm a bit swamped and I think there is a lot that i should learn to make progress on this issue currently, thanks for the information, maybe I will give it a try in the future if it still open! |
Hi @mfvanek |
Yes, sure! I appreciate your help. |
See
The text was updated successfully, but these errors were encountered: