0.3.6
Released: Wed Aug 15 2012
-
[feature] Added include_symbol option to
EnvironmentContext.configure(),
specifies a callable which will include/exclude tables
in their entirety from the autogeneration process
based on name.References: #27
-
[feature] Added year, month, day, hour, minute, second
variables to file_template.References: #59
-
[feature] Added 'primary' to the list of constraint types
recognized for MySQL drop_constraint(). -
[feature] Added --sql argument to the "revision" command,
for the use case where the "revision_environment"
config option is being used but SQL access isn't
desired. -
[bug] Repaired create_foreign_key() for
self-referential foreign keys, which weren't working
at all. -
[bug] 'alembic' command reports an informative
error message when the configuration is missing
the 'script_directory' key.References: #63
-
[bug] Fixes made to the constraints created/dropped
alongside so-called "schema" types such as
Boolean and Enum. The create/drop constraint logic
does not kick in when using a dialect that doesn't
use constraints for these types, such as postgresql,
even when existing_type is specified to
alter_column(). Additionally, the constraints
are not affected if existing_type is passed but
type_ is not, i.e. there's no net change
in type.References: #62
-
[bug] Improved error message when specifiying
non-ordered revision identifiers to cover
the case when the "higher" rev is None,
improved message overall.References: #66