summaryrefslogtreecommitdiff
path: root/sql/tables/contact.contact_us_posts_read.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/tables/contact.contact_us_posts_read.sql')
-rw-r--r--sql/tables/contact.contact_us_posts_read.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/tables/contact.contact_us_posts_read.sql b/sql/tables/contact.contact_us_posts_read.sql
new file mode 100644
index 0000000..80be27c
--- /dev/null
+++ b/sql/tables/contact.contact_us_posts_read.sql
@@ -0,0 +1,7 @@
+drop table contact.contact_us_posts_read cascade;
+
+create table contact.contact_us_posts_read (
+ id serial8 primary key,
+ contact_us_post_id bigint not null references contact.contact_us_posts(id),
+ user_id bigint not null references auth.users(id)
+);