Commit Graph

276 Commits

Author SHA1 Message Date
xxj
04a1abaed7 fix prefix 2021-01-15 17:05:20 +08:00
xxj
968898a767 Merge pull request #106 from nanfangstation/master
tablePrefix
2021-01-14 19:51:10 -06:00
pengnanfang
14e0bb177f tablePrefix 2021-01-14 23:05:39 +08:00
xxj
a0b28c4088 add datatypes
添加 datatypes 支持
2021-01-08 14:15:47 +08:00
xxj
f00ef48b7e Delete gormt.exe 2021-01-08 10:04:43 +08:00
xxj
22d40a2ef7 Merge pull request #103 from fyyang/master
add: mysql add tablePrefix
2021-01-08 09:39:20 +08:00
young
039050f631 fix: old error 2021-01-07 22:43:29 +08:00
young
0c3732eb0f add: now, you can set tablePrefix 2021-01-07 22:35:25 +08:00
fyyang
39f7512c11 Merge pull request #1 from xxjwxc/master
fix HashMap is out of order
2021-01-07 21:35:40 +08:00
xxj
a60ccdc695 fix HashMap is out of order
fix HashMap is out of order
2020-12-28 16:13:39 +08:00
xxj
cf8ff9e416 change fulltext tag 2020-12-23 16:13:41 +08:00
young
acd9861d7f add: INDEX FULLTEXT
add: Default value
2020-12-23 15:48:17 +08:00
xxj
db108519e9 Update common.go 2020-12-21 18:03:52 +08:00
xxj
17dab2b01c fix empty column 2020-12-15 14:08:55 +08:00
xxjwxc
8f873848b4 fix go model gen column name 2020-12-12 18:57:20 +08:00
xxj
60fb4511cb new 2020-12-09 15:08:04 +08:00
xxj
bceb63b951 add column support
支持列名导出
2020-12-09 12:53:59 +08:00
xxj
3516c2b4a5 delete SingularTable
删除单表配置模式
2020-12-08 18:06:18 +08:00
xxj
a97443b09f tag insert
列注释添加tag
2020-12-07 19:06:12 +08:00
xxj
e9ecd38609 add context import 2020-12-03 16:31:32 +08:00
xxj
cfb3d5edde remove WithConditions
移除 WithConditions
2020-11-30 14:12:18 +08:00
xxj
dc650df60f new 2020-11-27 16:23:07 +08:00
xxjwxc
d1879f7517 new readme 2020-11-21 14:06:10 +08:00
xxjwxc
2852b6132f fix tag for v2 2020-11-21 14:02:50 +08:00
xxj
c1e9f3a356 Merge pull request #88 from gracece/master
doc: 更新README  close#85
2020-11-19 18:20:05 +08:00
gracece
97025f33d2 doc: 更新README 2020-11-19 17:55:37 +08:00
xxj
37321d473a add translation
添加翻译
2020-11-19 17:45:50 +08:00
xxj
cdb5710723 Merge pull request #83 from quhaowk/gormt-t
增加"double unsigned"类型
2020-11-18 12:12:28 +08:00
quhao
bf482f9f91 增加"double unsigned"类型 2020-11-18 11:09:05 +08:00
谢小军
9a6d72b831 add flag check
命令行标记优化
2020-10-30 18:45:47 +08:00
xxjwxc
02ae0bc01c new 2020-09-29 01:14:10 +08:00
谢小军
946a52bbb7 case WithContext into db 2020-09-28 19:45:40 +08:00
谢小军
3f69668934 add gorm v2 tools 2020-09-28 14:51:27 +08:00
谢小军
ef185ecb97 add func withcontext
添加 WithContext() 支持
2020-09-27 16:48:02 +08:00
谢小军
8eb31b7911 Update README.md 2020-09-24 21:04:33 +08:00
谢小军
f585a627c1 gorm v2.0
支持gormv2.0
2020-09-24 20:59:50 +08:00
谢小军
33d22fe2d4 new
gorm v2 support
2020-09-24 20:44:15 +08:00
谢小军
a70ab3ff83 new 2020-09-24 17:40:32 +08:00
xxj
aacd550f5a Merge pull request #78 from bingbingtea/patch-2
Update def.go
2020-09-23 10:03:26 +08:00
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。
2020-09-23 02:03:20 +08:00
谢小军
36b6de2a7b support sqlite
支持sqlite
2020-09-22 19:23:36 +08:00
xxj
9893478fa8 Merge pull request #76 from bingbingtea/patch-1
fix bug for tinyint(8) unsigned
2020-09-22 12:44:17 +08:00
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.
2020-09-22 12:01:31 +08:00
xxjwxc
aa434356e0 add default set
添加默认值
2020-09-11 23:51:49 +08:00
谢小军
2ef0cca3d4 add windows gui support
支持windows 显示
2020-09-10 18:37:47 +08:00
谢小军
285caffe7a Update def.go 2020-08-25 19:09:46 +08:00
xxjwxc
8eeea201db add mut support
非unique mut支持
2020-08-21 23:37:36 +08:00
谢小军
ef72597fb9 update makefile
更新makefile定义
2020-08-19 17:16:54 +08:00
谢小军
a6b0dc33ea Update model.go 2020-08-11 18:34:18 +08:00
谢小军
a89988d711 Update model.go 2020-08-11 18:26:29 +08:00