1
0
mirror of https://github.com/beego/bee.git synced 2024-12-18 08:30:50 +00:00
Commit Graph

966 Commits

Author SHA1 Message Date
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
ZhengYang
c9b12183f8 add exit status in tpl, print output if migration binary failed to run 2014-08-13 10:16:55 +08:00
astaxie
a41393e3ae Merge pull request #40 from ZhengYang/master
Generate migration template fix and New migrate command
2014-08-12 23:42:26 +08:00
ZhengYang
5900befa43 getting output from shell 2014-08-12 18:26:34 +08:00
ZhengYang
6f3d2d31ef minor change 2014-08-12 16:20:11 +08:00
ZhengYang
5b22b195cb update migration template 2014-08-12 16:06:04 +08:00
ZhengYang
9a728714aa change directory 2014-08-12 16:04:50 +08:00
ZhengYang
4c735647c3 add help message 2014-08-12 15:48:01 +08:00
ZhengYang
8d82b27502 change migration schema and getting cmd line parameters 2014-08-12 15:45:37 +08:00
ZhengYang
e2ce0300a6 move final message out 2014-08-12 15:18:36 +08:00
ZhengYang
e75bd70472 schema changes, code refacter, executable template 2014-08-12 15:16:29 +08:00
ZhengYang
47249bc144 Merge remote-tracking branch 'upstream/master' 2014-08-12 12:08:50 +08:00
astaxie
e3769549d1 update the write 2014-08-12 11:13:48 +08:00
ZhengYang
870698f5a4 get latest migration from database 2014-08-12 10:33:25 +08:00
ZhengYang
6f4c1b3a89 basic workflow 2014-08-11 17:23:52 +08:00
astaxie
cd31fe26ed bee generate scaffold model 2014-08-11 17:01:06 +08:00
astaxie
c58ee3ca2c Merge pull request #39 from ZhengYang/master
Skeleton code for 'migrate' command
2014-08-11 11:54:32 +08:00
ZhengYang
adc9288e2f skeleton code for 'migrate' command 2014-08-11 11:33:53 +08:00
astaxie
a781accd3e Merge pull request #38 from ZhengYang/master
Minor console message changes and migration file path changes
2014-08-11 10:49:34 +08:00
astaxie
172e17ea12 bee generate scaffold 2014-08-11 10:39:10 +08:00
ZhengYang
3d2a066a16 minor console message changes and migration file path changes 2014-08-11 10:36:20 +08:00
astaxie
6abaa4368b bee generate views 2014-08-11 10:01:56 +08:00
astaxie
270a52100c Dynamic access Go version 2014-08-11 08:57:20 +08:00
astaxie
25fccbdf91 ask whether overwrite the file 2014-08-09 11:14:00 +08:00
astaxie
5ffc17febb update the comments 2014-08-09 01:48:40 +08:00
astaxie
375eb44479 bee support create controllers 2014-08-09 01:37:55 +08:00