summaryrefslogtreecommitdiff
path: root/django/db/backends
AgeCommit message (Collapse)Author
2014-09-26Fixed #22738 -- Abstracted boolean field type introspectionClaude Paroz
Thanks maxi for the report, Shai Berger for his help with the patch and Tim Graham for the review.
2014-09-26Factorized schema_editor() at BaseDatabaseWrapper levelClaude Paroz
2014-09-25Fixed #23538 -- Added SchemaEditor for MySQL GIS.Tim Graham
Thanks Claude Paroz for suggestions and review.
2014-09-24Fixed flake8 warnings.Tim Graham
2014-09-24Changed Oracle test-user creation to grant privileges instead of rolesShai Berger
because the roles (specifically RESOURCE) are deprecated. Also added optional support for creating views in tests, and made an introspection test fail (rather than skip) if a view cannot be created due to lacking privileges. Refs #18782 Thanks Tim Graham for review, and Josh Smeaton
2014-09-23Fixed #18782 -- Prevented sql_flush to flush viewsClaude Paroz
Thanks rodolfo_3 for the report and the initial patch, and Josh Smeaton, Shai Berger and Tim Graham for the reviews.
2014-09-23Made get_table_list return a TableInfo named tupleClaude Paroz
2014-09-23Fixed #23503 -- Fixed renaming of model with self-referential m2m field.Sergey Fedoseev
2014-09-23Fixed #23065 -- Quoted constraint names in SQL generated by migrations.Sergey Fedoseev
2014-09-23Factored create_fk_sql, create_unique_sql, and delete_constraint_sql.Sergey Fedoseev
2014-09-17Fixed #21775 -- Allowed customization of datafile for Oracle tablespaceJosh Smeaton
2014-09-16Fixed #19463 -- Added UUIDFieldMarc Tamlyn
Uses native support in postgres, and char(32) on other backends.
2014-09-13Factorized create_index_sql expressionClaude Paroz
2014-09-08Fixed #23434 -- Coerce Oracle bool params to intJosh Smeaton
2014-09-06Fixed #23416 -- Make sure DatabaseCreation respects checks.Marc Tamlyn
Migrations respected Field.db_parameters()['check'], but DatabaseCreation was still using just Field.db_type().
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-09-03Fixed #18757, #14462, #21565 -- Reworked database-python type conversionsMarc Tamlyn
Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews.
2014-08-27Fixed #23357 -- Added small int introspection support to MySQL backend.Jon Dufresne
In the MySQL backend, updated the can_introspect_small_integer feature flag to True. In data_types_reverse, map FIELD_TYPE.SHORT to a SmallIntegerField. Added test to verify introspecting SmallIntegerFields and fixed existing tests influenced by this change.
2014-08-25Made main user disconnect after creating test user/tablespaces on OracleShai Berger
2014-08-22Added docstring forgotten in 56252e7.Shai Berger
2014-08-22Fixed schema test for Oracle 11.2.0.1 which is used in Django Project's CI.Shai Berger
Refs #23073 Workaround. Refs #22738 Repeats the mysql "offense". When the issue is solved, the Oracle special case should be made to play with the solution (that is, Oracle should be fixed the same way that mysql and the 3rd-party backneds are).
2014-08-19Replaced HAS_SPATIAL_DB by testing database featureClaude Paroz
Refs #22632. This should be the base for using more database features to exclude specific backends in GIS tests. Thanks Tim Graham for the review.
2014-08-13Fixed #22646: Added support for the MySQL ssl-ca option to dbshell.zsoldosp
2014-08-10Made sqlite's remove_field behave like the base backend.Florian Apolloner
2014-08-09Removed unused migrate optionClaude Paroz
2014-08-09Fixed #23264: Schema backends honour db_constraintAndrew Godwin
2014-08-07Moved index dropping after FK dropping to please MySQL and fix testAndrew Godwin
2014-08-06Fixed #21603 -- Fixed complex RawQuerySets queries on some versions of SQLite.Alex Hill
2014-08-05Fixed #23061: Avoided setting a limit on a query for get with ↵Shai Berger
select_for_update on Oracle Thanks Michael Miller for reporting the issue.
2014-08-04Fixed #22234 -- Replaced OS-specific code with subprocess.call() in dbshell.Mihail Milushev
This fixes escaping of special characters on Windows.
2014-08-04Fixed #23091: CreateModel and AddField were clashing with deferred SQLAndrew Godwin
2014-08-02Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.Tim Graham
2014-08-01Fixed #23145 -- Dropped support for Oracle < 11.1Tim Graham
2014-08-01Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.Tim Graham
Thanks Claude Paroz for the review.
2014-07-28Fixed #23074 -- Avoided leaking savepoints in atomic.Aymeric Augustin
Thanks Chow Loong Jin for the report and the initial patch.
2014-07-26Fixed #22873 -- Renamed use_debug_cursor to force_debug_cursor to clarify ↵areski
the behavior.
2014-07-25Fixed #23085: Better error message for PostGIS 1.5/bad custom fieldsAndrew Godwin
2014-07-23Fixed #23030 -- Properly handled geometry columns metadata during migrationsClaude Paroz
Thanks kunitoki for the report and initial patches.
2014-07-21Fixed #23014: Renaming not atomic with unique togetherAndrew Godwin
2014-07-21Fixed #23009: Shorten FK identifiers in add_field and make consistentAndrew Godwin
2014-07-21Fixed #22975: Don't call rename SQL if not neededAndrew Godwin
2014-07-21Fixed #23039: Don't try to serialize unmanaged models in testsAndrew Godwin
2014-07-21Fixed #23043: alter_field drops defaults tooAndrew Godwin
2014-07-14Fixed name of database connection featureShai Berger
2014-06-23Fixed #22487: Don't flush out data from before normal TestCasesAndrew Godwin
2014-06-23Fixed problem introduced with #refs 13711.Anubhav Joshi
2014-06-20Fixed #22514 -- Prevented indexes on virtual fields [postgres].Vlastimil Zíma
2014-06-17Fixed #13711 -- Model check added to ensure that auto-generated column name ↵Anubhav Joshi
is within limits of the database. Thanks russellm for report and Tim Graham for review.
2014-06-16Fixed #22851: BinaryView wasn't getting a binary defaultAndrew Godwin
2014-06-16Renamed DatabaseFeature.supports_check_constraints to ↵Tim Graham
supports_column_check_constraints. Thanks maxi for the suggestion.