tutor/postgres/002-card-creation-date.sql

2 lines
98 B
SQL

ALTER TABLE "copies"
ADD COLUMN IF NOT EXISTS "created_date" TIMESTAMP DEFAULT CURRENT_TIMESTAMP;