Chore: Add display name to the user (#1067)

* Chore: Adding browser info to web widget triggered event

fixes: #970

* Chore: Rename nickname to display name

references: #972

* Chore: Change nickname in code

* chore: fix errors

* Chore: update nginx config

fixes: #1057

* Chore: Fix specs
This commit is contained in:
Sojan Jose
2020-07-20 18:28:14 +05:30
committed by GitHub
parent 29838f9424
commit d800b55ac6
13 changed files with 34 additions and 23 deletions

View File

@@ -0,0 +1,5 @@
class RenameNickNameToDisplayName < ActiveRecord::Migration[6.0]
def change
rename_column :users, :nickname, :display_name
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_07_09_145000) do
ActiveRecord::Schema.define(version: 2020_07_19_171437) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
@@ -407,7 +407,7 @@ ActiveRecord::Schema.define(version: 2020_07_09_145000) do
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
t.string "name", null: false
t.string "nickname"
t.string "display_name"
t.string "email"
t.json "tokens"
t.datetime "created_at", null: false