class CreateAccounts

Public Instance Methods

change() click to toggle source
# File lib/generators/bookingsync/install/templates/create_bookingsync_accounts.rb, line 2
def change
  create_table :accounts do |t|
    t.string :provider
    t.integer :synced_id
    t.string :name
    t.string :oauth_access_token
    t.string :oauth_refresh_token
    t.string :oauth_expires_at

    t.timestamps
  end
end