user name changes: remove unused reason, status fields.

Remove all infrastructure around approving or rejecting user name
changes. Name changes haven't been moderated for several years.

* Remove status, approver_id, change_reason, and rejection_reason fields.
* Remove approve and reject controller actions.
This commit is contained in:
evazion
2019-09-25 19:21:36 -05:00
parent 8d1874d309
commit 3b63f94968
10 changed files with 44 additions and 218 deletions

View File

@@ -3010,13 +3010,9 @@ ALTER SEQUENCE public.user_feedback_id_seq OWNED BY public.user_feedback.id;
CREATE TABLE public.user_name_change_requests (
id integer NOT NULL,
status character varying DEFAULT 'pending'::character varying NOT NULL,
user_id integer NOT NULL,
approver_id integer,
original_name character varying,
desired_name character varying,
change_reason text,
rejection_reason text,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
@@ -7340,6 +7336,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20190908031103'),
('20190908035317'),
('20190919175836'),
('20190923071044');
('20190923071044'),
('20190926000912');