add traductions
This commit is contained in:
5
db/migrate/20210424192800_add_locale_to_user.rb
Normal file
5
db/migrate/20210424192800_add_locale_to_user.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddLocaleToUser < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :users, :locale, :string, default: 'en-gb'
|
||||
end
|
||||
end
|
||||
3
db/schema.rb
generated
3
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_04_23_153941) do
|
||||
ActiveRecord::Schema.define(version: 2021_04_24_192800) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -79,6 +79,7 @@ ActiveRecord::Schema.define(version: 2021_04_23_153941) do
|
||||
t.string "token"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.string "locale", default: "en-gb"
|
||||
t.index ["battletag"], name: "index_users_on_battletag", unique: true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user