Check out example codes for "mysql add column default value". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table1 ADD COLUMN foo INT DEFAULT 0;

Learn ReactJs, React Native from akashmittal.com