diff --git a/src/schema.rs b/src/schema.rs index 50a55c786..6f73af69c 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, }