mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refs #24245 -- Added introspection for database defaults on Oracle.
This commit is contained in:
committed by
Tim Graham
parent
6f43b2b8a5
commit
e17f40f4b5
@@ -1,6 +1,5 @@
|
||||
import re
|
||||
import warnings
|
||||
from collections import namedtuple
|
||||
|
||||
from django.db.backends.base.introspection import (
|
||||
BaseDatabaseIntrospection, FieldInfo, TableInfo,
|
||||
@@ -8,7 +7,6 @@ from django.db.backends.base.introspection import (
|
||||
from django.utils.deprecation import RemovedInDjango21Warning
|
||||
|
||||
field_size_re = re.compile(r'^\s*(?:var)?char\s*\(\s*(\d+)\s*\)\s*$')
|
||||
FieldInfo = namedtuple('FieldInfo', FieldInfo._fields + ('default',))
|
||||
|
||||
|
||||
def get_field_size(name):
|
||||
|
||||
Reference in New Issue
Block a user