X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1956ab59130096c19a4f041290b1e933258fb025..80a241f7985fec6ec853e48a25823446b59b7682:/db/structure.sql diff --git a/db/structure.sql b/db/structure.sql index 742791df5..eac2acaaf 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -726,9 +726,9 @@ CREATE TABLE issues ( id integer NOT NULL, reportable_type character varying NOT NULL, reportable_id integer NOT NULL, - reported_user_id integer NOT NULL, + reported_user_id integer, status integer, - issue_type character varying, + assigned_role user_role_enum NOT NULL, resolved_at timestamp without time zone, resolved_by integer, updated_by integer, @@ -1067,6 +1067,7 @@ CREATE TABLE reports ( issue_id integer, user_id integer, details text NOT NULL, + category character varying NOT NULL, created_at timestamp without time zone NOT NULL, updated_at timestamp without time zone NOT NULL ); @@ -2877,3 +2878,5 @@ INSERT INTO "schema_migrations" (version) VALUES ('7'), ('8'), ('9'); + +