diff options
Diffstat (limited to 'db/schema.sql')
-rw-r--r-- | db/schema.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/schema.sql b/db/schema.sql index 2db89bddb..e87a2aafe 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -457,3 +457,12 @@ create table user_body_permissions ( ), unique(user_id, body_id, permission_type) ); + +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) +); |