From b9cf764be62e77b4777b3a75ec256f6209a57671 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 22 Jun 2018 14:42:51 -0400 Subject: Fixed #29517 -- Added support for SQLite column check constraints on positive integer fields. --- docs/releases/2.2.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 8bcb3a113a..840d4b4d0d 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -218,7 +218,10 @@ Database backend API Miscellaneous ------------- -* ... +* On SQLite, ``PositiveIntegerField`` and ``PositiveSmallIntegerField`` now + include a check constraint to prevent negative values in the database. If you + have existing invalid data and run a migration that recreates a table, you'll + see ``CHECK constraint failed``. .. _deprecated-features-2.2: -- cgit v1.3