True R1v3r
                                            True R1v3r
                                        
                                    Method `AutoIncrement` does not work for postgres driver, so `GEN` cannot generate tag `autoIncrement:true`
i wonder about your use case.As far as i know, `autoIncrement` works when you calling `autoMigrate`?am i right?
GEN allow you to specify field type on your own. https://github.com/go-gorm/gen#generate-model ```go g.GenerateModel("people", gen.FieldType("version", "optimisticlock.Version")) ```
`Updates` accepts `map` var as param, so it cannot be refactor
就是想加个这样的自定义tag呗? ```go type User struct{ Age int `gen:"xxx"` } ```
版本号手动写太麻烦也容易忘记更新,我了解一下看看有没有办法在go install的时候引入编译参数吧
涉及 case when这种比较复杂的语法的问题,建议用DIY method实现
We prepare to implement this feature by parsing SQL files, using docker is too rough for me
1. it's ok to import this script for some scene. 2. yes, there is another project in ByteDance for sharding database, which implement by hook gorm.DB
it is as expected.we do not have plan to change it.