Commit Graph

19 Commits

Author SHA1 Message Date
ZhengYang 7377c05023 error when migration fold does not exit 2014-08-14 11:28:01 +08:00
ZhengYang 7c5ebae748 auto delete temp file while error 2014-08-13 17:15:32 +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
ZhengYang 64f3acca26 loading driver and connStr from json if there is no commandline options specified 2014-08-13 14:34:12 +08:00
ZhengYang a37b9802bd add comments for functions 2014-08-13 12:35:24 +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
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 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 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
ZhengYang adc9288e2f skeleton code for 'migrate' command 2014-08-11 11:33:53 +08:00