about summary refs log tree commit diff
diff options
context:
space:
mode:
-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,
     }