Sha256: b0d29ec0b66898bde217e65f0dfb713dbbe30f614f63c94f6d67eb920cd9a352

Contents?: true

Size: 163 Bytes

Versions: 7

Compression:

Stored size: 163 Bytes

Contents

class ChangeGuestFlagToAnonymous < ActiveRecord::Migration
  def change
    unless defined?(User)
      rename_column :users, :guest, :anonymous
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-1.2.5 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
spree_core-1.2.4 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
spree_core-1.2.3 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
spree_core-1.2.2 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
spree_core-1.2.0 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
spree_core-1.2.0.rc2 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb
spree_core-1.2.0.rc1 db/migrate/20100901171814_change_guest_flag_to_anonymous.rb