mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
Feature: API for updating account settings (#645)
* Feature: API for updating account settings - API to update account locale - API to update account name - API to show account info
This commit is contained in:
5
db/migrate/20200325210612_add_locale_to_account.rb
Normal file
5
db/migrate/20200325210612_add_locale_to_account.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddLocaleToAccount < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :accounts, :locale, :integer, default: 0
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2020_03_11_083854) do
|
||||
ActiveRecord::Schema.define(version: 2020_03_25_210612) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -41,6 +41,7 @@ ActiveRecord::Schema.define(version: 2020_03_11_083854) do
|
||||
t.string "name", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "locale", default: 0
|
||||
end
|
||||
|
||||
create_table "active_storage_attachments", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user