Opened 5 years ago

Closed 5 years ago

#31113 closed Cleanup/optimization (duplicate)

Throw warning when field length is greater than max_length in SQLite.

Reported by: Matt Carpenter Owned by: nobody
Component: Database layer (models, ORM) Version: 3.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The max_length constraint is not enforced by sqlite3. When adding data that is larger than the specified max_length, a warning should be thrown.

Change History (1)

comment:1 by Mariusz Felisiak, 5 years ago

Easy pickings: unset
Resolution: duplicate
Status: newclosed
Summary: Feature Request: Throw warning when field length is greater than max_length in sqlite3Throw warning when field length is greater than max_length in SQLite.

Duplicate of #21471.

Note: See TracTickets for help on using tickets.
Back to Top