Sha256: 4756183cf930d7413112d2ec273c715b8ece66fcfb5e7f13122e253d2bd753bb

Contents?: true

Size: 1.19 KB

Versions: 48

Compression:

Stored size: 1.19 KB

Contents

class CreateInclineUsers < ActiveRecord::Migration
  def change
    create_table :incline_users do |t|
      t.string    :name,              null: false,    limit: 100
      t.string    :email,             null: false,    limit: 250
      t.boolean   :activated,         null: false,                    default: false
      t.boolean   :enabled,           null: false,                    default: true
      t.boolean   :system_admin,      null: false,                    default: false
      t.string    :activation_digest,                 limit: 100
      t.string    :password_digest,                   limit: 100
      t.string    :remember_digest,                   limit: 100
      t.string    :reset_digest,                      limit: 100
      t.datetime  :activated_at
      t.datetime  :reset_sent_at
      t.string    :disabled_by,                       limit: 250
      t.datetime  :disabled_at
      t.string    :disabled_reason,                   limit: 200
      t.datetime  :last_login_at
      t.string    :last_login_ip,                     limit: 64

      t.timestamps                    null: false
    end
    add_index :incline_users, :email, unique: true, name: 'ux_incline_users_email'
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

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