Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 3345933

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 b0afec5 commit 3345933

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

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)