mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
[1.7.x] Fixed #23416 -- Make sure DatabaseCreation respects checks.
Migrations respected Field.db_parameters()['check'], but
DatabaseCreation was still using just Field.db_type().
Backport of 14c8456
from master
This commit is contained in:
parent
f8fdb7177b
commit
48e1071007
4 changed files with 21 additions and 1 deletions
|
@ -8,3 +8,4 @@ class Comment(models.Model):
|
|||
class Book(models.Model):
|
||||
title = models.CharField(max_length=100, db_index=True)
|
||||
comments = models.ManyToManyField(Comment)
|
||||
counter = models.PositiveIntegerField()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue