Skip to content

Commit

Permalink
Checking if these lines are tested
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jun 9, 2017
1 parent 0130761 commit 9ef5360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/db/backends/oracle/base.py
Expand Up @@ -110,8 +110,8 @@ class DatabaseWrapper(BaseDatabaseWrapper):
'UUIDField': 'VARCHAR2(32)',
}
data_type_check_constraints = {
'BooleanField': '%(qn_column)s IN (0,1)',
'NullBooleanField': '(%(qn_column)s IN (0,1)) OR (%(qn_column)s IS NULL)',
# 'BooleanField': '%(qn_column)s IN (0,1)',
# 'NullBooleanField': '(%(qn_column)s IN (0,1)) OR (%(qn_column)s IS NULL)',
'PositiveIntegerField': '%(qn_column)s >= 0',
'PositiveSmallIntegerField': '%(qn_column)s >= 0',
}
Expand Down

0 comments on commit 9ef5360

Please sign in to comment.