Sha256: 4617a1c5b12092f3a739c040b2fc197e937a6273130655e8b867009f1dd06d14
Contents?: true
Size: 660 Bytes
Versions: 4
Compression:
Stored size: 660 Bytes
Contents
class CreateCorkboardAuthorizations < ActiveRecord::Migration def change create_table :corkboard_authorizations, :force => true do |t| t.references :resource_owner, :polymorphic => { :default => 'User' } t.string :provider, :null => false t.string :uid, :null => false t.string :token, :null => false t.text :info t.text :extra t.timestamps end add_index :corkboard_authorizations, [:resource_owner_type, :resource_owner_id], :name => 'index_corkboard_authorizations_on_resource_owner' add_index :corkboard_authorizations, :provider end end
Version data entries
4 entries across 4 versions & 1 rubygems