Make migration manager support migration modules with just strings "UP_SQL" and/or "DOWN_SQL".  It seems to be a very common case that we just write SQL strings for up and down and then have some boilerplate migrate_up() and migrate_down() methods.  Now we won't need those methods in that case.  Of course, if you include those methods, they'll still get called instead.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3122 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed