Sha256: 7f7309ed220d462dc56696b6a4163576b0fea898b9c9f6c8292010eb970f4b08

Contents?: true

Size: 252 Bytes

Versions: 56

Compression:

Stored size: 252 Bytes

Contents

class ChangeGuestFlagToAnonymous < ActiveRecord::Migration
  def self.up
    change_table :users do |t|
      t.rename :guest, :anonymous
    end
  end

  def self.down
    change_table :users do |t|
      t.rename :anonymous, :guest
    end
  end
end

Version data entries

56 entries across 44 versions & 9 rubygems

Version Path
spree_core-0.70.7 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
spree_core-0.70.6 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
apispree_core-0.0.0 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
My-Commerce_core-1.1.0 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
My-Commerce_core-1.0.0 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerceapi-1.0.0 core/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerce-0.0.3 sandbox/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
MyCommerce-0.0.3 core/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
rfcommerce_sandbox-0.0.3 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb