open-bounty/resources/migrations/20170226162507-issues-updat...

6 lines
272 B
MySQL
Raw Normal View History

ALTER TABLE "public"."issues" ADD COLUMN "updated" timestamp without time zone DEFAULT timezone('utc'::text, now());
ALTER TABLE "public"."issues" RENAME COLUMN "commit_id" TO "commit_sha";
ALTER TABLE "public"."pull_requests" RENAME COLUMN "commit_id" TO "commit_sha";