True R1v3r

Results 17 comments of True R1v3r

We do not recommend using generated structures to migrate, it may lead to info miss(index or else) and incompatible between different types of database, You can use DDL to create...

方便的话,写一个具体的预期效果出来?

Provide a field option combine all field options like FieldRename/FieldType/FieldJSONTag... ```go g.GenerateModel("users", gen.FieldConfig(func(f *Field) { f.Rename() f.Type() f.JSONTag() })) ```

Raw SQL may lead to some unexpected SQL Injection vulnerabilities. So we are very cautious about the use of raw SQL

这种需求只能多次生成了,一次生成不能分开目录放文件

那不还是一次生成一个目录,并不能一次生成到不同的目录