| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-03-17 | [2.2.x] Refs #30172 -- Prevented removing a model Meta's ↵ | Paveł Tyślacki | |
| index/unique_together from removing Meta constraints/indexes. Backport of 5c17c273ae2d7274f1fa78218b3b74690efddb86 from master. | |||
| 2019-03-17 | [2.2.x] Refs #30172 -- Prevented removing a field's check or unique ↵ | Paveł Tyślacki | |
| constraint from removing Meta constraints. Backport of 4bb859e24694f6cb8974ed9d2225f18214338ea3 from master. | |||
| 2019-03-15 | [2.2.x] Fixed #30183 -- Added introspection of inline SQLite constraints. | Paveł Tyślacki | |
| Backport of 782d85b6dfa191e67c0f1d572641d8236c79174c from master. | |||
| 2019-01-01 | Fixed #30060 -- Moved SQL generation for indexes and constraints to ↵ | Paveł Tyślacki | |
| SchemaEditor. | |||
| 2018-12-26 | Refs #30033 -- Fixed schema's test_m2m_rename_field_in_target_model test ↵ | Tim Graham | |
| failure on SQLite < 3.20. Mixing local test models with non-local models resulted in a referential integrity error during tear down since the models are removed in separate schema editor instances which each check constraints. Failure appeared after 7289874adceec46b5367ec3157cdd10c711253a0. | |||
| 2018-11-21 | Fixed #29949 -- Refactored db introspection identifier converters. | Mariusz Felisiak | |
| Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review. | |||
| 2018-11-13 | Refs #29641 -- Refactored database schema constraint creation. | Simon Charette | |
| Added a test for constraint names in the database. Updated SQLite introspection to use sqlparse to allow reading the constraint name for table check and unique constraints. Co-authored-by: Ian Foote <python@ian.feete.org> | |||
| 2018-10-29 | Fixed #29547 -- Added support for partial indexes. | Mads Jensen | |
| Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and Markus Holtermann for comments and feedback. | |||
| 2018-09-25 | Fixed #29778 -- Fixed quoting of unique index names. | Oleg | |
| Regression in 3b429c96736b8328c40e5d77282b0d30de563c3c. | |||
| 2018-06-17 | Fixed #29496 -- Fixed crash on Oracle when converting a non-unique field to ↵ | Mariusz Felisiak | |
| primary key. Thanks Tim Graham for the review. | |||
| 2018-05-07 | Replaced django.test.utils.patch_logger() with assertLogs(). | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2018-04-12 | Fixed schema test failure when running tests in reverse. | Tim Graham | |
| Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528. | |||
| 2018-04-11 | Fixed #29193 -- Prevented unnecessary foreign key drops when altering a ↵ | Jeremy Bowman | |
| 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. | |||
| 2018-04-11 | Tested altering a unique field when a reverse M2M relation exists. | Jeremy Bowman | |
| 2018-03-20 | Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than ↵ | Tim Graham | |
| NullBooleanField. | |||
| 2018-03-17 | Fixed #29103 -- Removed bad 'b'-prefix added by MySQL's ↵ | Claude Paroz | |
| SchemaEditor.quote_value(). | |||
| 2018-03-14 | Moved SchemaLoggingTest to tests/schema. | Tim Graham | |
| 2018-01-13 | Fixed #28542 -- Fixed deletion of primary key constraint if the new field is ↵ | Tim Martin | |
| unique. | |||
| 2018-01-02 | Refs #28930 -- Simplified schemas test with any(). | Tim Graham | |
| 2017-12-22 | Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model ↵ | Simon Charette | |
| referenced by a ManyToManyField. Introspected database constraints instead of relying on _meta.related_objects to determine whether or not a table or a column is referenced on rename operations. This has the side effect of ignoring both db_constraint=False and virtual fields such as GenericRelation which aren't backend by database level constraints and thus shouldn't prevent the rename operations from being performed in a transaction. Regression in 095c1aaa898bed40568009db836aa8434f1b983d. Thanks Tim for the additional tests and edits, and Mariusz for the review. | |||
| 2017-12-06 | Fixed #28893 -- Removed unnecessary dict.items() calls. | Tim Graham | |
| 2017-12-05 | Refs #28876 -- Fixed incorrect foreign key constraint name for models with ↵ | Mariusz Felisiak | |
| quoted db_table. Thanks Simon Charette and Tim Graham for the review and Carlos E. C. Leite for the report. | |||
| 2017-12-01 | Fixed #28849 -- Fixed referenced table and column rename on SQLite. | Simon Charette | |
| Thanks Ramiro for the input and Tim for the review. | |||
| 2017-11-14 | Fixed #28792 -- Fixed index name truncation of namespaced tables. | Simon Charette | |
| Refs #27458, #27843. Thanks Tim and Mariusz for the review. | |||
| 2017-09-25 | Fixed #28552 -- Dropped support for MySQL 5.5. | Tim Graham | |
| 2017-09-06 | Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵ | Sergey Fedoseev | |
| functools.partial()/partialmethod(). | |||
| 2017-07-11 | Fixed #14204 -- Enforced SQLite foreign key constraints. | Claude Paroz | |
| Thanks Tim Graham for contributing to the patch and Simon Charette for advice and review. | |||
| 2017-06-22 | Fixed #28298 -- Prevented a primary key alteration from adding a foreign key ↵ | Josh Schneier | |
| constraint if db_constraint=False. | |||
| 2017-06-21 | Refs #25530 -- Deleted deferred SQL references on delete operation. | Simon Charette | |
| 2017-06-21 | Refs #25530 -- Renamed deferred SQL references on rename operation. | Simon Charette | |
| 2017-06-20 | Refs #25530 -- Changed _create_index_name to take a table as first parameter. | Simon Charette | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-06-01 | Fixed #26682 -- Added support for Oracle identity columns. | Mariusz Felisiak | |
| Thanks Shai Berger and Tim Graham for reviews. | |||
| 2017-05-24 | Simplified schema.tests with ↵ | Mariusz Felisiak | |
| assertForeignKeyExists()/assertForeignKeyNotExists(). Thanks Tim Graham for the review. | |||
| 2017-05-24 | Fixed #27860 -- Dropped varchar_pattern_ops/text_pattern_ops index before ↵ | Mariusz Felisiak | |
| altering char/text field in PostgreSQL. Thanks Tim Graham for the review. | |||
| 2017-05-23 | Fixed #27859 -- Ignored db_index for TextField/BinaryField on Oracle and MySQL. | Mariusz Felisiak | |
| Thanks Zubair Alam for the initial patch and Tim Graham for the review. | |||
| 2017-05-01 | Refs #28052 -- Cleaned up some indexes in schema tests. | Tim Graham | |
| 2017-05-01 | Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False. | Markus Holtermann | |
| Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review. | |||
| 2017-04-02 | Fixed #27928 -- Avoided SET/DROP DEFAULT unless a field changes from null to ↵ | Simon Charette | |
| non-null. Thanks Christophe Pettus, Matteo Pietro Russo for reports and Tim for review. | |||
| 2017-02-01 | Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. | Vytis Banaitis | |
| 2017-01-28 | Fixed #27788 -- Dropped support for Oracle < 12.1. | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 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 | |
