mirror of
https://github.com/django/django.git
synced 2025-09-08 03:30:48 +00:00
Fixed #14286 -- Added models.BigAutoField.
This commit is contained in:
parent
a1d0c60fa0
commit
2a7ce34600
19 changed files with 260 additions and 20 deletions
|
@ -72,6 +72,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
|
|||
# If a column type is set to None, it won't be included in the output.
|
||||
data_types = {
|
||||
'AutoField': 'serial',
|
||||
'BigAutoField': 'bigserial',
|
||||
'BinaryField': 'bytea',
|
||||
'BooleanField': 'boolean',
|
||||
'CharField': 'varchar(%(max_length)s)',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue