Commits

Author Commit Message Labels Comments Date
Chris Miles
version = '0.1.0a5'
Chris Miles
Compatibility fixes for SQLAlchemy 0.6.
Chris Miles
Fixed long_description header in setup.
Chris Miles
Updated docs.
Chris Miles
Fixed a catch 22 breaking setup.py when SQLAlchemy isn't already installed.
Chris Miles
Added support for Column upgrades/downgrades.
Chris Miles
Use __all__ instead of __slots__.
Chris Miles
API change: SchemaBot constructor no longer accepts a metadata object; instead, it accepts an optional engine object.
Chris Miles
SchemaBot now accepts an 'engine' argument, for passing an SQLAlchemy engine for SchemaBot to use for making database connections.
Chris Miles
Added a .hgignore
Chris Miles
Renamed SchemaVersions class to SchemaManager, and relevant module names to match.
Chris Miles
Updated setup().
Chris Miles
Overhauled schemabot so that schema versions are now defined separately in a SchemaVersions object.
Chris Miles
Added Sequence downgrade and DDL upgrade/downgrade tests.
Chris Miles
SA.schema.DDL objects are now supported as schema change objects.
Chris Miles
Added support for SA.schema.Sequence objects.
Chris Miles
SchemaBot with no changes defined is allowed and is considered version 0.
Chris Miles
Updated README.
Chris Miles
Defining a schema change for version 0 is now prohibited. Version 0 is reserved for the initial state of the schema (typically an empty schema). Downgrading to version 0 is always possible, which should take the schema back to the initial state, before any schema changes.
Chris Miles
Disabled tag_build & tag_svn_revision.
Chris Miles
Added a test for rolling back an upgrade consisting of manual "CREATE TABLE" statements.
Chris Miles
SQLAlchemy-managed table creates/drops are now performed within the current transaction, so they can be rolled back. Note, however, that not all database engines support rolling back of CREATE/DROP/etc (e.g. postgres does, sqlite doesn't).
Chris Miles
Minor correction to log message.
Chris Miles
First version of SchemaBot, with unit tests. Tested with a Pylons application.