diff options
Diffstat (limited to 'django/db/backends/postgresql_psycopg2/creation.py')
| -rw-r--r-- | django/db/backends/postgresql_psycopg2/creation.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql_psycopg2/creation.py b/django/db/backends/postgresql_psycopg2/creation.py index 9573107271..45ce939165 100644 --- a/django/db/backends/postgresql_psycopg2/creation.py +++ b/django/db/backends/postgresql_psycopg2/creation.py @@ -16,6 +16,7 @@ class DatabaseCreation(BaseDatabaseCreation): 'DateField': 'date', 'DateTimeField': 'timestamp with time zone', 'DecimalField': 'numeric(%(max_digits)s, %(decimal_places)s)', + 'DurationField': 'interval', 'FileField': 'varchar(%(max_length)s)', 'FilePathField': 'varchar(%(max_length)s)', 'FloatField': 'double precision', |
