use google user avatar as profile phone

This commit is contained in:
João Geonizeli
2022-07-22 12:53:57 -03:00
parent 20781746e6
commit 9db59c071f
18 changed files with 72 additions and 252 deletions

View 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
View File

@@ -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