Sha256: 15692d7f88ae0b011c7b87f6f4f7eee34984757d997e184fb38b23cf5e2261ca
Contents?: true
Size: 303 Bytes
Versions: 16
Compression:
Stored size: 303 Bytes
Contents
class AddSelectedLocaleToSpreeUsers < ActiveRecord::Migration[6.1] def change if Spree.user_class.present? users_table_name = Spree.user_class.table_name add_column users_table_name, :selected_locale, :string unless column_exists?(users_table_name, :selected_locale) end end end
Version data entries
16 entries across 16 versions & 1 rubygems