mirror of
https://github.com/django/django.git
synced 2025-10-06 00:30:37 +00:00
Moved DatabaseCreation.data_types properties to DatabaseWrapper.
refs #22340.
This commit is contained in:
parent
32ca159c96
commit
93d73dac91
13 changed files with 169 additions and 159 deletions
|
@ -45,7 +45,7 @@ class SQLCommandsTestCase(TestCase):
|
|||
'commands_sql_comment', 'commands_sql_book', 'commands_sql_book_comments'
|
||||
})
|
||||
|
||||
@unittest.skipUnless('PositiveIntegerField' in connections[DEFAULT_DB_ALIAS].creation.data_type_check_constraints, 'Backend does not have checks.')
|
||||
@unittest.skipUnless('PositiveIntegerField' in connections[DEFAULT_DB_ALIAS].data_type_check_constraints, 'Backend does not have checks.')
|
||||
def test_sql_create_check(self):
|
||||
"""Regression test for #23416 -- Check that db_params['check'] is respected."""
|
||||
app_config = apps.get_app_config('commands_sql')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue