| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-14 | [1.11.x] Added isolated_local_models support to schema tests. | Tim Graham | |
| Follow up to 46496a542c2ff9f273e090073e9c8071acb1a4a4, which otherwise has no effect. Partial backport of 9f7772e098439f9edea3d25ab127539fc514eeb2 from master | |||
| 2018-04-12 | [1.11.x] Fixed schema test failure when running tests in reverse. | Tim Graham | |
| Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528. Backport of 78f8b80f9b215e50618375adce4c97795dabbb84 from master | |||
| 2018-04-11 | [1.11.x] Fixed #29193 -- Prevented unnecessary foreign key drops when ↵ | Jeremy Bowman | |
| altering a unique field. Stopped dropping and recreating foreign key constraints on other fields in the same table as the one which is actually being altered in an AlterField operation. Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0. Backport of ee17bb8a67a9e7e688da6e6f4b3be1b3a69c09b0 from master | |||
| 2018-04-11 | [1.11.x] Tested altering a unique field when a reverse M2M relation exists. | Jeremy Bowman | |
| Backport of 003334f8af29e2023cf7ad7d080aa9ab26a7c528 from master | |||
| 2017-12-05 | [1.11.x] Refs #28876 -- Fixed incorrect foreign key constraint name for ↵ | Mariusz Felisiak | |
| models with quoted db_table. Thanks Simon Charette and Tim Graham for the review and Carlos E. C. Leite for the report. Backport of fc48047586a8f92262f55d9d2bfb976325844b23 from master | |||
| 2017-11-14 | [1.11.x] Fixed #28792 -- Fixed index name truncation of namespaced tables. | Simon Charette | |
| Refs #27458, #27843. Thanks Tim and Mariusz for the review. Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master | |||
| 2017-06-22 | [1.11.x] Fixed #28298 -- Prevented a primary key alteration from adding a ↵ | Josh Schneier | |
| foreign key constraint if db_constraint=False. Backport of fba0eaa5d60603721d7b4653e3efacbfb3613bd2 from master | |||
| 2017-06-22 | [1.11.x] Simplified schema.tests with ↵ | Mariusz Felisiak | |
| assertForeignKeyExists()/assertForeignKeyNotExists(). Backport of 663d1c316070af80a41f136b76308f21993537e4 from master | |||
| 2017-05-01 | [1.11.x] Refs #28052 -- Cleaned up some indexes in schema tests. | Tim Graham | |
| Backport of d0e43f225f59145903c72c650eeef1f80e12f9ed from master | |||
| 2017-05-01 | [1.11.x] Fixed #28052 -- Prevented dropping Meta.indexes when changing ↵ | Markus Holtermann | |
| db_index to False. Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review. Backport of 663e48947ff8ef3e6a6275bda2d1ee1b0de13be3 from master | |||
| 2016-12-30 | Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" ↵ | Andrew Nester | |
| db_table on Oracle. | |||
| 2016-12-28 | Fixed #27631 -- Prevented execution of transactional DDL statements when ↵ | Simon Charette | |
| unsupported. Executing a DDL statement during a transaction on backends that don't support it silently commits, leaving atomic() in an incoherent state. While schema_editor.execute() could technically be used to execute DML statements such usage should be uncommon as these are usually performed through the ORM. In other cases schema_editor.connection.execute() can be used to circumvent this check. Thanks Adam and Tim for the review. | |||
| 2016-12-24 | Fixed #25492 -- Checked deferred foreign key constraints before dropping them. | Simon Charette | |
| This allows running foreign key data and schema altering operations in the same migration on PostgreSQL. Thanks Tim for review. | |||
| 2016-12-23 | Refs #26384 -- Isolated a test model in schema tests. | Simon Charette | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-10-27 | Fixed #27327 -- Simplified time zone handling by requiring pytz. | Tim Graham | |
| 2016-09-12 | Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexes | Claude Paroz | |
| Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review. | |||
| 2016-09-09 | Fixed #27195 -- Stopped dropping default when adding a nullable column. | Simon Charette | |
| Thanks Rob Golding from Zapier for the report. | |||
| 2016-08-12 | Fixed #27030 -- Added contrib.postgres.indexes.GinIndex. | Akshesh | |
| 2016-08-12 | Fixed #20888 -- Added support for column order in class-based indexes. | Akshesh | |
| 2016-08-11 | Fixed #24442 -- Improved SchemaEditor's index name truncation. | Akshesh | |
| 2016-07-13 | Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field(). | Jon Dufresne | |
| 2016-07-08 | Added strict=True to all SchemaEditor.alter_field() calls in tests. | Jon Dufresne | |
| It should help catch bugs. | |||
| 2016-07-07 | Fixed #25317, #26090 -- Fixed swapping combinations of unique and db_index ↵ | Jon Dufresne | |
| during migrations. | |||
| 2016-07-07 | Refs #26709 -- Added 'model' argument to SchemaEditor.add/remove_index() | Akshesh | |
| This removes the dependency of the Index class on its model attribute when a name is passed to it. Thanks to Markush for discussions. | |||
| 2016-07-07 | Fixed #26833 -- Fixed SchemaEditor._constraint_names() to handle ↵ | Jon Dufresne | |
| features.uppercases_column_names. | |||
| 2016-06-29 | Fixed #25694 -- Removed incorrect _uniq suffix on index names during migrations. | Jon Dufresne | |
| 2016-06-27 | Refs #26034 -- Corrected a schema test to work with the correct field state. | Jon Dufresne | |
| 2016-06-27 | Fixed #26709 -- Added class-based indexes. | Akshesh | |
| Added the AddIndex and RemoveIndex operations to use them in migrations. Thanks markush, mjtamlyn, timgraham, and charettes for review and advice. | |||
| 2016-06-21 | Fixed #26781 -- Made table name case change a noop on SQLite. | Simon Charette | |
| SQLite disgresses from the SQL standard by ignoring case of quoted identifiers. Thanks to laozzzi for the report and Tim for the review. | |||
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-05-09 | Fixed #25005 -- Made date and time fields with auto_now/auto_now_add use ↵ | Iacopo Spalletti | |
| effective default. Thanks to Andriy Sokolovskiy for initial patch. | |||
| 2016-05-07 | Fixed #26593 -- Leveraged deferrable_sql() in SchemaEditor | Markus Holtermann | |
| 2016-05-03 | Normalized "an SQL" spelling. | Ville Skyttä | |
| 2016-04-02 | Refs #26384, #24995 -- Avoided a module-level MySQL query in the schema tests. | Michal Petrucha | |
| 2016-03-31 | Refs #26384, #24995 -- Skipped a schema test on older MySQL versions. | Tim Graham | |
| 2016-03-29 | Fixed #26384 -- Fixed renaming the PK on a model with a self-referential FK ↵ | Alex Hill | |
| on SQLite. | |||
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-22 | Fixed #26116 -- Corrected schema's test_alter_implicit_id_to_explicit. | Tim Graham | |
| AUTOINCREMENT is dropped converting an AutoField to IntegerField which isn't the point of this test. MySQL would warn or error about this. | |||
| 2016-01-08 | Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on ↵ | Tim Graham | |
| Char/TextField with unique=True and db_index=True. Thanks Simon Charette for review. | |||
| 2016-01-08 | Added a helper function in schema tests. | Tim Graham | |
| 2015-12-10 | Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using ↵ | Federico Frenguelli | |
| AlterField. Thanks to Emanuele Palazzetti for the help. | |||
| 2015-11-14 | Refs #25745 -- Avoided multiple registration of the same model in schema tests. | Simon Charette | |
| 2015-10-16 | Used SchemaEditor.delete_model() for teardown in schema tests. | Tim Graham | |
| Some third-party database backends (MSSQL) have custom delete_model() requirements that must be executed. Thanks Michael Manfre for the initial patch and review. | |||
| 2015-09-23 | Refs #18081 -- Asserted db constraints are created for fk to proxy models. | Simon Charette | |
| 2015-09-21 | Fix import sorting problem. | Aymeric Augustin | |
| 2015-09-21 | Renamed descriptor classes for related objects. | Aymeric Augustin | |
| The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base. | |||
| 2015-09-14 | Fixed #25393 -- Fixed MySQL crash when adding text/blob field with ↵ | Ville Skyttä | |
| unhashable default. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-08-08 | Used skipUnlessDBFeature where appropriate. | Simon Charette | |
