-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to configure alembic_version table in DialectImpl
Added a new hook to the :class:`.DefaultImpl` :meth:`.DefaultImpl.version_table_impl`. This allows third party dialects to define the exact structure of the alembic_version table, to include use cases where the table requires special directives and/or additional columns so that it may function correctly on a particular backend. This is not intended as a user-expansion hook, only a dialect implementation hook to produce a working alembic_version table. Pull request courtesy Maciek Bryński. This will be 1.14 so this also version bumps Fixes: #1560 Closes: #1563 Pull-request: #1563 Pull-request-sha: e70fdc8 Change-Id: I5e565dff60a979526608d2a1c0c620fbca269a3f
- Loading branch information
Showing
5 changed files
with
110 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. change:: | ||
:tags: usecase, runtime | ||
:tickets: 1560 | ||
|
||
Added a new hook to the :class:`.DefaultImpl` | ||
:meth:`.DefaultImpl.version_table_impl`. This allows third party dialects | ||
to define the exact structure of the alembic_version table, to include use | ||
cases where the table requires special directives and/or additional columns | ||
so that it may function correctly on a particular backend. This is not | ||
intended as a user-expansion hook, only a dialect implementation hook to | ||
produce a working alembic_version table. Pull request courtesy Maciek | ||
Bryński. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters