1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 20:20:55 +00:00
bee/generate
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
..
swaggergen update dep 2018-07-22 11:59:24 +08:00
g_appcode.go chore(bee api -driver=postgres): change Postgres API generate Primary Key with Serial (Auto increme$ 2018-10-05 04:56:43 +08:00
g_controllers.go Refactor! 2017-03-10 11:48:26 +02:00
g_hproseappcode.go add ineffassign check 2017-04-28 22:53:38 +08:00
g_migration.go Revert "Update: complementary fix for removing calling ddlSpec on migration" 2017-07-16 08:13:08 +05:30
g_model.go 读取 ref(pk) 值 2017-06-05 09:34:38 +08:00
g_scaffold.go Refactor! 2017-03-10 11:48:26 +02:00
g_views.go Refactor! 2017-03-10 11:48:26 +02:00
g.go UPDATE: creating ddl migration spec is now possible 2017-07-13 20:30:06 +05:30