about summary refs log tree commit diff
path: root/src/schema.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-05-25T16·44+0200
committerVincent Ambo <github@tazj.in>2018-05-27T13·00+0200
commit871093a973d265026581c53b760f9f021b192f54 (patch)
tree4e43455a5831eebf8cb031f5c5249db9bb8108ca /src/schema.rs
parent468af132e89a8cb80392b7d6e12f1e53b849c0c1 (diff)
feat(db): Update views with thread-closed field
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs
index f163f4b1e7..683aa6055d 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -54,6 +54,7 @@ table! {
         body -> Text,
         posted -> Timestamptz,
         user_id -> Int4,
+        closed -> Bool,
         author_name -> Text,
         author_email -> Text,
     }
@@ -67,6 +68,7 @@ table! {
         thread_author -> Text,
         created -> Timestamptz,
         sticky -> Bool,
+        closed -> Bool,
         post_id -> Int4,
         post_author -> Text,
         posted -> Timestamptz,