Sha256: e5f6f906b6d1ba61a485192918336b56ee963d1e3a781d283a181c5517e27310

Contents?: true

Size: 197 Bytes

Versions: 94

Compression:

Stored size: 197 Bytes

Contents

class AddLocaleToPages < ActiveRecord::Migration[5.0]
  def change
    add_column :spotlight_pages, :locale, :string, default: I18n.default_locale
    add_index :spotlight_pages, :locale
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.3.5 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.3.4 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.3.3 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.3.2 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.3.1 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.3.0 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.2.0 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.1.2 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.1.1 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.1.0 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.0.3 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.0.2 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.0.1 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.0.0 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-3.6.0.beta10 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-3.6.0.beta9 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-3.6.0.beta8 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-3.5.0.4 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-3.6.0.beta7 db/migrate/20180405044000_add_locale_to_pages.rb