Put this in the for what it's worth category, for Postgresql, the rails g migration add_omniauth_to_users provider uid should be rails g migration add_omniauth_to_users provider uid:integer otherwise I was getting a Error: operator does not exist: character varying = integer.
I had to put several casts together to get an API providing OAuth2, and a devise client to use it with Omniauth, but good job putting the important bits out there.
Put this in the for what it's worth category, for Postgresql, the
rails g migration add_omniauth_to_users provider uidshould berails g migration add_omniauth_to_users provider uid:integerotherwise I was getting aError: operator does not exist: character varying = integer.I had to put several casts together to get an API providing OAuth2, and a devise client to use it with Omniauth, but good job putting the important bits out there.