diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-14T18·30+0200 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2018-04-14T20·21+0200 |
commit | 3e5b1098c6ae2852ea2df37b7c292cb37d5b1e84 (patch) | |
tree | ff8c974ae7a7f3140b3f32e9ea26ca98a94eab93 /src/schema.rs | |
parent | ea68bac4273895c22282049eb08775baae3154b8 (diff) |
refactor(schema): Unify integer type usage across tables
Diffstat (limited to 'src/schema.rs')
-rw-r--r-- | src/schema.rs | 4 |
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, } |