Mike Bayer [Wed, 28 Apr 2010 19:47:51 +0000 (15:47 -0400)]
- pushed the whole command line options thing into a single main() function
- command methods now accept a "config" plus positional + kw arguments,
for easy API calling
- main() provides context sensitive arguments and help for each command
using inspect.getargspec()
Mike Bayer [Wed, 28 Apr 2010 03:11:30 +0000 (23:11 -0400)]
- ok the time-based ids are going to suck with branching, so using
truncated random uuids now.
- removed the id number from the upgrade()/downgrade() callables.
Mike Bayer [Wed, 28 Apr 2010 02:57:54 +0000 (22:57 -0400)]
- get the test environment to use the command line correctly
- use time-based slightly random hex ids.
- probably going to remove the id from the upgrade/downgrade name, not
much point to it.
Mike Bayer [Mon, 26 Apr 2010 04:20:57 +0000 (00:20 -0400)]
illustrate the basic idea of add_xxx(strings), whereby Table/Column/Constraint objects
are just generated in order to produce the DDL. I'm not entirely
thrilled with this - would be nicer if we could get sqlalchemy.schema constructs
to generate with strings alone - but this would change their signatures. so we're sort
of doing that here anyway.