open-bounty/resources/migrations/20170224164317-pr-updated-c...

5 lines
183 B
SQL

ALTER TABLE "public"."pull_requests"
ADD COLUMN "updated" timestamp without time zone DEFAULT timezone('utc'::text, now()),
ADD COLUMN "issue_id" integer,
ADD UNIQUE ("pr_id");