]> git.openstreetmap.org Git - rails.git/blobdiff - db/structure.sql
Ensure reports have an issue id and a user id
[rails.git] / db / structure.sql
index eac2acaaf6a5fcca1c66e9132490f3ab0fe7cf0d..e41b0834f0b501223e2ece77ca8af9fd4875a8b8 100644 (file)
@@ -1064,8 +1064,8 @@ CREATE TABLE relations (
 
 CREATE TABLE reports (
     id integer NOT NULL,
-    issue_id integer,
-    user_id integer,
+    issue_id integer NOT NULL,
+    user_id integer NOT NULL,
     details text NOT NULL,
     category character varying NOT NULL,
     created_at timestamp without time zone NOT NULL,