churchio/profiles — Issue #31: User's table "fb_token" is too small.
Author: gustavobim
Created: 2011-10-29 00:58:37+00:00
State: open

When testing Profiles with different facebook users, I got the following error:

```ruby
ActiveRecord::StatementInvalid (PGError: ERROR: value too long for type character varying(100)
: INSERT INTO "users"...
app/models/user.rb:74:in `find_for_facebook_oauth'
app/controllers/sessions_controller.rb:6:in `facebook'
```

Looking into the "users" table, I could see the "fb_token" field is a varying(100). I changed the field to varying(255), and the user was able to login to profiles.

Looking to this post, https://developers.facebook.com/blog/post/572, looks like the 255 value is ok for the facebook tokens.