Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

specify max int value for twitter status ids

force to unsigned bigint in mysql
  • Loading branch information...
commit bc451fbd83fc1d27a31dde0b20dd14f1b503e36f 1 parent bee74de
@zapnap authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/status.rb
View
2  lib/status.rb
@@ -13,7 +13,7 @@ class Status
}
property :id, Serial
- property :twitter_id, Integer
+ property :twitter_id, Integer, :min => 0, :max => 2**64
property :text, String, :length => 0..255
property :from_user_id, Integer
property :from_user_name, String, :length => 0..255
Please sign in to comment.
Something went wrong with that request. Please try again.