Sha256: 93ef658fe713119e1e37a2dcaefb1bed6d55beb30868550e5df638ffe44572f9

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true
# coding: ISO-8859-15

class CurrenciesHaveSymbols < ActiveRecord::Migration::Current
  def self.up
    # We use € for default currency symbol
    add_column "currencies", "symbol", :string, default: "€"
  end

  def self.down
    remove_column "currencies", "symbol"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/magic/1_currencies_have_symbols.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/magic/1_currencies_have_symbols.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/magic/1_currencies_have_symbols.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/magic/1_currencies_have_symbols.rb