Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Fixed users table migration allowing email/password registration #29

Merged
merged 2 commits into from Jun 7, 2016
Merged

Fixed users table migration allowing email/password registration #29

merged 2 commits into from Jun 7, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jun 6, 2016

 [Illuminate\Database\QueryException]
  SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: users.oauth_provider (SQL: insert into "users" ("id", "name", "email", "password", "email_verified", "created_at") valu
  es (1, admin, admin@example.com, y$WP.pIKU4WTSw2bAocXwrqer.ii6kTQHJw/QABQtgxWoDNKJwVtuAu, 1, 2016-06-06 20:53:55))



  [PDOException]
  SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: users.oauth_provider

The following columns must be null in order to seed the database properly:

  • oauth_provider
  • oauth_provider_id
  • avatar
  • email_verification_code

Same error turns up when registering from the frontend too.

@silverbux silverbux merged commit 3be103f into silverbux:master Jun 7, 2016
@silverbux
Copy link
Owner

awesome thanks!

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

Successfully merging this pull request may close these issues.

2 participants