how to default column 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';