Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- [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. #27
Tags
rel_0_3_6
Mike Bayer
whitespace removal
Mike Bayer
- add a test for Enum repr() - requires SQLA 0.7.9 or 0.8
Mike Bayer
- [bug] Improved error message when specifiying non-ordered revision identifiers to cover the case when the "higher" rev is None, improved message overall. #66
Mike Bayer
- [bug] Repaired create_foreign_key() for self-referential foreign keys, which weren't working at all.
Mike Bayer
the name shouldn't be needed here
Mike Bayer
- [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…
Mike Bayer
- [bug] 'alembic' command reports an informative error message when the configuration is missing the 'script_directory' key. #63
Mike Bayer
- [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.
Edward Stone
changed config.main to accept prog as argument
Mike Bayer
- sublime blowing away trailing space - changelog - fix this test - fix docs for new mysql 'primary'
ergo
added drop primary key constraint
Mike Bayer
- Added year, month, day, hour, minute, second variables to file_template. #59
Mike Bayer
more edits
Mike Bayer
revise the readme re: sqlite
Mike Bayer
drat, we're beta
Mike Bayer
Added tag rel_0_3_5 for changeset 7057644271cf
Mike Bayer
pep8
Tags
rel_0_3_5
Mike Bayer
- [bug] Fixed issue whereby when autogenerate would render create_table() on the upgrade side for a table that has a Boolean type, an unnecessary CheckConstraint() would be generated. #58 - [feature] Implemented SQL rendering for CheckConstraint() within autogenerate upgrade, including for literal SQL as well as SQL Expression Language expressions.
Mike Bayer
some trailing whitespace removal which autogenerate tests are particularly sensitive towards
Mike Bayer
document that we're using server_default, #56
Mike Bayer
- apply repr() to server default string, #31
Mike Bayer
Added tag rel_0_3_4 for changeset 5d3a4efb89f3
Mike Bayer
- repair entirely broken revision_environment feature released in 0.3.3 - its beta
Tags
rel_0_3_4
Mike Bayer
Added tag rel_0_3_3 for changeset ac7b69a254ea
Mike Bayer
- [feature] New config argument "revision_environment=true", causes env.py to be run unconditionally when the "revision" command is run, to support script.py.mako templates with dependencies on custom "template_args". - [feature] Added "template_args" option to configure() so that an env.py can add additional arguments to the template context when running the "revision" command. This requires either --autogenerate or the configuration directive "revision_environment=true".
Tags
rel_0_3_3
Mike Bayer
- [bug] Fixed bug whereby directories inside of the template directories, such as __pycache__ on Pypy, would mistakenly be interpreted as files which are part of the template. #49
Mike Bayer
- [feature] Added support for "relative" migration identifiers, i.e. "alembic upgrade +2", "alembic downgrade -1". Courtesy Atsushi Odagiri for this feature.
dairiki
Make version table name configurable.
Mike Bayer
- [bug] Added "type" argument to op.drop_constraint(), and implemented full constraint drop support for MySQL. CHECK and undefined raise an error. MySQL needs the constraint type in order to emit a DROP CONSTRAINT. #44
  1. Prev
  2. Next