]> git.openstreetmap.org Git - rails.git/blobdiff - db/structure.sql
Adjust for rails5 convention on migrations.
[rails.git] / db / structure.sql
index 3d8900ccfc7c0c077f89b2d2d3a90a74cb1273fe..7888d8a9cfde10976355e1862ae1f5b422fb9381 100644 (file)
@@ -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
 );