X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/67a95ac7e92881249f5729f0fa9e7c9f9f95fff2..33c43ab0affe7317d7d136bc6ed934d6f6951585:/db/structure.sql

diff --git a/db/structure.sql b/db/structure.sql
index 3d8900ccf..7888d8a9c 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -691,9 +691,9 @@ 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,
+    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
@@ -735,7 +735,7 @@ CREATE TABLE issues (
     updated_by integer,
     created_at timestamp without time zone NOT NULL,
     updated_at timestamp without time zone NOT NULL,
-    report_count integer DEFAULT 0
+    reports_count integer DEFAULT 0
 );
 
 
