set all column values to default in a table in mysql code example
Example: altering the column name in MySQL to have a default value
ALTER TABLE table_name ALTER COLUMN column_name SET DEFAULT 'literal';
ALTER TABLE table_name ALTER COLUMN column_name SET DEFAULT 'literal';