Commit Graph

15 Commits

Author SHA1 Message Date
maplerichie 197d8e97f1 chore(bee api -driver=postgres): change Postgres API generate Primary Key with Serial (Auto increme$
Change in
Methods:
1. func (postgresDB) GetColumns()
2. func isSQLDecimal()
3. func extractIntSignness()
4. func extractDecimal()

Description
1. Update query, extra will return "auto_increment" instead of blank "", Primary Key can work toget$
2. Increase type of decimal
3. Fix return INT length
4. Fix return DECIMAL types precision
2018-10-05 04:56:43 +08:00
Haojin Gui 7d78224b99 Remove redundant selectedTables.
When selectedTables is not nil, we are already generating tables
from it. So we don't need to pass it further.
2017-10-20 23:32:13 -07:00
astaxie d29f8e8ec3 Merge pull request #441 from hudangwei/develop
fix #440 only get these tables information in custom the option ‘-tab…
2017-07-19 00:30:54 +08:00
hudangwei 812b8c4e5b if tag.Comment is empty, the ORM tag string will not contain description 2017-05-30 19:43:40 +08:00
hudangwei f5471680e4 fix tag description,add tag description by getting database table information column comment 2017-05-30 16:21:45 +08:00
Carlos Salguero b4bee5cceb Added MySQL year data type 2017-05-29 15:48:57 -03:00
hudangwei f657d22fc7 fix tag description,add tag description by getting database table information column comment 2017-05-26 13:30:28 +08:00
hudangwei 8b01334faf fix #440 only get these tables information in custom the option ‘-tables’ 2017-05-20 13:06:25 +08:00
astaxie e1f3353511 add ineffassign check 2017-04-28 22:53:38 +08:00
astaxie e84d6f9a9c use filepath to generate appcode 2017-04-24 21:06:31 +08:00
astaxie db57fa50a0 fix #400 2017-04-19 23:51:12 +08:00
astaxie 593ef9c47c Revert "Develop" 2017-04-19 23:02:57 +08:00
qida 3b0dd10302 windows下路径问题 2017-04-18 14:36:32 +08:00
qida a353b6d69a 增加关联查询 2017-04-18 14:34:24 +08:00
Sergey Lanzman c538bfbc8f Refactor!
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00