Commit Graph

291 Commits

Author SHA1 Message Date
ZhengYang 04bb76cad6 currpath fix 2014-08-22 11:20:29 +08:00
ZhengYang 4b56b8576c add default value for postgres conn 2014-08-21 12:22:49 +08:00
ZhengYang b9ff4255ff rename for clarity 2014-08-21 11:55:54 +08:00
ZhengYang 99b99321e9 added data type mapping for postgresql 2014-08-21 11:53:12 +08:00
ZhengYang 5c85c10b18 minor changes 2014-08-21 11:01:40 +08:00
ZhengYang f2528fcf79 minor clean up 2014-08-21 10:54:21 +08:00
ZhengYang 4fe9c4ddcd refactor long if to switch case, more error messages 2014-08-21 10:45:52 +08:00
ZhengYang 9bf23ea88a help/error message correction and import lib/pq 2014-08-21 10:19:44 +08:00
ZhengYang 6d56c04147 help message format 2014-08-19 18:48:02 +08:00
ZhengYang e42dc06fd8 add binary data type in mapping 2014-08-19 18:04:22 +08:00
ZhengYang 9e2699dbd6 minor fomatting 2014-08-19 17:47:29 +08:00
ZhengYang 82b7ab3e31 import package for no-pk models 2014-08-19 17:43:08 +08:00
ZhengYang c487e9d6f7 import logic for model by asta 2014-08-19 17:11:38 +08:00
ZhengYang 98b3d4ee37 do not rely on goimports 2014-08-19 17:00:37 +08:00
ZhengYang daaccf8972 Merge remote-tracking branch 'upstream/master' 2014-08-19 11:52:32 +08:00
astaxie 5efe6ebd55 comments router test rundocs 2014-08-18 23:12:27 +08:00
astaxie 9faf04fea0 add downsql & controller add mapping 2014-08-18 12:21:21 +08:00
astaxie f97e13c5aa Merge branch 'master' of https://github.com/beego/bee 2014-08-18 11:52:06 +08:00
astaxie 67c1c05a45 support migrate generate sql 2014-08-18 11:51:57 +08:00
astaxie a08b881651 Merge pull request #51 from DigGe/master
return actual value from subcommand
2014-08-18 11:51:12 +08:00
葛琦 55741df579 return actual value from subcommand 2014-08-15 17:38:51 +08:00
astaxie 70886d4cfd update the version from 1.2.0 to 1.2.1 2014-08-15 09:37:58 +08:00
astaxie 78ba508062 Merge pull request #50 from ZhengYang/master
Add onsite 'migrate' function for scaffolding feature & minor code refactor
2014-08-14 15:21:34 +08:00
ZhengYang d4c2ac84c5 Merge remote-tracking branch 'upstream/master' 2014-08-14 15:07:19 +08:00
ZhengYang 08692c15d3 polish help messages 2014-08-14 14:57:57 +08:00
ZhengYang 12cfffe4b2 add onsite migrate function for scafolding feature & minor code refactor 2014-08-14 14:53:28 +08:00
astaxie 2c6fbbb7ff Merge pull request #49 from ZhengYang/master
Fix color log '#' issue and change remove temp file err to warning
2014-08-14 14:44:49 +08:00
ZhengYang abc40f79a8 fix color log '#' issue and change remove temp file err to warning (does not halt) 2014-08-14 14:25:02 +08:00
astaxie 5a6ed4d75c Merge pull request #48 from ZhengYang/master
change created time to be time of execution
2014-08-14 13:56:23 +08:00
astaxie 8e3d2bb4ff Merge pull request #47 from ZhengYang/master
Bug Fixes, Error Improvement, Color log
2014-08-14 13:51:55 +08:00
ZhengYang ea3b10f2dc change created time to be time of execution 2014-08-14 13:46:02 +08:00
ZhengYang ef8e6750a0 halt when there is nothing to rollback 2014-08-14 13:10:42 +08:00
ZhengYang 923a02f99b colorlog for [INFO] 2014-08-14 12:20:49 +08:00
ZhengYang 104b35e062 bugfix: call refresh function when refreshing 2014-08-14 12:10:03 +08:00
ZhengYang 7377c05023 error when migration fold does not exit 2014-08-14 11:28:01 +08:00
astaxie 088a12f9bd Merge pull request #46 from ZhengYang/master
auto delete temp file while error
2014-08-13 20:16:18 +08:00
ZhengYang 7c5ebae748 auto delete temp file while error 2014-08-13 17:15:32 +08:00
astaxie b2d3dbfaf1 Merge pull request #45 from ZhengYang/master
Rmove unique constraint
2014-08-13 17:05:31 +08:00
ZhengYang 83dd1e256a remove unique constraint 2014-08-13 16:44:45 +08:00
ZhengYang cf86f6af78 update template to be standard to gofmt 2014-08-13 15:18:02 +08:00
astaxie 9f80acc0ff Merge pull request #44 from ZhengYang/master
Loading JSON config and default value changes for generate appcode
2014-08-13 14:53:16 +08:00
ZhengYang e455509adb load params from json and minor output format fix 2014-08-13 14:48:20 +08:00
ZhengYang 64f3acca26 loading driver and connStr from json if there is no commandline options specified 2014-08-13 14:34:12 +08:00
ZhengYang 4775fc3e81 corrections on help message 2014-08-13 14:14:11 +08:00
ZhengYang 07bcce359a generate everything by default 2014-08-13 14:13:07 +08:00
astaxie bf6bada32e Merge pull request #43 from ZhengYang/master
add comments for functions
2014-08-13 13:07:35 +08:00
ZhengYang a37b9802bd add comments for functions 2014-08-13 12:35:24 +08:00
astaxie 5700e9ea99 Merge pull request #42 from ZhengYang/master
Code refactor and error fixing
2014-08-13 12:13:17 +08:00
ZhengYang 954eaff006 rearrange functions for readability 2014-08-13 11:57:36 +08:00
ZhengYang 399e3ffefc refactor function signatures 2014-08-13 11:53:55 +08:00