X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e31376e28da8f656e33508cc899da465b63673c5..68213e381252addee172f329e3a52bc361a9499a:/db/structure.sql

diff --git a/db/structure.sql b/db/structure.sql
index be0603e6e..7888d8a9c 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -691,11 +691,11 @@ ALTER SEQUENCE gpx_files_id_seq OWNED BY gpx_files.id;
 
 CREATE TABLE issue_comments (
     id integer NOT NULL,
-    issue_id integer,
-    commenter_user_id integer,
-    body text,
-    created_at timestamp without time zone NOT NULL,
+    issue_id integer NOT NULL,
+    commenter_user_id integer NOT NULL,
+    body text NOT NULL,
     reassign boolean,
+    created_at timestamp without time zone NOT NULL,
     updated_at timestamp without time zone NOT NULL
 );
 
@@ -732,10 +732,10 @@ CREATE TABLE issues (
     issue_type character varying,
     resolved_at timestamp without time zone,
     resolved_by integer,
+    updated_by integer,
     created_at timestamp without time zone NOT NULL,
     updated_at timestamp without time zone NOT NULL,
-    updated_by integer,
-    report_count integer DEFAULT 0
+    reports_count integer DEFAULT 0
 );
 
 
