summaryrefslogtreecommitdiff
path: root/django/db/backends/base
AgeCommit message (Collapse)Author
2017-05-09Pass type to sql_alter_column_* where it was missing.Florian Apolloner
This is a followup to 2b3a9414570af623853ca0f819c7d77d0511f22c
2017-05-01Fixed typo in django/db/backends/base/schema.py comment.Tim Graham
2017-05-01Fixed #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-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-04-10Fixed #25406 -- Removed exception hiding in PostgreSQL test database ↵Mariusz Felisiak
creation during --keepdb. Thanks Markus Holtermann and Tim Graham for reviews.
2017-04-02Fixed #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-03-24Refs #21160 -- Replaced DatabaseFeatures.supports_1000_query_parameters by a ↵Mariusz Felisiak
DatabaseFeatures.max_query_params.
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-27Refs #27802 -- Corrected BaseDatabaseOperations.datetime_extract/trunc_sql() ↵Tim Graham
docstrings.
2017-02-23Refs #23919 -- Used yield from.Vytis Banaitis
2017-01-28Fixed #27788 -- Dropped support for Oracle < 12.1.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-17Refs #26285 -- Removed MySQL __search lookup per deprecation timeline.Tim Graham
2017-01-17Refs #24154 -- Removed deprecated ↵Tim Graham
BaseDatabaseOperations.check_aggregate_support().
2017-01-16Refs #16614 -- Called _prepare_cursor() on every created cursor.François Freitag
2017-01-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs.
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.
2017-01-06Fixed #27690 -- Removed time.sleep(1) before dropping the test database.David Szotten
Uncertain if this is needed, but no failures have appeared so far.
2016-12-30Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" ↵Andrew Nester
db_table on Oracle.
2016-12-29Fixed #27615 -- Used timedeltas as arguments to Oracle database driver.Mariusz Felisiak
Removed unused DatabaseFeatures.driver_supports_timedeltas workaround.
2016-12-28Fixed #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-19Refs #19884 -- Removed DatabaseFeatures.can_introspect_max_length.Mariusz Felisiak
Unused (always True) after 3e43d24ad36d45cace57e6a7efd34638577ae744.
2016-12-02Fixed #27561 -- Added Oracle support for binary "or" operator.Mariusz Felisiak
Removed DatabaseFeatures.supports_bitwise_or feature (unused, always True).
2016-11-30Refs #24245 -- Added introspection for database defaults on Oracle.Mariusz Felisiak
2016-11-28Fixed #27321 -- Added detection for table case name sensitivity on MySQL.Adam Chainz
2016-11-23Fixed #27504 -- Allowed using the ORM after an error and rollback when ↵Mark Young
autocommit is off.
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-10-14Removed DatabaseFeatures.can_combine_inserts_with_and_without_auto_increment_pk.Tim Graham
Unused (always False) after 29132ebdef0e0b9c09e456b05f0e6a22f1106a4f.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-16Fixed #27235 -- Removed some usage of mutable default arguments.Chris Lamb
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
2016-09-09Fixed #27062 -- Eased implementing select_for_update() on MSSQL.Mikhail Denisenko
2016-09-09Fixed #27195 -- Stopped dropping default when adding a nullable column.Simon Charette
Thanks Rob Golding from Zapier for the report.
2016-09-08Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing.Chris Jerdonek
2016-09-02Fixed #27097 -- Added index type introspection to built-in db backends.Akshesh
2016-08-12Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.Akshesh
2016-08-12Refs #27030 -- Added index type introspection on PostgreSQL.Akshesh
2016-08-12Refs #20888 -- Added index order introspection.Akshesh
2016-08-11Fixed #24442 -- Improved SchemaEditor's index name truncation.Akshesh
2016-08-08Fixed #26500 -- Added SKIP LOCKED support to select_for_update().Simon Charette
Thanks Tim for the review.
2016-08-05Fixed #26808 -- Added Meta.indexes for class-based indexes.Akshesh
* Added the index name to its deconstruction. * Added indexes to sqlite3.schema._remake_table() so that indexes aren't dropped when _remake_table() is called. Thanks timgraham & MarkusH for review and advice.
2016-07-27Fixed #26950 -- Removed obsolete DatabaseOperations SQL methods.Anderson Resende
Unused as of 2b039d966f6e61a5ffb5ffac25aa198f9043de3d.
2016-07-15Refs #26889 -- Refactored SchemaEditor to allow backend specific indexes.Jon Dufresne
2016-07-08Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.Simon Charette
Thanks Tim for the review.
2016-07-08Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.Simon Charette
Thanks Josh for the amazing testing setup and Tim for the review.
2016-07-07Fixed #25317, #26090 -- Fixed swapping combinations of unique and db_index ↵Jon Dufresne
during migrations.
2016-07-07Refs #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-07Fixed #26833 -- Fixed SchemaEditor._constraint_names() to handle ↵Jon Dufresne
features.uppercases_column_names.