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