summaryrefslogtreecommitdiff
path: root/tests/migrations
AgeCommit message (Collapse)Author
2014-08-03Fixed a MySQL test failure introduced by cbb29af1aa.Simon Charette
Seems like unlike other backends MySQL get_constraints fails when dealing with a non-existing table. refs #23160.
2014-08-03Fixed #23160 -- Correctly rename models with self referential fields.Simon Charette
Thanks to whitews AT gmail for the report.
2014-07-29Fixed #23101: Prefer doing deletes before creates in autodetector.Andrew Godwin
Makes declined or missed renames still work (but drop data).
2014-07-28Fixed #23121: AlterModelOptions operation not changing state rightAndrew Godwin
2014-07-28Fixed #23100: Individual FK creation missing dependenciesAndrew Godwin
2014-07-26Fixed #22944: Bad dependency on FK alteration in autodetectorAndrew Godwin
2014-07-25Fixed #23093: soft application detection for swapped modelsAndrew Godwin
2014-07-25Merge pull request #2938 from dekkers/ticket_23071Andrew Godwin
Fixed #23071 -- Use last migration's name in dependency to other app
2014-07-24Fixed #23014 -- Infinite migration regression with unique/index_together.Tim Graham
2014-07-24Silenced a Python 2 ImportWarning in a migrations test.Tim Graham
2014-07-22Fixed #23071 -- Use last migration's name in dependency to other appJeroen Dekkers
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__.
2014-07-21Fixed #23014: Renaming not atomic with unique togetherAndrew Godwin
2014-07-21Fixed #22975: Don't call rename SQL if not neededAndrew Godwin
2014-07-16Fixed #23041: Bad base dependencies for proxy modelsAndrew Godwin
2014-07-15Fixed #23013 -- Fixed removing unique_together/index_together constraints in ↵Tim Graham
migrations. Thanks melinath for the report.
2014-07-15Fixed #23008 -- Fixed typo causing bad migration dependencies.Tim Graham
Thanks semenov for the report and Florian for investigation.
2014-07-14Fixed #22791 -- Invoke interactive questioner only for conflicts in ↵Huu Nguyen
specified apps. Thanks bendavis78 for the report and Tim Graham for the review.
2014-07-10Fix commentAndrew Godwin
2014-07-09Fixed #22970: Incorrect dependencies for existing migrated appsAndrew Godwin
2014-07-06Fixed #22906 -- Added a more helpful repr to migrations' ModelState.Loic Bistuer
Thanks Collin Anderson for the report and original patch.
2014-07-05Merge pull request #2881 from ↵Andrew Godwin
charettes/ticket-22943-compiled-regex-deconstruction Fixed #22943 -- Correctly serialize compiled regexes.
2014-07-05Fixed #22960: Bad handling of relations as PKs in autodetectorAndrew Godwin
2014-07-04Fixed #22943 -- Correctly serialize compiled regexes.Simon Charette
Thanks to antialiasis at gmail dot com for the patch.
2014-07-02Fixed #22940 -- Added missing string iterpolation parameters in ↵Colin Wood
migrations.writer error. Forwardport of f5740af868 from stable/1.7.x
2014-06-27Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().Tim Graham
2014-06-25Fixed #22903 -- Fixed migration generation if index_together or ↵Tim Graham
unique_together is removed from a model.
2014-06-23Fixed #22708: Typo in autodetector base dependency genAndrew Godwin
2014-06-23Fixed test failures introduced by refs #22881.Tim Graham
2014-06-23Fixed #22881 -- Better soft_applied migration detectionChris Beaven
2014-06-22Fixed #22875: Optimizer did not take through= into account.Andrew Godwin
2014-06-20Moved a line outside of try/except to prevent an error in finally.Tim Graham
Thanks Ian Foote.
2014-06-20Fixed #22862 -- Added --noinput option to makemigrations.Huu Nguyen
Thanks artortenburger for the report.
2014-06-18Fixed several flake8 errorsAlex Gaynor
2014-06-17Fixed #22861: Internal migrations done first so __first__ worksAndrew Godwin
Thanks to Chris Beaven.
2014-06-17Fix __latest__ to actually resolve to the latest migrationAndrew Godwin
2014-06-17Fix broken testAndrew Godwin
2014-06-17Fixed #22853: Swapped models are now ignored for migration operations.Andrew Godwin
2014-06-17Fix previous commit on python 2Andrew Godwin
2014-06-17Fixed #22577: Python 3 broke on non-module migrations directoryVíðir Valberg Guðmundsson
2014-06-16Removed some u'' prefixes to fix Python 3.2.Tim Graham
2014-06-16Added database migration for contrib.auth.Tim Graham
refs #22170.
2014-06-16Added database migration for contrib.contenttypes.Tim Graham
Moved contenttypes tests to allow them to run correctly in the presence of migrations. refs #22170.
2014-06-16Fixed #22783: Make sure swappable models come first in creationAndrew Godwin
2014-06-16Fixed #22788 -- Ensured custom migration operations can be written.Matthew Schinckel
This inspects the migration operation, and if it is not in the django.db.migrations module, it adds the relevant imports to the migration writer and uses the correct class name.
2014-06-16Removed usaged of contrib.sessions as a placeholder in migration tests.Tim Graham
Without this, we're unable to add actual migrations for the app.
2014-06-16Fixed #22844: Duplicate SQL for SQLite FKsAndrew Godwin
2014-06-15Fixed several flake8 errorsAlex Gaynor
2014-06-15Fixed #22568: Better proxy model support in migrationsAndrew Godwin
2014-06-15Fixed #22470: Full migration support for order_with_respect_toAndrew Godwin
2014-06-15Persist non-schema-relevant Meta changes in migrationsAndrew Godwin