postgresql timestamp default now code example
Example 1: timestamp(0) postgresql
(now())::timestamp(0))
Example 2: POSTGRES INTEGER SET DEFAULT VALUE
score INTEGER DEFAULT 1
/* The variable name is score, and the default value for it is 1 */
(now())::timestamp(0))
score INTEGER DEFAULT 1
/* The variable name is score, and the default value for it is 1 */