Sha256: e5f6f906b6d1ba61a485192918336b56ee963d1e3a781d283a181c5517e27310

Contents?: true

Size: 197 Bytes

Versions: 99

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

99 entries across 99 versions & 1 rubygems

Version Path
blacklight-spotlight-4.7.0 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.6.1 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.6.0 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.5.0 db/migrate/20180405044000_add_locale_to_pages.rb
blacklight-spotlight-4.4.0 db/migrate/20180405044000_add_locale_to_pages.rb
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