diff options
| author | Tim Graham <timograham@gmail.com> | 2018-06-22 14:42:51 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-06-25 14:01:04 -0400 |
| commit | b9cf764be62e77b4777b3a75ec256f6209a57671 (patch) | |
| tree | d4eb2e5cc340316fa277528044ee35d1ac473dc5 /docs | |
| parent | 741061852851d6aff8e35f46b0e165685d3e79e0 (diff) | |
Fixed #29517 -- Added support for SQLite column check constraints on positive integer fields.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.2.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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: |
