open-bounty/resources/migrations/20170226162507-issues-updated-timestamp.up.sql
Teemu Patja 2599b85d41
WIP: Activity feed feature
* backend support for activity feed
* partial frontend support (still needs work)
* save issue modification timestamp to db
* rename commit-id -> commit-sha everywhere for consistency
* "No data" texts for UI collections when no data exists
2017-02-26 23:43:57 +02:00

6 lines
272 B
SQL

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";