Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | 2022-12-28 | 1 | -6/+19 |
| | | | | | | | | 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 | -1/+2 |
| | | | internal_size is size for fixed-size types not for char types. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -1/+2 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -93/+112 |
| | |||||
* | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | 2022-02-03 | 1 | -10/+25 |
| | | | | | | | | | | | | | | | | | 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 | -16/+7 |
| | | | 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 #33017 -- Fixed storage engine introspection on MySQL. | Matjaz Gregoric | 2021-08-20 | 1 | -4/+7 |
| | | | | | | This also improves performance on MySQL instances with a large number of databases, since querying the information_schema table can be very slow | ||||
* | Fixed #30916 -- Added support for functional unique constraints. | Hannes Ljungberg | 2021-02-23 | 1 | -1/+1 |
| | | | | Thanks Ian Foote and Mariusz Felisiak for reviews. | ||||
* | Simplified introspection of constraints on MySQL. | Hannes Ljungberg | 2021-02-12 | 1 | -20/+11 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #32342 -- Added index order introspection on MySQL 8.0.1+. | Mariusz Felisiak | 2021-01-11 | 1 | -1/+9 |
| | |||||
* | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | 2020-09-21 | 1 | -2/+21 |
| | | | | Thanks Simon Charette and Mariusz Felisiak for reviews. | ||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 1 | -1/+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> | ||||
* | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | 2020-02-04 | 1 | -1/+1 |
| | |||||
* | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | 2019-11-19 | 1 | -1/+3 |
| | |||||
* | Fixed #30750 -- Added support for check constraints on MySQL 8.0.16+. | Mariusz Felisiak | 2019-09-05 | 1 | -7/+21 |
| | |||||
* | Refs #30591 -- Fixed introspection of check and unique column constraints on ↵ | Mariusz Felisiak | 2019-08-26 | 1 | -1/+9 |
| | | | | | | | | MariaDB. Unnamed unique and check columns constraints have the same name as a column. Ensure uniqueness by using custom names. Thanks Adnan Umer for the report. | ||||
* | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | 2019-08-02 | 1 | -0/+2 |
| | |||||
* | Refs #30593 -- Fixed introspection of check constraints columns on MariaDB. | Hasan Ramezani | 2019-07-30 | 1 | -3/+8 |
| | |||||
* | Refs #30593 -- Added _parse_constraint_columns() hook to introspection on ↵ | Hasan Ramezani | 2019-07-30 | 1 | -7/+10 |
| | | | | MariaDB. | ||||
* | Fixed #30593 -- Added support for check constraints on MariaDB 10.2+. | Hasan Ramezani | 2019-07-19 | 1 | -0/+26 |
| | |||||
* | Renamed import in MySQL introspection backend for consistency. | Nick Pope | 2019-01-09 | 1 | -2/+2 |
| | |||||
* | Fixed #29480 -- Made MySQL backend retrieve constraint columns in their ↵ | Thomas Grainger | 2018-06-29 | 1 | -0/+1 |
| | | | | defined order. | ||||
* | Refs #28909 -- Simplifed code using unpacking generalizations. | Nick Pope | 2017-12-21 | 1 | -16/+11 |
| | |||||
* | Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation ↵ | Tim Graham | 2017-09-22 | 1 | -29/+0 |
| | | | | timeline. | ||||
* | Refs #27090 -- Added real database sequence introspection. | Mariusz Felisiak | 2017-09-13 | 1 | -0/+7 |
| | | | | Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review. | ||||
* | Fixed #24365 -- Made inspectdb translate MySQL unsigned integer columns to ↵ | Mariusz Felisiak | 2017-03-08 | 1 | -5/+15 |
| | | | | positive integer fields. | ||||
* | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | 2017-03-04 | 1 | -2/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -9/+9 |
| | |||||
* | Fixed #27135 -- Made index introspection return Index.suffix. | Tim Graham | 2017-02-15 | 1 | -1/+2 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #24245 -- Added introspection for database defaults on Oracle. | Mariusz Felisiak | 2016-11-30 | 1 | -2/+2 |
| | |||||
* | Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexes | Claude Paroz | 2016-09-12 | 1 | -0/+6 |
| | | | | | 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 | -2/+2 |
| | |||||
* | Fixed W503 flake8 warnings. | Tim Graham | 2016-04-04 | 1 | -8/+12 |
| | |||||
* | Fixed #24653 -- Fixed MySQL database introspection when using read_default_file. | zshimanchik | 2016-02-26 | 1 | -4/+4 |
| | |||||
* | Fixed #26125 -- Fixed E731 flake warnings. | userimack | 2016-01-25 | 1 | -1/+4 |
| | |||||
* | Fixed #14286 -- Added models.BigAutoField. | Alexander Sosnovskiy | 2015-12-25 | 1 | -2/+6 |
| | |||||
* | Removed unused foreign_key_re variables in MySQL/Oracle DB backends | Adam Chainz | 2015-02-18 | 1 | -2/+0 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -4/+4 |
| | |||||
* | Fixed #24245 -- Added introspection for database defaults. | Tim Graham | 2015-01-31 | 1 | -5/+6 |
| | | | | Needed for tests for migrations handling of database defaults. | ||||
* | Fixed #22603 -- Reorganized classes in django.db.backends. | Tim Graham | 2015-01-14 | 1 | -2/+6 |
| | |||||
* | Fixed #17785 -- Preferred column names in get_relations introspection | Claude Paroz | 2015-01-12 | 1 | -13/+3 |
| | | | | | Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review. | ||||
* | Fixed #14180 -- Prevented unneeded index creation on MySQL-InnoDB | Claude Paroz | 2014-12-27 | 1 | -2/+6 |
| | | | | | Thanks zimnyx for the report and Simon Charette, Tim Graham for the reviews. | ||||
* | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | 2014-12-08 | 1 | -2/+2 |
| | | | | comprehension | ||||
* | Added AutoField introspection for MySQL | Claude Paroz | 2014-11-20 | 1 | -18/+31 |
| | | | | Refs #23748. | ||||
* | Fixed #23538 -- Added SchemaEditor for MySQL GIS. | Tim Graham | 2014-09-25 | 1 | -0/+10 |
| | | | | Thanks Claude Paroz for suggestions and review. | ||||
* | Made get_table_list return a TableInfo named tuple | Claude Paroz | 2014-09-23 | 1 | -4/+7 |
| | |||||
* | Fixed #23357 -- Added small int introspection support to MySQL backend. | Jon Dufresne | 2014-08-27 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | Remove some unnecesary uses of bool | Alex Gaynor | 2013-10-17 | 1 | -1/+1 |
| |