Sha256: a0e533b8d54f5be4ab240ed62bb33898197f531f714cfb47f7be495634d609a8
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
# This migration comes from challah_engine (originally 20121116210759) class CreateAuthorizations < ActiveRecord::Migration def change create_table :authorizations do |t| t.integer :user_id t.string :provider, limit: 50 t.string :uid t.string :token, limit: 500 t.datetime :expires_at t.datetime :last_session_at t.string :last_session_ip t.integer :session_count, default: 0 t.timestamps end add_index :authorizations, :user_id add_index :authorizations, [ :user_id, :provider ] add_index :authorizations, :uid add_index :authorizations, :token end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
challah-1.1.1 | test/dummy/db/migrate/20140307205736_create_authorizations.challah_engine.rb |