change_default(column_name, default) public

Sets a new default value for a column. See SchemaStatements#change_column_default

Examples
 t.change_default(:qualification, 'new')
 t.change_default(:authorized, 1)
Show source
Register or log in to add new notes.