there is an addDefaultValue and dropDefaultValue. Looks like modifyDefaultValue got missed, though.
Nathan
there is an addDefaultValue and dropDefaultValue. Looks like modifyDefaultValue got missed, though.
Nathan
Hi,
in older days, there was changeColumn, but this has been deprecated in favor of modifyDataType, which only lets one change the datatype.
Is there a controlled way (without using ) to change the default value for a given column?
Thanks,
Philipp
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| modifyColumn deprecated, why? | 1 | 464 | February 16, 2021 | |
| MySQL addColumn defaultValue="0" | 1 | 450 | October 25, 2014 | |
| Confused about modifyColumn | 1 | 345 | October 2, 2009 | |
| [2.0.1] MSSQL dropColumn with default value set | 3 | 1006 | December 14, 2011 | |
| modifyColumn vs modifyDataType | 2 | 1786 | March 21, 2011 |