mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user