mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #5172 from kristinalim/feature/5170-increase_locale_chars_in_spree_users
Increase max characters for locale in spree_users
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class IncreaseCharactersOfLocaleInSpreeUsers < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :spree_users, :locale, :string, limit: 6
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :spree_users, :locale, :string, limit: 5
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20200327105910) do
|
||||
ActiveRecord::Schema.define(:version => 20200406085833) do
|
||||
|
||||
create_table "adjustment_metadata", :force => true do |t|
|
||||
t.integer "adjustment_id"
|
||||
@@ -1045,7 +1045,7 @@ ActiveRecord::Schema.define(:version => 20200327105910) do
|
||||
t.datetime "reset_password_sent_at"
|
||||
t.string "api_key", :limit => 40
|
||||
t.integer "enterprise_limit", :default => 5, :null => false
|
||||
t.string "locale", :limit => 5
|
||||
t.string "locale", :limit => 6
|
||||
t.string "confirmation_token"
|
||||
t.datetime "confirmed_at"
|
||||
t.datetime "confirmation_sent_at"
|
||||
|
||||
Reference in New Issue
Block a user