diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2014-04-21 15:37:12 +0200 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2014-04-21 15:37:12 +0200 |
| commit | 405b13fe83e3d8c9079545429d40c434eb496893 (patch) | |
| tree | 06ba2a61d3fc32c480ca17b7eb55ed225078c3f8 /scripts | |
| parent | a4553e051087a026b7f52bfb56c0d880c39c9cc2 (diff) | |
Fixed migrate when called inside a transaction.
This is useful for tests manually calling migrate inside a testcase,
for normal usage this should make no difference, since there is no
surrounding transaction after all. If there is one we still try to
leave the transaction in a useable state (for postgres at least).
If this commit turns out to be causing issues, settings savepoint=False
is probably the right fix :)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
