about summary refs log tree commit diff
path: root/src/schema.rs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-14T18·30+0200
committerVincent Ambo <github@tazj.in>2018-04-14T20·21+0200
commit3e5b1098c6ae2852ea2df37b7c292cb37d5b1e84 (patch)
treeff8c974ae7a7f3140b3f32e9ea26ca98a94eab93 /src/schema.rs
parentea68bac4273895c22282049eb08775baae3154b8 (diff)
refactor(schema): Unify integer type usage across tables
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schema.rs b/src/schema.rs
index 50a55c786825..6f73af69ce34 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -23,12 +23,12 @@ table! {
 // Note: Manually inserted as print-schema does not add views.
 table! {
     thread_index (thread_id){
-        thread_id -> Integer,
+        thread_id -> Int4,
         title -> Text,
         thread_author -> Text,
         created -> Timestamptz,
         sticky -> Bool,
-        post_id -> Integer,
+        post_id -> Int4,
         post_author -> Text,
         posted -> Timestamptz,
     }