Sha256: f85f0571f7d3e9885b94ca27f472be87fd99910beb97aeda8d8ba39a326b8dc2

Contents?: true

Size: 230 Bytes

Versions: 45

Compression:

Stored size: 230 Bytes

Contents

# -*- encoding : utf-8 -*-

class ResetAccountRequestType < Card::Migration::Core
  def up
    arcard = Card[:signup]
    if arcard.type_code != :cardtype
      arcard.update_attributes type_id: Card::CardtypeID
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
card-1.96.7 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.96.6 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.96.5 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.96.4 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.96.3 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.96.2 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.96.1 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.96.0 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.95.3 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.95.2 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.95.1 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.95.0 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.94.1 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.94.0 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.93.13 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.93.12 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.93.11 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.93.10 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.93.9 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.93.8 db/migrate_core_cards/20140110193325_reset_account_request_type.rb