]> git.openstreetmap.org Git - rails.git/blobdiff - db/structure.sql
Combine migrations into one
[rails.git] / db / structure.sql
index 7888d8a9cfde10976355e1862ae1f5b422fb9381..a4a6ff6c728fbf1e0dd5bd50c05e33f04e9f7ecf 100644 (file)
@@ -694,7 +694,6 @@ CREATE TABLE issue_comments (
     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
 );
@@ -733,9 +732,9 @@ CREATE TABLE issues (
     resolved_at timestamp without time zone,
     resolved_by integer,
     updated_by integer,
+    reports_count integer DEFAULT 0,
     created_at timestamp without time zone NOT NULL,
-    updated_at timestamp without time zone NOT NULL,
-    reports_count integer DEFAULT 0
+    updated_at timestamp without time zone NOT NULL
 );
 
 
@@ -1067,7 +1066,7 @@ CREATE TABLE reports (
     id integer NOT NULL,
     issue_id integer,
     reporter_user_id integer,
-    details text,
+    details text NOT NULL,
     created_at timestamp without time zone NOT NULL,
     updated_at timestamp without time zone NOT NULL
 );
@@ -2831,8 +2830,6 @@ INSERT INTO "schema_migrations" (version) VALUES
 ('20150222101847'),
 ('20150818224516'),
 ('20160822153055'),
-('20160822153115'),
-('20160822153153'),
 ('20161002153425'),
 ('20161011010929'),
 ('20170222134109'),