Sha256: 2b8521b4e8b3195af8bae20ad7a8a9ab619f74c40673ba6f70e6b1be4cb557e5

Contents?: true

Size: 205 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
importo-2.0.5 db/migrate/20180628175535_add_locale_importo_import.rb
importo-2.0.4 db/migrate/20180628175535_add_locale_importo_import.rb