ALTER TABLE social.star_trek_issue RENAME COLUMN star_trek_key TO key;
ALTER TABLE social.star_trek_issue ALTER COLUMN attrs SET NOT NULL;
ALTER TABLE social.star_trek_issue ALTER COLUMN attrs SET DEFAULT '{}'::json;
ALTER TABLE social.star_trek_issue ADD CONSTRAINT star_trek_issue_key_key UNIQUE (key);
