postgresql make column have a default value if none provided code example
Example: POSTGRES INTEGER SET DEFAULT VALUE
score INTEGER DEFAULT 1
/* The variable name is score, and the default value for it is 1 */
score INTEGER DEFAULT 1
/* The variable name is score, and the default value for it is 1 */