Sha256: 218d1bdc02bf64cbdade41112c111071d9c48825c88aa160084206b6336b9c78

Contents?: true

Size: 468 Bytes

Versions: 19

Compression:

Stored size: 468 Bytes

Contents

class AddDeviseGuestsToUsers < ActiveRecord::Migration
  def self.up
    change_table(:users) do |t|
      ## Database authenticatable
      t.boolean :guest, :default => false
    end

  end

  def self.down
    # By default, we don't want to make any assumption about how to roll back a migration when your
    # model already existed. Please edit below which fields you would like to remove in this migration.
    raise ActiveRecord::IrreversibleMigration
  end
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
blacklight-spotlight-0.3.1 spec/internal/db/migrate/20150303163354_add_devise_guests_to_users.rb
blacklight-spotlight-0.3.0 spec/internal/db/migrate/20150302231315_add_devise_guests_to_users.rb
blacklight-spotlight-0.2.0 spec/internal/db/migrate/20150120185713_add_devise_guests_to_users.rb
blacklight-spotlight-0.1.0 spec/internal/db/migrate/20140603144359_add_devise_guests_to_users.rb
curate-0.6.6 spec/internal/db/migrate/20140328183257_add_devise_guests_to_users.rb
blacklight-spotlight-0.0.3 spec/internal/db/migrate/20140221181115_add_devise_guests_to_users.rb
blacklight-spotlight-0.0.2 spec/internal/db/migrate/20140213201427_add_devise_guests_to_users.rb
blacklight-spotlight-0.0.1 spec/internal/db/migrate/20140206235504_add_devise_guests_to_users.rb
curate-0.6.4 spec/internal/db/migrate/20140131175500_add_devise_guests_to_users.rb
curate-0.6.3 spec/internal/db/migrate/20131205204126_add_devise_guests_to_users.rb
curate-0.6.1 spec/internal/db/migrate/20131203200427_add_devise_guests_to_users.rb
curate-0.6.0 spec/internal/db/migrate/20131126132858_add_devise_guests_to_users.rb
curate-0.5.6 spec/internal/db/migrate/20131114003104_add_devise_guests_to_users.rb
curate-0.5.5 spec/internal/db/migrate/20131114003104_add_devise_guests_to_users.rb
curate-0.5.4 spec/internal/db/migrate/20131111192755_add_devise_guests_to_users.rb
curate-0.5.2 spec/internal/db/migrate/20131106182741_add_devise_guests_to_users.rb
curate-0.5.1 spec/internal/db/migrate/20131028141204_add_devise_guests_to_users.rb
curate-0.5.0 spec/internal/db/migrate/20131018143659_add_devise_guests_to_users.rb
hydra_mediated-0.0.1 db/migrate/20130606160531_add_devise_guests_to_users.rb