Commit Graph

185 Commits

Author SHA1 Message Date
xxjwxc
8f873848b4 fix go model gen column name 2020-12-12 18:57:20 +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
37321d473a add translation
添加翻译
2020-11-19 17:45:50 +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
谢小军
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
谢小军
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
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
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
谢小军
a6b0dc33ea Update model.go 2020-08-11 18:34:18 +08:00
谢小军
a89988d711 Update model.go 2020-08-11 18:26:29 +08:00
谢小军
46831f3501 add multi support 2020-08-11 18:17:13 +08:00
xxjwxc
b709ca0259 Update def.go 2020-08-05 22:41:55 +08:00
xxjwxc
949c2d0eba add gorm.ErrRecordNotFound
添加快捷函数未找到处理逻辑
2020-08-05 22:20:27 +08:00
xxjwxc
e83df3655b add table name
添加默认表名
2020-07-28 00:16:31 +08:00
xxjwxc
bffc6028ac upda unique primary clash
更新索引冲突
2020-07-28 00:09:40 +08:00
xxjwxc
96f96cf279 fix foreignkey
适配外键
2020-07-19 15:35:30 +08:00
谢小军
0706dd0747 add 'DEFAULT NULL' to point
添加默认值为null 转换成指针类型
2020-06-23 12:10:08 +08:00
谢小军
19b39a0b41 add multi unique support
添加多个unique index支持,调整unique接口名。
FetchUniqueBy[xxx]
2020-06-16 17:51:58 +08:00
谢小军
3b9ca78b82 fix index function output
修复mysql索引导出函数不准确问题。
2020-06-08 19:21:25 +08:00
xxjwxc
50d7b764b6 open default globalIsRelated
设置默认全局预加载为true
2020-06-07 21:09:11 +08:00
谢小军
36bb586b98 fix log
更改日志方式
2020-06-06 00:20:13 +08:00
谢小军
349b8297e2 update template
更新模板
2020-06-05 22:25:29 +08:00
谢小军
ef08ccd2ee change tinyint(1) to bool
change tinyint(1) to bool
2020-05-27 18:10:37 +08:00
倒霉狐狸(核心电脑-02)
447ad781e4 feat: 添加webtag主键隐藏开关 2020-05-17 02:10:10 +08:00
谢小军
a3901e56d2 Filter keywords
过滤关键字
2020-05-11 15:16:24 +08:00
xxjwxc
365388ccd9 fix 2020-05-07 00:05:12 +08:00
xxjwxc
fafe362f40 fix logout
整理代码输出
2020-05-01 12:22:21 +08:00
xxjwxc
20393072c0 fix issues#49 2020-04-30 20:36:40 +08:00
谢小军
bdf2b408c7 update parm gen name
更新传参命名方式
2020-04-21 19:25:55 +08:00
lijunlong
b9942453a3 support blob
first char lowcase in arg
2020-04-21 15:16:00 +08:00
wclssdn
5983be1614 Merge branch 'master' into master 2020-04-06 17:09:38 +08:00
Nemo
034506e602 sort tables by name
fix typo
2020-04-06 17:05:34 +08:00
xxjwxc
6271a320f5 Update def.go 2020-04-04 19:15:44 +08:00