| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 1.1.3 source code.tar.gz | 2026-02-15 | 791.6 kB | |
| 1.1.3 source code.zip | 2026-02-15 | 1.0 MB | |
| README.md | 2026-02-15 | 1.2 kB | |
| Totals: 3 Items | 1.8 MB | 1 | |
Added
RandomHexdialect-awareSqlDefaultsubclass for generating random hex strings across all backends.Meta.constraintssupport on models — namedUniqueConstraintobjects are now captured by the migration autodetector, enablingAddConstraint/RemoveConstraintgeneration viamakemigrations. (#2108)- MySQL schema editor:
_alter_fieldoverride usingMODIFY COLUMNfor NULL/NOT NULL changes; backtick-quotedALTER_FIELD_*templates. - MSSQL schema editor:
_alter_fieldoverride withALTER COLUMNfor nullability, named default constraint management viasys.default_constraints, bracket-quoted templates, and self-referencing FK CASCADE → NO ACTION downgrade.
Fixed
- MySQL migrations:
ALTER COLUMN ... SET NOT NULL/DROP NOT NULLnow correctly emitsMODIFY COLUMN col type NOT NULL/NULL. - MSSQL migrations:
DELETE_CONSTRAINT_TEMPLATEandUNIQUE_CONSTRAINT_CREATE_TEMPLATEnow use bracket quoting[name]instead of double quotes. - MSSQL migrations: self-referencing foreign keys with
CASCADEno longer fail with error 1785; automatically downgraded toNO ACTION.