Check out example codes for "POSTGRES INTEGER SET DEFAULT VALUE". It will help you in understanding the concepts better.

Code Example 1

score INTEGER DEFAULT 1
/* The variable name is score, and the default value for it is 1 */

Code Example 2

ALTER TABLE ONLY users ALTER COLUMN lang SET DEFAULT 'en_GB';

Learn ReactJs, React Native from akashmittal.com