Sha256: 3aae3ce6e5ed785596f3bae0332503deb6b3da380a1eb8fe4511dad6724b0d52

Contents?: true

Size: 552 Bytes

Versions: 44

Compression:

Stored size: 552 Bytes

Contents

class CreateInclineUserLoginHistories < ActiveRecord::Migration
  def change
    create_table :incline_user_login_histories do |t|
      t.belongs_to  :user,          null: false,                  index: true
      t.string      :ip_address,    null: false,    limit: 64
      t.boolean     :successful
      t.string      :message,                       limit: 200

      t.timestamps                  null: false
    end
    add_foreign_key :incline_user_login_histories, :incline_users, column: :user_id, name: 'fk_i_user_login_hist_user'
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
incline-0.3.14 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.13 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.12 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.11 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.10 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.9 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.8 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.7 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.6 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.5 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.4 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.3 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.2 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.1 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.3.0 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.2.36 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.2.35 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.2.34 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.2.28 db/migrate/20170515003221_create_incline_user_login_histories.rb
incline-0.2.27 db/migrate/20170515003221_create_incline_user_login_histories.rb