Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SocialProviderUser.php #54

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

RudyAnconi
Copy link
Contributor

Fixing Issue > Error saving on social_provider_user table after Google Login thedevdojo#51:

SQLSTATE[42703]: Undefined column: 7 ERROR: colunmn "id" doesn't exists LINE 1: ..., $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) returning "id" ^ (Connection: pgsql, SQL: insert into "social_provider_user" ("provider_user_id", "nickname", "name", "email", "avatar", "provider_data", "token", "refresh_token", "token_expires_at", "provider_slug", "user_id", "updated_at", "created_at") values (XXXXXX, ?, XXXXXXXX, XXXXXX@gmail.com, https://lh3.googleusercontent.com/a/XXXXXXX"{\"sub\":\"XXXXXXX\",\"name\":\"XXXXXXX\",\"given_name\":\"XXXXXX\",\"family_name\":\"XXXXXX\",\"picture\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/a\\\/XXXXXXXc\",\"email\":\"XXXXXXX@gmail.com\",\"email_verified\":true,\"id\":\"XXXXXXXXXXXXX\",\"verified_email\":true,\"link\":null}", XXXXXXX, ?, 2024-06-21 21:07:26, google, 1, 2024-06-21 20:07:27, 2024-06-21 20:07:27) returning "id")

Fixing Issue > Error saving on social_provider_user table after Google Login thedevdojo#51:

SQLSTATE[42703]: Undefined column: 7 ERROR: colunmn "id" doesn't exists LINE 1: ..., $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) returning "id" ^ (Connection: pgsql, SQL: insert into "social_provider_user" ("provider_user_id", "nickname", "name", "email", "avatar", "provider_data", "token", "refresh_token", "token_expires_at", "provider_slug", "user_id", "updated_at", "created_at") values (XXXXXX, ?, XXXXXXXX, XXXXXX@gmail.com, https://lh3.googleusercontent.com/a/XXXXXXX"{\"sub\":\"XXXXXXX\",\"name\":\"XXXXXXX\",\"given_name\":\"XXXXXX\",\"family_name\":\"XXXXXX\",\"picture\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/a\\\/XXXXXXXc\",\"email\":\"XXXXXXX@gmail.com\",\"email_verified\":true,\"id\":\"XXXXXXXXXXXXX\",\"verified_email\":true,\"link\":null}", XXXXXXX, ?, 2024-06-21 21:07:26, google, 1, 2024-06-21 20:07:27, 2024-06-21 20:07:27) returning "id")
@tnylea
Copy link
Contributor

tnylea commented Jun 22, 2024

@RudyAnconi thanks so much!

We are currently working on ways to get the tests to pass with forked repos. For now, I'm going to create a new branch on DevDojo and merge your fork into that branch this way we can check that the tests pass.

@tnylea tnylea changed the base branch from main to update-social-provider-user June 22, 2024 12:33
@tnylea tnylea merged commit 6abb48c into thedevdojo:update-social-provider-user Jun 22, 2024
1 check failed
@tnylea
Copy link
Contributor

tnylea commented Jun 22, 2024

Here is the new PR that will run the tests correctly #55

We'll be getting this updated soon so that way Forked PR's run the tests correctly 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants