<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy-migrate.git/migrate/changeset/databases, branch master</title>
<subtitle>github.com: stackforge/sqlalchemy-migrate.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/'/>
<entry>
<title>Retire github mirror, repo moved to opendev</title>
<updated>2019-09-26T13:56:42+00:00</updated>
<author>
<name>Jim Rollenhagen</name>
<email>jim@jimrollenhagen.com</email>
</author>
<published>2019-09-26T13:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=52672a64cc0cab4ea14a4a756fce850eb03315e3'/>
<id>52672a64cc0cab4ea14a4a756fce850eb03315e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Import MutableMapping from the correct Python module"</title>
<updated>2019-01-21T22:17:29+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2019-01-21T22:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=f0664995a1aa0a533520f7787a453a429cc95b4a'/>
<id>f0664995a1aa0a533520f7787a453a429cc95b4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Don't use deprecated / non-functional "force" parameter"</title>
<updated>2019-01-21T22:13:03+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2019-01-21T22:13:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=6803334bb12ccea80c3388a548f91edd8ec7e5fb'/>
<id>6803334bb12ccea80c3388a548f91edd8ec7e5fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use deprecated / non-functional "force" parameter</title>
<updated>2019-01-18T18:11:40+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2019-01-16T20:54:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=fe646671060815ff865e49b52d957c7f01220597'/>
<id>fe646671060815ff865e49b52d957c7f01220597</id>
<content type='text'>
The "force" parameter in SQLAlchemy IdentifierPreparer.quote()
has been a no-op since 0.9 in
https://github.com/sqlalchemy/sqlalchemy/commit/031ef0807838842a827135dbace760da7aec215e,
which was six years ago.   In SQLAlchemy 1.3 this parameter
will be removed entirely.   Bump requirements to 0.9 series
here and remove usage of the "force" flag.

Change-Id: I4492df2e7d2075fefbf13d6782de11f7d402f6b8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "force" parameter in SQLAlchemy IdentifierPreparer.quote()
has been a no-op since 0.9 in
https://github.com/sqlalchemy/sqlalchemy/commit/031ef0807838842a827135dbace760da7aec215e,
which was six years ago.   In SQLAlchemy 1.3 this parameter
will be removed entirely.   Bump requirements to 0.9 series
here and remove usage of the "force" flag.

Change-Id: I4492df2e7d2075fefbf13d6782de11f7d402f6b8
</pre>
</div>
</content>
</entry>
<entry>
<title>Use legacy_alter_table ON in sqlite recreate_table</title>
<updated>2019-01-15T22:01:26+00:00</updated>
<author>
<name>Corey Bryant</name>
<email>corey.bryant@canonical.com</email>
</author>
<published>2018-12-07T18:49:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=231a4d2ae9f8496cfc8eea2e6bb8186a0dd602f9'/>
<id>231a4d2ae9f8496cfc8eea2e6bb8186a0dd602f9</id>
<content type='text'>
Use "PRAGMA legacy_alter_table = ON" with sqlite &gt;= 3.26 when
using "ALTER TABLE RENAME TO migration_tmp" to maintain legacy
behavior.

As of sqlite version 3.26, when a table is renamed using
"ALTER TABLE RENAME TO", REFERENCES clauses that refer to the
table will be updated. To maintain legacy (3.24 and earlier)
behavior, "PRAGMA legacy_alter_table" can be set to true and
"PRAGMA foreign_keys" can be set to false. [1]

[1] https://www.sqlite.org/src/info/ae9638e9c0ad0c36

Thanks to "László Böszörményi (GCS)" &lt;gcs@debian.org&gt; for
providing the code for this patch, which has since been
slightly modified.

Change-Id: I539988ab2ad6df6c8f423ecec15364ad8fcc7267
Closes-Bug: 1807262
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use "PRAGMA legacy_alter_table = ON" with sqlite &gt;= 3.26 when
using "ALTER TABLE RENAME TO migration_tmp" to maintain legacy
behavior.

As of sqlite version 3.26, when a table is renamed using
"ALTER TABLE RENAME TO", REFERENCES clauses that refer to the
table will be updated. To maintain legacy (3.24 and earlier)
behavior, "PRAGMA legacy_alter_table" can be set to true and
"PRAGMA foreign_keys" can be set to false. [1]

[1] https://www.sqlite.org/src/info/ae9638e9c0ad0c36

Thanks to "László Böszörményi (GCS)" &lt;gcs@debian.org&gt; for
providing the code for this patch, which has since been
slightly modified.

Change-Id: I539988ab2ad6df6c8f423ecec15364ad8fcc7267
Closes-Bug: 1807262
</pre>
</div>
</content>
</entry>
<entry>
<title>Import MutableMapping from the correct Python module</title>
<updated>2019-01-15T18:16:06+00:00</updated>
<author>
<name>Chih-Hsuan Yen</name>
<email>yen@chyen.cc</email>
</author>
<published>2018-12-03T13:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=a00dab7bcfb815ce370e14d1b33f328d5aee1c0d'/>
<id>a00dab7bcfb815ce370e14d1b33f328d5aee1c0d</id>
<content type='text'>
Change-Id: Ifb66fe22bc607b13f5c4756d3b93f5e8206c33e3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ifb66fe22bc607b13f5c4756d3b93f5e8206c33e3
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ibmdb2 index name handling</title>
<updated>2015-03-16T15:21:03+00:00</updated>
<author>
<name>Qin Zhao</name>
<email>chaochin@gmail.com</email>
</author>
<published>2015-02-16T09:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=e57ee4c3a4247c634980cbeba74d04a01253967d'/>
<id>e57ee4c3a4247c634980cbeba74d04a01253967d</id>
<content type='text'>
The ibmdb2 code calls _index_identifier() when it handles index name. This
method only exists from sqlalchemy 0.6.5 to 0.7.*. Nova code change
https://review.openstack.org/#/c/153123/ attempts to drop a db constraint and
it fails to sync nova db with sqlalchemy 0.9.8 running against db2. Need to let
ibmdb2 code identify sqlalchemy version and call the correct method to handle
index name.

Closes-Bug: 1428477

Change-Id: Ie6333f9cea0209c1ea290356873a1a1bcf409bed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ibmdb2 code calls _index_identifier() when it handles index name. This
method only exists from sqlalchemy 0.6.5 to 0.7.*. Nova code change
https://review.openstack.org/#/c/153123/ attempts to drop a db constraint and
it fails to sync nova db with sqlalchemy 0.9.8 running against db2. Need to let
ibmdb2 code identify sqlalchemy version and call the correct method to handle
index name.

Closes-Bug: 1428477

Change-Id: Ie6333f9cea0209c1ea290356873a1a1bcf409bed
</pre>
</div>
</content>
</entry>
<entry>
<title>allow dropping fkeys with sqlite</title>
<updated>2015-02-20T18:04:35+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2015-02-20T17:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=ae64d828df9debe61283ca7aa436bdbf0b49d0e7'/>
<id>ae64d828df9debe61283ca7aa436bdbf0b49d0e7</id>
<content type='text'>
This implements the ability to drop foreign keys
with sqlite. It's basically the same implementation
used for dropping unique constraints so the common
code is refactored.

The existing FKey test that was skipping sqlite is
no longer skipped to show this works.

Change-Id: Idaaf4229e34af4c21c3bcead4b4e22491d24238e
Closes-Bug: #1423955
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements the ability to drop foreign keys
with sqlite. It's basically the same implementation
used for dropping unique constraints so the common
code is refactored.

The existing FKey test that was skipping sqlite is
no longer skipped to show this works.

Change-Id: Idaaf4229e34af4c21c3bcead4b4e22491d24238e
Closes-Bug: #1423955
</pre>
</div>
</content>
</entry>
<entry>
<title>Use native sqlalchemy 0.9 quote attribute with ibmdb2</title>
<updated>2015-01-09T22:31:28+00:00</updated>
<author>
<name>Rahul Priyadarshi</name>
<email>rahul.priyadarshi@in.ibm.com</email>
</author>
<published>2014-12-17T15:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=74553f426c23e42e05d9be19f4ed8ae411280b50'/>
<id>74553f426c23e42e05d9be19f4ed8ae411280b50</id>
<content type='text'>
Commit 8d6ce64cd08c0598963a92844495782997cd59f3 started using the native
quote attribute built into sqlalchemy 0.9 but missed the changes to the
ibmdb2 changeset, so alter table statements fail for DB2 on sqlalchemy
&gt;= 0.9 (tested against 0.9.8).

This fixes the same issue for the ibmdb2 changeset.

Change-Id: Ia3fa6c3090b5eab29ed7746f4795d502990b8a2f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 8d6ce64cd08c0598963a92844495782997cd59f3 started using the native
quote attribute built into sqlalchemy 0.9 but missed the changes to the
ibmdb2 changeset, so alter table statements fail for DB2 on sqlalchemy
&gt;= 0.9 (tested against 0.9.8).

This fixes the same issue for the ibmdb2 changeset.

Change-Id: Ia3fa6c3090b5eab29ed7746f4795d502990b8a2f
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ibmdb2 unique constraint handling for sqlalchemy 0.9</title>
<updated>2014-08-04T14:34:08+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2014-07-18T18:42:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=7bb74f70e9d239a488e0c909c28b4131dbfd5067'/>
<id>7bb74f70e9d239a488e0c909c28b4131dbfd5067</id>
<content type='text'>
The ibmdb2 unique constraint code was accessing the private _all_cols
member var in iterating over columns which breaks in sqlalchemy 0.9 so
fix up the code to not use internals of sqlalchemy.

UniqueConstraint in sqlalchemy extends ColumnCollectionConstraint
which implements __iter__ to generate a tuple of the columns in
the constraint, so we just iterate over the constraint as the fix.

This is based on a patch from Rahul Priyadarshi in ibm-db-sa issue
158:

https://code.google.com/p/ibm-db/issues/detail?id=158

Co-Authored-By: Rahul Priyadarshi &lt;rahul.priyadarshi@in.ibm.com&gt;

Change-Id: I0f06f6314c382e83573d762abe5981db0a02a83a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ibmdb2 unique constraint code was accessing the private _all_cols
member var in iterating over columns which breaks in sqlalchemy 0.9 so
fix up the code to not use internals of sqlalchemy.

UniqueConstraint in sqlalchemy extends ColumnCollectionConstraint
which implements __iter__ to generate a tuple of the columns in
the constraint, so we just iterate over the constraint as the fix.

This is based on a patch from Rahul Priyadarshi in ibm-db-sa issue
158:

https://code.google.com/p/ibm-db/issues/detail?id=158

Co-Authored-By: Rahul Priyadarshi &lt;rahul.priyadarshi@in.ibm.com&gt;

Change-Id: I0f06f6314c382e83573d762abe5981db0a02a83a
</pre>
</div>
</content>
</entry>
</feed>
