Commits

Author Commit Message Labels Comments Date
Mike Bayer
- use compat version of mock for py3
Mike Bayer
- Added/fixed support for MySQL "SET DEFAULT" / "DROP DEFAULT" phrases, which will now be rendered if only the server default is changing or being dropped (e.g. specify None to alter_column() to indicate "DROP DEFAULT"). Also added support for rendering MODIFY rather than CHANGE when the column name isn't changing. fixes #103
Mike Bayer
- add test for drop default
Mike Bayer
- Added support for the ``initially``, ``match`` keyword arguments as well as dialect-specific keyword arguments to :meth:`.Operations.create_foreign_key`. fixes #190
Mike Bayer
- Altered the support for "sourceless" migration files (e.g. only .pyc or .pyo present) so that the flag "sourceless=true" needs to be in alembic.ini for this behavior to take effect. fixes #163
Mike Bayer
- ensure that target_metadata is also present in the offline migration context, so that --sql mode gets access to naming conventions also. existing environments need to add target_metadata to the offline migration context manually. fixes #189
Mike Bayer
The feature that keeps on giving, index/unique constraint autogenerate detection, has even more fixes, this time to accommodate database dialects that both don't yet report on unique constraints, but the backend does report unique constraints as indexes. The logic Alembic uses to distinguish between "this is an index!" vs. "this is a unique constraint that is also reported as an index!" has now been further enhanced to not produce unwanted migrations when the diale…
Mike Bayer
Extensive changes have been made to more fully support SQLAlchemy's new naming conventions feature. Note that while SQLAlchemy has added this feature as of 0.9.2, some additional fixes in 0.9.4 are needed to resolve some of the issues: 1. The :class:`.Operations` object now takes into account the naming conventions that are present on the :class:`.MetaData` object that's associated using :paramref:`~.EnvironmentContext.configure.target_metadata`. When :class:`.Operations` renders a constraint directive like ``ADD CONSTRAINT``, it now will make use of this naming convention when …
Mike Bayer
- Suppressed IOErrors which can raise when program output pipe is closed under a program like ``head``; however this only works on Python 2. On Python 3, there is not yet a known way to suppress the BrokenPipeError warnings without prematurely terminating the program via signals. fixes #160. Added comments to http://bugs.python.org/issue11380 to see what the status is on py3k.
Mike Bayer
got the docs totally wrong on that
Mike Bayer
- Fixed bug where :meth:`.Operations.bulk_insert` would not function properly when :meth:`.Operations.inline_literal` values were used, either in --sql or non-sql mode. The values will now render directly in --sql mode. For compatibility with "online" mode, a new flag :paramref:`~.Operations.inline_literal.multiparams` can be set to False which will cause each parameter set to be compiled and executed with individual INSERT statements. fixes #179
Mike Bayer
- add new section, cookbook. First example, add conditonal sections to migrations within script.py.mako. fixes #177
Mike Bayer
- add py.test config, see if jenkins no longer pulls in sqlalchemy conftest files...
Mike Bayer
- Fixed a failure of the system that allows "legacy keyword arguments" to be understood, which arose as of a change in Python 3.4 regarding decorators. A workaround is applied that allows the code to work across Python 3 versions. #175
dairiki
Bug: exception on alter_column(..., server_default=None) in mysql
Branches
bug.mysql-server_default
Mike Bayer
- Fixed a failure of the system that allows "legacy keyword arguments" to be understood, which arose as of a change in Python 3.4 regarding decorators. A workaround is applied that allows the code to work across Python 3 versions. #175
Branches
bug.mysql-server_default
Mike Bayer
Merge branch 't'
Branches
bug.mysql-server_default
Mike Bayer
- 0.6.4 - changelog for pullreq bitbucket:20
Robbie Coomber
Return the script object from command.revision
Mike Bayer
Merged in jaysonsantos/alembic/removed-unreachable-raise-statement-1392309125970 (pull request #19) Removed unreachable raise statement
Branches
bug.mysql-server_default
Jayson Reis
Removed unreachable raise statement
Mike Bayer
- remove this
Mike Bayer
- 0.6.3 - 2014
Mike Bayer
- add new section "the importance of naming constraints" - add a note that a new branching approach is planned, remove note about "splice"
Mike Bayer
- Added a workaround for when we call ``fcntl.ioctl()`` to get at ``TERMWIDTH``; if the function returns zero, as is reported to occur in some pseudo-ttys, the message wrapping system is disabled in the same way as if ``ioctl()`` failed. #172
Mike Bayer
- add new tests to ensure the naming convention thing works on this end as expected
Mike Bayer
more doc fixes and updates
Mike Bayer
move this seealso
Mike Bayer
- use latest extension versions, trying to get rtd to build
Mike Bayer
- Added new argument :paramref:`.EnvironmentContext.configure.user_module_prefix`. This prefix is applied when autogenerate renders a user-defined type, which here is defined as any type that is from a module outside of the ``sqlalchemy.`` hierarchy. This prefix defaults to ``None``, in which case the :paramref:`.EnvironmentContext.configure.sqlalchemy_module_prefix` is used, thus preserving the current behavior. #1…
  1. Prev
  2. Next