Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #470 -- Added support for database defaults on fields. | Ian Foote | 2023-05-12 | 1 | -1/+1 |
| | | | | | | | | Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews. | ||||
* | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | 2022-12-28 | 1 | -8/+32 |
| | | | | | | | | Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | ||||
* | Made inspectdb used Cursor.description.display_size for CharFields' max_length. | Mariusz Felisiak | 2022-12-08 | 1 | -6/+7 |
| | | | internal_size is size for fixed-size types not for char types. | ||||
* | Used more augmented assignment statements. | Nick Pope | 2022-10-31 | 1 | -1/+1 |
| | | | | | | Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | ||||
* | Fixed #32234 -- Made inspectdb inform about composite primary keys. | Anv3sh | 2022-06-01 | 1 | -5/+5 |
| | |||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -7/+20 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -75/+108 |
| | |||||
* | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | 2022-02-03 | 1 | -12/+30 |
| | | | | | | | | | | | | | | | | | In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | ||||
* | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | 2021-11-10 | 1 | -14/+0 |
| | | | Thanks Simon Charette for the report. | ||||
* | Fixed DatabaseIntrospection.get_relations() docstring. | Tim Graham | 2021-11-10 | 1 | -1/+1 |
| | | | The foreign keys are "in" the given table, not "to" it. | ||||
* | Fixed #30916 -- Added support for functional unique constraints. | Hannes Ljungberg | 2021-02-23 | 1 | -3/+4 |
| | | | | Thanks Ian Foote and Mariusz Felisiak for reviews. | ||||
* | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | 2020-09-21 | 1 | -10/+19 |
| | | | | Thanks Simon Charette and Mariusz Felisiak for reviews. | ||||
* | Fixed #31751 -- Fixed database introspection with cx_Oracle 8. | Mariusz Felisiak | 2020-06-30 | 1 | -16/+35 |
| | |||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 1 | -6/+19 |
| | | | | | | | | | | | Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | 2019-08-02 | 1 | -0/+2 |
| | |||||
* | Optimized Oracle PKs introspection by adding get_primary_key_column(). | Mariusz Felisiak | 2019-01-18 | 1 | -0/+16 |
| | |||||
* | Refs #29722 -- Added introspection of materialized views for Oracle. | Mariusz Felisiak | 2018-11-26 | 1 | -2/+14 |
| | | | Thanks Tim Graham for the review. | ||||
* | Fixed #29949 -- Refactored db introspection identifier converters. | Mariusz Felisiak | 2018-11-21 | 1 | -11/+22 |
| | | | | | | | | | 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. | ||||
* | Fixed #29870 -- Added DurationField introspection for Oracle and PostgreSQL. | Mariusz Felisiak | 2018-10-21 | 1 | -0/+1 |
| | | | Thanks Tim Graham for the review. | ||||
* | Refs #28909 -- Simplifed code using unpacking generalizations. | Nick Pope | 2017-12-21 | 1 | -7/+4 |
| | |||||
* | Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation ↵ | Tim Graham | 2017-09-22 | 1 | -36/+0 |
| | | | | timeline. | ||||
* | Refs #27090 -- Added real database sequence introspection. | Mariusz Felisiak | 2017-09-13 | 1 | -0/+28 |
| | | | | Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review. | ||||
* | Fixed #28364 -- Removed redundant table joins in Oracle's ↵ | Mariusz Felisiak | 2017-07-06 | 1 | -8/+2 |
| | | | | DatabaseIntrospection.get_relations(). | ||||
* | Removed obsolete comment about IntegerField introspection on Oracle. | Mariusz Felisiak | 2017-07-04 | 1 | -1/+0 |
| | | | | Obsolete since e9d12bae1e59e51738c11c492c620f56f96106bf. | ||||
* | Fixed #28258 -- Optimized Oracle introspection by using LISTAGG. | Mariusz Felisiak | 2017-06-02 | 1 | -63/+42 |
| | | | | Thanks Tim Graham and Jani Tiainen for reviews. | ||||
* | Refs #26682 -- Added AutoField introspection on Oracle. | Mariusz Felisiak | 2017-06-01 | 1 | -7/+16 |
| | |||||
* | Removed unused DatabaseIntrospection._name_to_index() from Oracle backend. | Mariusz Felisiak | 2017-04-18 | 1 | -7/+0 |
| | | | Unused since its introduction in cac7675f247da325cb862a312804fe64845d1155. | ||||
* | Refs #27795 -- Removed unneeded force_text calls from the Oracle backend. | Mariusz Felisiak | 2017-04-17 | 1 | -2/+1 |
| | |||||
* | Fixed #27924 -- Added support for cx_Oracle 5.3. | Mariusz Felisiak | 2017-03-10 | 1 | -1/+7 |
| | | | | | | | - Fixed Oracle backend due to cx_Oracle 5.3 change in the Cursor.description behavior i.e. "Use None instead of 0 for items in the Cursor.description attribute that do not have any validity.". - Used cx_Oracle.Object.size() instead of len(). Thanks Tim Graham for the review. | ||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -8/+10 |
| | |||||
* | Fixed #27135 -- Made index introspection return Index.suffix. | Tim Graham | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | Fixed #27822 -- Replaced deprecated cx_Oracle types in ↵ | Mariusz Felisiak | 2017-02-09 | 1 | -10/+3 |
| | | | | DatabaseIntrospection.data_types_reverse. | ||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed misc references to Python 2. | Tim Graham | 2017-01-21 | 1 | -1/+1 |
| | |||||
* | Refs #19884 -- Added CharField max_length introspection on Oracle. | Mariusz Felisiak | 2016-12-19 | 1 | -5/+13 |
| | |||||
* | Refs #27324 -- Optimized DatabaseIntrospection.get_constraints() for foreign ↵ | Mariusz Felisiak | 2016-12-05 | 1 | -4/+2 |
| | | | | keys on Oracle. | ||||
* | Refs #24245 -- Added introspection for database defaults on Oracle. | Mariusz Felisiak | 2016-11-30 | 1 | -1/+9 |
| | |||||
* | Fixed #27324 -- Simplified DatabaseIntrospection.get_constraints() on Oracle. | Mariusz Felisiak | 2016-10-14 | 1 | -39/+17 |
| | |||||
* | Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexes | Claude Paroz | 2016-09-12 | 1 | -0/+7 |
| | | | | | Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review. | ||||
* | Fixed #27097 -- Added index type introspection to built-in db backends. | Akshesh | 2016-09-02 | 1 | -6/+7 |
| | |||||
* | Refs #20888 -- Added index order introspection. | Akshesh | 2016-08-12 | 1 | -2/+4 |
| | |||||
* | Removed unused foreign_key_re variables in MySQL/Oracle DB backends | Adam Chainz | 2015-02-18 | 1 | -4/+0 |
| | |||||
* | Fixed #24200 -- Made introspection bypass statement cache | Josh Smeaton | 2015-02-10 | 1 | -1/+6 |
| | |||||
* | Fixed #22603 -- Reorganized classes in django.db.backends. | Tim Graham | 2015-01-14 | 1 | -1/+3 |
| | |||||
* | Fixed test failures in Oracle introspection | Shai Berger | 2015-01-13 | 1 | -1/+1 |
| | | | | Refs #17785 | ||||
* | Fixed #17785 -- Preferred column names in get_relations introspection | Claude Paroz | 2015-01-12 | 1 | -3/+3 |
| | | | | | Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review. | ||||
* | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | 2014-12-08 | 1 | -1/+1 |
| | | | | comprehension | ||||
* | Made get_table_list return a TableInfo named tuple | Claude Paroz | 2014-09-23 | 1 | -4/+7 |
| | |||||
* | Made Oracle introspect FloatFields correctly | Shai Berger | 2014-01-30 | 1 | -10/+13 |
| | | | | | | | | | | Broke InspectDBTestCase.test_field_types in two: - a test_number_field_types, which now passes on Oracle too - a test_field_types, for all non-numeric fields, which is still expected to fail Also made some pep8 fixes in the tests file. Refs #19884 Thanks Tim Graham for review. | ||||
* | Made Oracle introspect boolean fields | Shai Berger | 2014-01-29 | 1 | -0/+2 |
| | | | | | Fixed failing test schema.tests.SchemaTests.test_add_field_temp_default_boolean Refs #19884 |