2017-03-01 20:09:48 +00:00
|
|
|
|
|
|
|
ALTER TABLE "public"."issue_comment"
|
2017-03-03 14:44:59 +00:00
|
|
|
ADD COLUMN "comment_hash" varchar(64);
|
|
|
|
|
|
|
|
ALTER TABLE "public"."issue_comment"
|
2017-03-01 20:09:48 +00:00
|
|
|
ADD UNIQUE ("comment_hash");
|
|
|
|
|
|
|
|
ALTER TABLE "public"."issue_comment"
|
|
|
|
DROP CONSTRAINT "issue_comment_issue_id_key";
|
|
|
|
|
|
|
|
create unique index idx_issue_comment_issue_id_comment_hash
|
|
|
|
on issue_comment (issue_id, comment_hash);
|
|
|
|
|
|
|
|
ALTER TABLE "public"."repositories"
|
|
|
|
RENAME COLUMN "login" TO "owner";
|