본문 바로가기

내가 당면한 문제와 해결방안

postgresql create date column with default value

alter table 테이블이름 add column "updated_at" TIMESTAMP default now()::timestamp

'내가 당면한 문제와 해결방안' 카테고리의 다른 글

elasticsearch envelope search in postgis  (0) 2020.02.21
sql 문  (2) 2020.02.03
git  (0) 2020.01.28
term 정리  (0) 2020.01.22
upgrade postgresl 9.2 -> 12  (0) 2020.01.22