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