summaryrefslogtreecommitdiff
path: root/tests/inspectdb
Commit message (Collapse)AuthorAgeFilesLines
* Refs #34381 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper() ↵David Smith2023-03-061-13/+10
| | | | on Windows.
* Fixed #14094 -- Added support for unlimited CharField on PostgreSQL.Adrian Torres2022-12-282-0/+14
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul2022-12-282-0/+26
| | | | | | | | 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>
* Refs #33308 -- Added DatabaseOperations.compose_sql() on PostgreSQL.Florian Apolloner2022-12-121-10/+12
|
* Fixed #33823 -- Made inspectdb generate unique related_name when reverse ↵Vladimir Kochetkov2022-07-062-0/+10
| | | | accessor clashes.
* Refs #32234 -- Removed hardcoded IntegerField in inspectdb test.Tim Graham2022-06-011-1/+2
|
* Fixed #32234 -- Made inspectdb inform about composite primary keys.Anv3sh2022-06-011-0/+29
|
* Fixed #33643 -- Fixed inspectdb crash on functional unique constraints on ↵Scott2022-04-162-0/+21
| | | | Oracle.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-6/+15
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-175/+274
|
* Fixed inspectdb.tests.InspectDBTestCase.test_custom_fields() on SQLite 3.37+.Mariusz Felisiak2021-12-091-6/+5
| | | | Use FlexibleFieldLookupDict which is case-insensitive mapping because SQLite 3.37+ returns some data type names upper-cased e.g. TEXT.
* Fixed #33187 -- Made inspectdb handle ForeignKey.to_field attribute.jordan.bae2021-11-022-0/+16
|
* Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak2021-01-191-1/+0
|
* Optimized inspectdb tests by specifying database tables/views.Nick Pope2020-10-161-5/+34
|
* Fixed #32073 -- Skipped collation tests on PostgreSQL < 10.Mariusz Felisiak2020-10-061-0/+2
| | | | | PostgreSQL < 10 doesn't support ICU collations. Thanks Hannes Ljungberg for the report.
* Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick2020-09-212-2/+54
| | | | Thanks Simon Charette and Mariusz Felisiak for reviews.
* Fixed #31736 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper ↵Ahmad A. Hussein2020-06-231-2/+3
| | | | crash on Windows.
* Refs #31630 -- Added CharField and IntegerField to ↵Tim Graham2020-06-041-15/+26
| | | | | | | DatabaseFeatures.introspected_field_types. CockroachDB introspects CharField as TextField and IntegerField as BigIntegerField.
* Refs #31630 -- Removed DatabaseFeatures.can_introspect_autofield.Tim Graham2020-06-041-2/+3
|
* Fixed #31630 -- Replaced introspection features with ↵Hasan Ramezani2020-06-041-39/+11
| | | | DatabaseFeatures.introspected_field_types.
* Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne2020-05-111-1/+1
| | | | | The method has been available since Python 3.6. The shorter syntax is also marginally faster.
* Fixed #12990, Refs #27694 -- Added JSONField model field.sage2020-05-082-0/+20
| | | | | | | | | | | 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 #30987 -- Added models.PositiveBigIntegerField.Caio Ariede2019-11-192-0/+9
|
* Used re.Pattern.findall() instead of re.findall() in inspectdb.tests.Jon Dufresne2019-05-241-2/+2
|
* Fixed #30388 -- Made inspectdb generate OneToOneFields rather than ↵Ville Skyttä2019-04-251-2/+2
| | | | ForeignKey(unique/primary_key=True).
* Refs #29004 -- Prevented inspectdb tests from flushing all tables data.Simon Charette2018-12-241-1/+1
| | | | This is a costly operation on most database backends.
* Refs #29722 -- Added introspection of materialized views for Oracle.Mariusz Felisiak2018-11-261-5/+5
| | | Thanks Tim Graham for the review.
* Fixed #29949 -- Refactored db introspection identifier converters.Mariusz Felisiak2018-11-211-1/+1
| | | | | | | | | 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.
* Refs #29722 -- Added introspection of partitions for PostgreSQL.Nick Pope2018-11-191-0/+34
|
* Capitalized "Python" in docs and comments.Jon Dufresne2018-10-091-1/+1
|
* Refs #29722 -- Added introspection of materialized views for PostgreSQL.Nick Pope2018-10-021-0/+24
|
* Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.Nick Pope2018-10-021-0/+29
| | | | Thanks infinite-l00p for the initial patch.
* Fixed #27533 -- Fixed inspectdb crash if a unique constraint uses an ↵Michael Sinov2018-03-212-2/+27
| | | | unsupported type.
* Fixed too many parentheses in inspectdb Meta.unique_together output.Tim Graham2018-03-211-0/+1
| | | | Regression in c76d87427d70f6c91ab855ed688828aa982720d2.
* Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than ↵Tim Graham2018-03-201-10/+2
| | | | NullBooleanField.
* Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham2018-03-201-1/+1
| | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
* Removed DatabaseFeatures.can_introspect_null.Tim Graham2018-03-161-4/+1
| | | | The only known usage is in the unmaintained django-pymssql project.
* Refs #29004 -- Optimized InspectDBTransactionalTests.test_include_views() by ↵Mariusz Felisiak2018-03-121-2/+2
| | | | limiting introspected tables.
* Added functions for inspectdb table filtering in tests.Tim Graham2018-03-121-16/+16
|
* Fixed #29004 -- Added inspectdb --include-views option.bquinn2018-01-271-3/+31
|
* Fixed #28984 -- Made assorted code simplifications.Tim Graham2018-01-031-1/+1
|
* Removed unneeded force_text calls in the test suiteClaude Paroz2017-01-241-2/+1
|
* Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham2017-01-201-2/+2
|
* Fixed spelling mistakes in code and comments.james mike dupont2017-01-192-3/+3
|
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-1/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-6/+2
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-6/+0
|
* Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham2017-01-172-2/+0
|
* Fixed #27700 -- Optimized inspectdb tests by specifying database tables.Mariusz Felisiak2017-01-071-19/+7
|
* Refs #19884 -- Removed DatabaseFeatures.can_introspect_max_length.Mariusz Felisiak2016-12-191-18/+8
| | | Unused (always True) after 3e43d24ad36d45cace57e6a7efd34638577ae744.