mysql alter table change default value for a column 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';