Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/migrations
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #23426 -- Allowed parameters in migrations.RunSQLMarkus Holtermann2014-10-021-0/+81
| | | | Thanks tchaumeny and Loic for reviews.
* Fixed #23365 -- Added support for timezone-aware ↵Rudy Mutter2014-09-301-3/+26
| | | | datetimes to migrations.
* Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵Thomas Chaumeny2014-09-284-17/+17
| | | | | | 3282. Thanks Collin Anderson for the review.
* Fixed #23560 -- Fixed MigrationWrite to handle builtin ↵Loic Bistuer2014-09-261-0/+5
| | | | | | types without imports. Thanks Tim Graham for the review.
* Fixed #23415 -- Added fields for unmanaged and proxy ↵Markus Holtermann2014-09-251-0/+41
| | | | | | model migrations. Thanks sky-chen for the report.
* Revert "Fixed #23474 -- Prevented migrating backwards ↵Tim Graham2014-09-242-38/+0
| | | | | | from unapplying the wrong migrations." This reverts commit abcf28a07695a45cb5fb15b81bffc97bea5e0be3.
* Fixed #23426 -- Don't require double percent sign in ↵Markus Holtermann2014-09-241-3/+15
| | | | RunSQL without parameters
* Called table_names instead of get_table_list in migrationsClaude Paroz2014-09-232-6/+6
|
* Fixed #23503 -- Fixed renaming of model with ↵Sergey Fedoseev2014-09-231-0/+16
| | | | self-referential m2m field.
* Fixed some flake8 errors.Tim Graham2014-09-193-4/+4
| | | | | | Originally I added migrations to flake8 exclude because of long lines in migration files, but there are other directories named migrations we do want to check. We are not warning on line lengths yet anyway.
* Fixed #23474 -- Prevented migrating backwards from ↵valtron2014-09-154-0/+55
| | | | unapplying the wrong migrations.
* Fixed #23483 -- Prevented ImproperlyConfigured with ↵Szilveszter Farkas2014-09-121-0/+21
| | | | | | | | dotted app names Made sure the app labels stay unique for the AppConfigStubs, so migrations wouldn't fail if two dotted app names has the same last part (e.g. django.contrib.auth and vendor.auth)
* Corrected grammar in migrations error message.Markus Bertheau2014-09-101-2/+4
|
* Fixed #23452 -- Prevented infinite migrations for empty ↵Markus Holtermann2014-09-101-2/+46
| | | | | | unique/index_together. Thanks fwkroon for the report.
* Fixed broken test from da160d440f; refs #23418.Markus Holtermann2014-09-081-1/+1
|
* Fixed #23418 -- Fail when migration deconstruct produces ↵Markus Holtermann2014-09-081-2/+10
| | | | invalid import
* Fixed #22951 -- Checked for types during ↵Andrew Pinkham2014-09-081-0/+25
| | | | | | deep_deconstruct migration serialization process. Thanks Sam Hartsfield for the report.
* Fix Python 3 incompatabilityAndrew Godwin2014-09-061-1/+1
|
* switch out recursive dfs for stack based approach, to ↵Ben Reilly2014-09-061-0/+15
| | | | avoid possibly hitting the recursion limit
* Revert "Fixed #23384 -- Allowed overriding part of a ↵Claude Paroz2014-09-052-5/+2
| | | | | | | | | dictionary-type setting" This reverts commit 66757fee7e921ad4c35e0b3f80c25e026100b31c. Discussions have led to think that this functionality does not bring significant benefits to justify the added complexity. Read also discussions on ticket #22734.
* Fixed #23302 -- Added --name/-n option to makemigrations ↵Raffaele Salmaso2014-09-032-0/+56
| | | | command
* Fixed #22918 -- Fixed SeparateDatabaseAndState crashDave Hall2014-09-021-0/+33
|
* Fixed #23384 -- Allowed overriding part of a ↵Claude Paroz2014-08-302-2/+5
| | | | | | | | dictionary-type setting This change is needed for upcoming changes where settings might be grouped in a parent dictionary. Thanks Tim Graham for the review.
* Fixed #23341 -- Added migration name to nonexistent ↵Raffaele Salmaso2014-08-242-21/+46
| | | | migration error in makemigrations.
* Fixed #23352 -- Added tests for ↵Raffaele Salmaso2014-08-231-0/+13
| | | | MigrationGraph.{forwards,backwards}_plan
* Fixed #23322 -- Use resolved swappable model for ↵Markus Holtermann2014-08-201-0/+82
| | | | dependency resolution during makemigrations
* Fixed migrations tests added in refs #23315.Tim Graham2014-08-201-1/+1
|
* Fixed #23315: Operational dependency fail with mixed ↵Andrew Godwin2014-08-201-72/+65
| | | | create/add
* Fixed #23316 -- Added datetime.time serialization in ↵Lee Sanghyuck2014-08-191-0/+1
| | | | migrations.
* Fixed broken tests on Oracle after ↵Baptiste Mispelon2014-08-191-4/+4
| | | | | | | | | 5853c87a458f62ebd62d7809168355610de2570c. Oracle doesn't have a `BEGIN` statement so the test would fail. Refs #23303
* Fixed #23303 -- Added BEGIN and COMMIT statements to the ↵Baptiste Mispelon2014-08-181-0/+7
| | | | output of sqlmigrate.
* Fixed typo in tests/migrations/test_operations.pyTim Graham2014-08-151-1/+1
|
* Fixed #23275: Unmanaged models kept by autodetector, ↵Andrew Godwin2014-08-122-12/+39
| | | | ignored by ops
* Fixed #23244: Error altering FK to non-FK in migrationsAndrew Godwin2014-08-071-3/+27
|
* Fixed #23091: CreateModel and AddField were clashing ↵Andrew Godwin2014-08-041-0/+27
| | | | with deferred SQL
* Fixed a MySQL test failure introduced by cbb29af1aa.Simon Charette2014-08-031-3/+3
| | | | | Seems like unlike other backends MySQL get_constraints fails when dealing with a non-existing table. refs #23160.
* Fixed #23160 -- Correctly rename models with self ↵Simon Charette2014-08-031-0/+37
| | | | | | referential fields. Thanks to whitews AT gmail for the report.
* Fixed #23101: Prefer doing deletes before creates in ↵Andrew Godwin2014-07-291-25/+10
| | | | | | autodetector. Makes declined or missed renames still work (but drop data).
* Fixed #23121: AlterModelOptions operation not changing ↵Andrew Godwin2014-07-282-5/+28
| | | | state right
* Fixed #23100: Individual FK creation missing dependenciesAndrew Godwin2014-07-281-0/+15
|
* Fixed #22944: Bad dependency on FK alteration in ↵Andrew Godwin2014-07-261-0/+19
| | | | autodetector
* Fixed #23093: soft application detection for swapped modelsAndrew Godwin2014-07-251-2/+20
|
* Merge pull request #2938 from dekkers/ticket_23071Andrew Godwin2014-07-257-59/+3
|\ | | | | Fixed #23071 -- Use last migration's name in dependency to other app
| * Fixed #23071 -- Use last migration's name in dependency ↵Jeroen Dekkers2014-07-227-59/+3
| | | | | | | | | | | | | | | | to other app Changed the autodetector to lookup the name of the other app's last migration in the graph and use that as dependency instead of using __latest__.
* | Fixed #23014 -- Infinite migration regression with ↵Tim Graham2014-07-241-6/+16
| | | | | | | | unique/index_together.
* | Silenced a Python 2 ImportWarning in a migrations test.Tim Graham2014-07-241-1/+7
|/
* Fixed #23014: Renaming not atomic with unique togetherAndrew Godwin2014-07-211-2/+13
|
* Fixed #22975: Don't call rename SQL if not neededAndrew Godwin2014-07-211-0/+20
|
* Fixed #23041: Bad base dependencies for proxy modelsAndrew Godwin2014-07-161-1/+18
|
* Fixed #23013 -- Fixed removing ↵Tim Graham2014-07-151-0/+8
| | | | | | unique_together/index_together constraints in migrations. Thanks melinath for the report.