Check out example codes for "how to add default constraint in mysql". It will help you in understanding the concepts better.

Code Example 1

Name Varchar(255) default "Fred"

Code Example 2

ALTER TABLE "name_table" ALTER "name_column" 
SET DEFAULT value_default;

Learn ReactJs, React Native from akashmittal.com