Opened 6 years ago
Closed 6 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 , 6 years ago
| Easy pickings: | unset |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
| Summary: | Feature Request: Throw warning when field length is greater than max_length in sqlite3 → Throw warning when field length is greater than max_length in SQLite. |
Note:
See TracTickets
for help on using tickets.
Duplicate of #21471.