| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-15 | Fixed #25128 -- Fixed SQLite SchemaEditor crash when adding a ForeignObject ↵ | Tim Graham | |
| field. | |||
| 2015-06-24 | Refs #25002 -- Supported textual to temporal column alteration on Oracle. | Simon Charette | |
| Thanks to Tim Graham for the report and Shai Berger for the review. | |||
| 2015-06-22 | Fixed #25002 -- Used PostgreSQL column type alteration USING clause. | Simon Charette | |
| Thanks to Dirk Uys for the report. | |||
| 2015-06-15 | Fixed #24972 -- Fixed removing unique_together indexes on MySQL. | Adam Brenecki | |
| 2015-06-02 | Applied db_table conversion to fix schema tests on Oracle. | Tim Graham | |
| 2015-06-02 | Fixed #24893 -- Fixed lack of unique constraint when changing a field from ↵ | Tim Graham | |
| primary_key=True to unique=True | |||
| 2015-06-02 | Fixed #24892 -- Fixed quoting of SQL when renaming a field to AutoField in ↵ | Tim Graham | |
| PostgreSQL | |||
| 2015-05-30 | Fixed #24846 -- Added support to MySQL SchemaEditor for all blob/text data types | Adam Chainz | |
| 2015-05-28 | Fixed #24817 -- Prevented loss of null info in MySQL field renaming. | Andriy Sokolovskiy | |
