Skip to content

Instantly share code, notes, and snippets.

@joesavak
Created June 3, 2011 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joesavak/1006759 to your computer and use it in GitHub Desktop.
Save joesavak/1006759 to your computer and use it in GitHub Desktop.
LinkedIn fields
class AddLiuidToUsers < ActiveRecord::Migration
def self.up
add_column :users, :li_uid, :string
add_column :users, :li_name, :string
end
def self.down
remove_column :users, :li_uid
remove_column :users, :li_name
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment