silverbux / laravel-angular-admin

Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate / Starter.
http://silverbux.github.io/laravel-angular-admin/
MIT License
924 stars 414 forks source link

Fixed users table migration allowing email/password registration #29

Closed ghost closed 8 years ago

ghost commented 8 years ago
 [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:

Same error turns up when registering from the frontend too.

silverbux commented 8 years ago

awesome thanks!