Sha256: 5be2db55e5568609a6df748795c181af0445d4f89b30a3e04a01cf60f67306a1

Contents?: true

Size: 205 Bytes

Versions: 13

Compression:

Stored size: 205 Bytes

Contents

class AddLocaleImportoImport < ActiveRecord::Migration[5.1]
  def change
    return if column_exists?(:importo_imports, :locale)

    add_column :importo_imports, :locale, :string, default: "en"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
importo-3.0.21 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.20 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.19 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.18 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.17 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.16 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.15 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.14 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.13 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.12 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.11 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.10 db/migrate/20180628175535_add_locale_importo_import.rb
importo-3.0.9 db/migrate/20180628175535_add_locale_importo_import.rb