Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
facebook migration
class AddFbAccessTokenToUsers < ActiveRecord::Migration
def self.up
add_column :users, :fbaccess, :string
add_column :users, :fbusername, :string
add_column :users, :fb_uid, :bigint
end
def self.down
remove_column :users, :fbaccess
remove_column :users, :fbusername
remove_column :users, :fb_uid
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.