mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #23416 -- Make sure DatabaseCreation respects checks.
Migrations respected Field.db_parameters()['check'], but DatabaseCreation was still using just Field.db_type().
This commit is contained in:
parent
e5febfb3c3
commit
14c8456ffe
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