aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema_0042-planned_reports.sql
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-08-22 10:37:32 +0100
committerDave Arter <davea@mysociety.org>2016-08-22 10:37:32 +0100
commitfde265673cd38e6d9d65d4bca7fe8c21a5955fc8 (patch)
treec77153734661e03568a55ac358b2674e3329c45d /db/schema_0042-planned_reports.sql
parentf3649ee94bb80e8b33f0eea8a817760475157b3b (diff)
parentc7adf92943d28aae3d328871a89c745434c85c38 (diff)
Merge branch 'issues/forcouncils/19-add-planned-list'
Diffstat (limited to 'db/schema_0042-planned_reports.sql')
-rw-r--r--db/schema_0042-planned_reports.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/schema_0042-planned_reports.sql b/db/schema_0042-planned_reports.sql
new file mode 100644
index 000000000..55ad1cc64
--- /dev/null
+++ b/db/schema_0042-planned_reports.sql
@@ -0,0 +1,11 @@
+begin;
+
+create table user_planned_reports (
+ id serial not null primary key,
+ user_id int references users(id) not null,
+ report_id int references problem(id) not null,
+ added timestamp not null default current_timestamp,
+ removed timestamp
+);
+
+commit;