aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema_0037-response-templates.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema_0037-response-templates.sql')
-rw-r--r--db/schema_0037-response-templates.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/schema_0037-response-templates.sql b/db/schema_0037-response-templates.sql
new file mode 100644
index 000000000..4534e1e84
--- /dev/null
+++ b/db/schema_0037-response-templates.sql
@@ -0,0 +1,8 @@
+create table response_templates (
+ id serial not null primary key,
+ body_id int references body(id) not null,
+ title text not null,
+ text text not null,
+ created timestamp not null default current_timestamp,
+ unique(body_id, title)
+);