2017-02-21 08:49:25 +00:00
|
|
|
|
|
|
|
-- this column was never used
|
|
|
|
ALTER TABLE "repositories" DROP COLUMN IF EXISTS "updated";
|
|
|
|
|
|
|
|
-- needde for foreign key
|
|
|
|
ALTER TABLE "issues" ADD UNIQUE ("issue_id");
|
|
|
|
|
|
|
|
-- table for github PNG comment images
|
|
|
|
CREATE TABLE issue_comment (
|
|
|
|
id SERIAL PRIMARY KEY,
|
2017-02-23 11:23:20 +00:00
|
|
|
issue_id INTEGER REFERENCES issues (issue_id) UNIQUE,
|
2017-02-21 08:49:25 +00:00
|
|
|
png_data bytea);
|