Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0480461e66
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.462 kB
class AddClearanceTwitterFieldsToUsers < ActiveRecord::Migration
def self.up
add_column :users, :twitter_username, :string
add_column :users, :twitter_id, :string
add_column :users, :access_token, :string
add_column :users, :access_secret, :string
end
def self.down
remove_column :users, :access_token
remove_column :users, :access_secret
remove_column :users, :twitter_id
remove_column :users, :twitter_username
end
end
Jump to Line
Something went wrong with that request. Please try again.