Check out example codes for "altering the column name in MySQL to have a default value". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name ALTER COLUMN column_name SET DEFAULT 'literal';

Learn ReactJs, React Native from akashmittal.com