use google user avatar as profile phone
This commit is contained in:
5
db/migrate/20220722153417_add_avatar_url_to_user.rb
Normal file
5
db/migrate/20220722153417_add_avatar_url_to_user.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddAvatarUrlToUser < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column(:users, :avatar_url, :string, null: true)
|
||||
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[7.0].define(version: 2022_07_21_133421) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2022_07_22_153417) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
@@ -152,6 +152,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_07_21_133421) do
|
||||
t.string "name", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "avatar_url"
|
||||
t.index ["email"], name: "index_users_on_email", unique: true
|
||||
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user