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.19.4 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.19.3 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.19.2 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.19.1 db/migrate_core_cards/20140110193325_reset_account_request_type.rb
card-1.19.0 db/migrate_core_cards/20140110193325_reset_account_request_type.rb