From 3e5b1098c6ae2852ea2df37b7c292cb37d5b1e84 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 14 Apr 2018 20:30:13 +0200 Subject: refactor(schema): Unify integer type usage across tables --- src/schema.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/schema.rs') 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, } -- cgit 1.4.1