BookingSync/bookingsync-engine

View on GitHub
lib/generators/bookingsync/install/templates/create_bookingsync_accounts.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateAccounts < ActiveRecord::Migration
  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
end