1
0
mirror of https://github.com/beego/bee.git synced 2024-12-05 01:41:28 +00:00
Commit Graph

1097 Commits

Author SHA1 Message Date
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
astaxie
50dfe40b94 bee api create a new api from database 2014-08-09 00:55:55 +08:00
astaxie
41dbb385e7 fix the controller comments 2014-08-07 17:57:07 +08:00
astaxie
4ddff5264b update the comments 2014-08-07 17:52:57 +08:00
astaxie
8aa92c0bd0 delete the router template unused router 2014-08-07 17:48:11 +08:00
astaxie
c4514e5db7 Merge pull request #37 from ZhengYang/master
Generate Models for selected tables + Generate Migrations
2014-08-07 17:27:27 +08:00
ZhengYang
6f8cff2acc generate models for specified tables 2014-08-07 16:39:28 +08:00
ZhengYang
cbe5fc1d21 change name of generated struct 2014-08-07 15:29:45 +08:00
ZhengYang
af9780691c generated source format change 2014-08-07 14:39:38 +08:00
ZhengYang
2556579ad0 generate migration file 2014-08-07 13:52:28 +08:00
ZhengYang
b1ae637139 nothing much 2014-08-07 10:48:58 +08:00
ZhengYang
31b481d96a basic structure for generate migration files 2014-08-07 10:47:06 +08:00
astaxie
fce95fa18d Merge pull request #36 from ZhengYang/master
GetAll now supports: filter(query), fields, sortby, order, limit, offset
2014-08-06 10:55:53 +08:00
ZhengYang
f879d728c8 refactor reflection template for models 2014-08-06 10:49:26 +08:00
ZhengYang
6a7428b3aa when field list is empty, no need to reflect 2014-08-06 10:26:54 +08:00
ZhengYang
b057b16a80 trim unused fields in result json 2014-08-05 17:49:36 +08:00
ZhengYang
d02a552a59 fix doc format bug, use only 1 tab in between fields 2014-08-05 16:13:40 +08:00
ZhengYang
06f2e2cca9 allow dot notation in query field 2014-08-05 15:27:05 +08:00
ZhengYang
337bd38b73 minor cosmetic changes 2014-08-05 15:04:51 +08:00
ZhengYang
932e73a9a2 added doc for GetAll template 2014-08-05 14:53:27 +08:00