jianjun
c024b878e9
Update def.go
...
add geometry for mysql 5.7
4 years ago
xxj
3abe0a8b26
add ``
4 years ago
viwii
3b9d9a7d74
替朋友合并mssql
4 years ago
yanjiangtao
8910e45ac6
1.去除埋点代码
...
--------------
1.Remove buried code
4 years ago
yanjiangtao
02aead9615
1.simple配置为true不输出gorm标签
...
2.将is_table_name中的column生成单独抽成配置,以免配置的耦合。
3.增加根据表名生成多个model的配置(一个表一个model)
-------------------------------------------
1. Simple is configured as true and does not output Gorm tag
2. Will be_ table_ The column in name generates a separate extraction configuration to avoid the coupling of configuration.
3. Add the configuration of generating multiple models according to the table name (one model for each table)
4 years ago
yanjiangtao
d000eebda5
Perfect annotation and remove redundant information output.
...
完善注释,去除多余的信息输出
4 years ago
yanjiangtao
d6f49c5cce
增加指定表model生成功能
4 years ago
xxj
8250592b73
new
4 years ago
pengwenwu
0153517cda
add config with self_define_type_mysql_dic_map out_file_name web_tag_type
4 years ago
1379Monitor
9cc5158753
fix: fix func comment error
...
close #121
4 years ago
15ho
5b91e0df74
fix #112
4 years ago
王勇攀
dc8a862255
feat:通过使用--table_prefix 给表名加前缀
...
使得:
func (obj *_SymbolMgr) GetTableName() string {
return "symbol"
}
变成:
func (obj *_SymbolMgr) GetTableName() string {
return "tableprefix.symbol"
}
并在源头确定表名:tableprefix.symbol.
即真正执行mysql语句的时候,会按照tableprefix.symbol这个表名去执行。
4 years ago
Administrator
d1afbd5ab3
修复bug
4 years ago
cuiyaming
845d08585f
add json tag lower camel case
4 years ago
xxjwxc
0751bce177
fix ColName
4 years ago
xxj
0e2a3e4553
colname add ``
...
给导出列名添加``符
4 years ago
xxj
689c8a30d9
add @fk to note
...
添加外键注解。
4 years ago
xxj
04a1abaed7
fix prefix
4 years ago
pengnanfang
14e0bb177f
tablePrefix
4 years ago
xxj
a0b28c4088
add datatypes
...
添加 datatypes 支持
4 years ago
young
039050f631
fix: old error
4 years ago
young
0c3732eb0f
add: now, you can set tablePrefix
4 years ago
fyyang
39f7512c11
Merge pull request #1 from xxjwxc/master
...
fix HashMap is out of order
4 years ago
xxj
a60ccdc695
fix HashMap is out of order
...
fix HashMap is out of order
4 years ago
xxj
cf8ff9e416
change fulltext tag
4 years ago
young
acd9861d7f
add: INDEX FULLTEXT
...
add: Default value
4 years ago
xxj
17dab2b01c
fix empty column
4 years ago
xxjwxc
8f873848b4
fix go model gen column name
4 years ago
xxj
bceb63b951
add column support
...
支持列名导出
4 years ago
xxj
3516c2b4a5
delete SingularTable
...
删除单表配置模式
4 years ago
xxj
a97443b09f
tag insert
...
列注释添加tag
4 years ago
xxj
e9ecd38609
add context import
4 years ago
xxj
cfb3d5edde
remove WithConditions
...
移除 WithConditions
4 years ago
xxj
dc650df60f
new
4 years ago
xxjwxc
2852b6132f
fix tag for v2
4 years ago
quhao
bf482f9f91
增加"double unsigned"类型
4 years ago
谢小军
946a52bbb7
case WithContext into db
4 years ago
谢小军
3f69668934
add gorm v2 tools
4 years ago
谢小军
ef185ecb97
add func withcontext
...
添加 WithContext() 支持
4 years ago
谢小军
f585a627c1
gorm v2.0
...
支持gormv2.0
4 years ago
谢小军
33d22fe2d4
new
...
gorm v2 support
4 years ago
谢小军
a70ab3ff83
new
4 years ago
lubin
6c7b80dc92
Update def.go
...
`^(float)[(]\d+,\d+[)]`: "float64",
`^(float)[(]\d+,\d+[)] unsigned`: "float64",
One of these two lines of code doesn't work
我在这四行代码加了$. 这样就可以避免其它bug。
4 years ago
谢小军
36b6de2a7b
support sqlite
...
支持sqlite
4 years ago
lubin
75475dfa6f
fix bug for tinyint(8) unsigned
...
When I used this tool to generate files, I found that even if the table structure did not change, the generated files would change. After debugging. Finding the configuration here will cause the program to find two keys randomly. The original code might have tinyint (8) unsigned randomly match int8 or Unit8. Put the unsigned one to the front, and then test it. This problem will not happen again.
4 years ago
xxjwxc
aa434356e0
add default set
...
添加默认值
4 years ago
谢小军
285caffe7a
Update def.go
4 years ago
xxjwxc
8eeea201db
add mut support
...
非unique mut支持
4 years ago
谢小军
a6b0dc33ea
Update model.go
4 years ago
谢小军
a89988d711
Update model.go
4 years ago