Skip to content

Conversation

cipto-hd
Copy link

@cipto-hd cipto-hd commented May 8, 2017

I would like to suggest the the change for the order of passport installation, by running migrate first, then passport:install.
Because I got below errors, if i run passport:install first. Thank you very much for your kind sharing of knowledge and github repository

[Illuminate\Database\QueryException]                                         
  SQLSTATE[HY000]: General error: 1 no such table: oauth_clients (SQL: insert  
   into "oauth_clients" ("user_id", "name", "secret", "redirect", "personal_a  
  ccess_client", "password_client", "revoked", "updated_at", "created_at") va  
  lues (,  Personal Access Client, Ma93UPZSDGZL3TEtKSYEu6kmmKPREtRCEUGR5RLB,   
  http://localhost, 1, 0, 0, 2017-05-08 17:19:22, 2017-05-08 17:19:22))        
                                                                               

                                                                  
  [PDOException]                                                  
  SQLSTATE[HY000]: General error: 1 no such table: oauth_clients 

I would like to suggest the the change for the order of passport installation, by running migrate first, then passport:install.
```
[Illuminate\Database\QueryException]                                         
  SQLSTATE[HY000]: General error: 1 no such table: oauth_clients (SQL: insert  
   into "oauth_clients" ("user_id", "name", "secret", "redirect", "personal_a  
  ccess_client", "password_client", "revoked", "updated_at", "created_at") va  
  lues (,  Personal Access Client, Ma93UPZSDGZL3TEtKSYEu6kmmKPREtRCEUGR5RLB,   
  http://localhost, 1, 0, 0, 2017-05-08 17:19:22, 2017-05-08 17:19:22))        
                                                                               

                                                                  
  [PDOException]                                                  
  SQLSTATE[HY000]: General error: 1 no such table: oauth_clients 
```
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.

1 participant