Opened 8 years ago

Closed 8 years ago

#27195 closed Cleanup/optimization (fixed)

Avoid unnecessary DROP DEFAULT when adding a NULLable column.

Reported by: Simon Charette Owned by: Simon Charette
Component: Migrations Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The schema editor shouldn't issue an ALTER TABLE foo ALTER COLUMN bar DROP DEFAULT query if a NULL able column is added.

Change History (3)

comment:1 by Simon Charette, 8 years ago

comment:2 by Tim Graham, 8 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 by Simon Charette <charette.s@…>, 8 years ago

Resolution: fixed
Status: newclosed

In aca939b:

Fixed #27195 -- Stopped dropping default when adding a nullable column.

Thanks Rob Golding from Zapier for the report.

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