Sha256: 5b36dcf032dab076f4ee8e899613e2b866b2a3c78fa2c63b25c2d34c8c124294
Contents?: true
Size: 694 Bytes
Versions: 1
Compression:
Stored size: 694 Bytes
Contents
# This migration comes from pageflow (originally 20140418240000) class AddAttributesToUsers < ActiveRecord::Migration def change add_column :users, :failed_attempts, :integer, default: 0 add_column :users, :locked_at, :datetime add_column :users, :first_name, :string add_column :users, :last_name, :string add_column :users, :suspended_at, :datetime add_column :users, :account_id, :integer add_column :users, :role, :string, default: "editor", null: false add_index :users, [:account_id], name: "index_pageflow_users_on_account_id", using: :btree add_index :users, [:email], name: "index_pageflow_users_on_email", unique: true, using: :btree end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pageflow-sitemap-0.1.0 | spec/d/r/db/migrate/20150209101541_add_attributes_to_users.pageflow.rb |