Skip to content

Commit 3f5cd07

Browse files
timgrahamodeke-em
andauthored
django: remove unused DatabaseWrapper.data_types_check_constraints (#441)
The proper name is data_type_check_constraints (no 's' after type) but Spanner doesn't have check constraints anyway. Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
1 parent 4b5a791 commit 3f5cd07

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • packages/django-google-spanner/django_spanner

packages/django-google-spanner/django_spanner/base.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ class DatabaseWrapper(BaseDatabaseWrapper):
5252
'TimeField': 'TIMESTAMP',
5353
'UUIDField': 'STRING(32)',
5454
}
55-
56-
# TODO: (@odeke-em) examine Spanner's data type constraints.
57-
data_types_check_constraints = {
58-
}
59-
6055
operators = {
6156
'exact': '= %s',
6257
'iexact': 'REGEXP_CONTAINS(%s, %%%%s)',

0 commit comments

Comments
 (0)