Created
September 28, 2013 23:49
-
-
Save chrishomer/6747883 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreateMyDropboxSessions < ActiveRecord::Migration | |
def change | |
create_table :my_dropbox_sessions do |t| | |
t.string :app_key | |
t.string :app_secret | |
t.string :account_email | |
t.boolean :authorized, default: false | |
t.text :serialized_session | |
t.timestamps | |
end | |
add_index :my_dropbox_sessions, :account_email | |
add_index :my_dropbox_sessions, :authorized | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment