Commit Graph

51 Commits

Author SHA1 Message Date
xxj
f2cf2eac9c fix db_tag 2021-08-26 21:06:49 +08:00
zsinx
896e1d498b add config with is_db_tag 2021-08-25 12:55:30 +08:00
xxj
c7c5eed4d3 Merge branch 'master' of https://github.com/xxjwxc/gormt 2021-06-13 21:56:36 +08:00
xxj
e3e175313e nwe 2021-06-13 21:55:36 +08:00
changle
824d25fb3a fix: fix misspell word primary 2021-06-08 11:30:56 +08:00
me262
78defd91d9 fix: 修复table_prefix兼容性 2021-05-31 17:28:30 +08:00
snowlyg
d690c9d109 兼容 gorm 本身 sort 标签 2021-05-25 19:58:29 +08:00
yanjiangtao
8910e45ac6 1.去除埋点代码
--------------
1.Remove buried code
2021-04-06 17:43:18 +08:00
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)
2021-04-06 17:19:02 +08:00
xxj
8250592b73 new 2021-03-20 13:27:31 +08:00
pengwenwu
0153517cda add config with self_define_type_mysql_dic_map out_file_name web_tag_type 2021-03-19 16:43:55 +08:00
王勇攀
dc8a862255 feat:通过使用--table_prefix 给表名加前缀
使得:
func (obj *_SymbolMgr) GetTableName() string {
 return "symbol"
}
变成:
func (obj *_SymbolMgr) GetTableName() string {
 return "tableprefix.symbol"
}
并在源头确定表名:tableprefix.symbol.
即真正执行mysql语句的时候,会按照tableprefix.symbol这个表名去执行。
2021-03-12 20:12:18 +08:00
Administrator
d1afbd5ab3 修复bug 2021-03-04 23:27:29 +08:00
cuiyaming
845d08585f add json tag lower camel case 2021-03-03 15:24:13 +08:00
xxj
0e2a3e4553 colname add ``
给导出列名添加``符
2021-02-19 18:03:04 +08:00
xxj
04a1abaed7 fix prefix 2021-01-15 17:05:20 +08:00
pengnanfang
14e0bb177f tablePrefix 2021-01-14 23:05:39 +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
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
bceb63b951 add column support
支持列名导出
2020-12-09 12:53:59 +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
xxjwxc
2852b6132f fix tag for v2 2020-11-21 14:02:50 +08:00
xxjwxc
aa434356e0 add default set
添加默认值
2020-09-11 23:51:49 +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
bffc6028ac upda unique primary clash
更新索引冲突
2020-07-28 00:09:40 +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
倒霉狐狸(核心电脑-02)
447ad781e4 feat: 添加webtag主键隐藏开关 2020-05-17 02:10:10 +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
ce3904575d fix 2020-02-29 00:19:25 +08:00
LLLLancelot
9e60d56227 增加新特性,并修复一些问题 2020-02-28 04:03:08 +08:00
谢小军
169edf0f50 add log & fix gui
添加文档并且更新gui
2020-01-22 11:23:53 +08:00
谢小军
5230c6f242 添加ui界面 2020-01-21 22:31:08 +08:00
谢小军
2211c3ca5d add export func reame
添加函数支持
2020-01-12 21:41:47 +08:00
谢小军
f8daa91659 func support
支持 函数导出。支持外键关联
2020-01-11 22:23:59 +08:00
谢小军
1ff17da96f func export support
支持快捷函数导出。
2020-01-09 20:04:33 +08:00
谢小军
204164e8b9 day day up 2020-01-08 20:21:30 +08:00
谢小军
9a0ac52273 generate func at early days 2020-01-04 22:06:43 +08:00
谢小军
41b157d708 fix gocyclo support 2020-01-03 10:46:56 +08:00
谢小军
5fb1c32e55 func base template update 2019-12-17 19:26:44 +08:00
谢小军
d0a57e4c0a Update model.go 2019-12-13 20:09:22 +08:00
谢小军
56957a92cf support foreign key.添加 外键支持 2019-10-27 21:47:10 +08:00