I used this for expire field in postgresql
ALTER TABLE sec_sessioninfo ALTER COLUMN expire_at SET DEFAULT CURRENT_TIMESTAMP + INTERVAL '1 HOUR'