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

Missing column in examples #23

Closed
svycka opened this issue Aug 26, 2013 · 3 comments
Closed

Missing column in examples #23

svycka opened this issue Aug 26, 2013 · 3 comments

Comments

@svycka
Copy link

svycka commented Aug 26, 2013

I am going throught Step-By-Step Walkthrough and default_scope column is missing in oauth_clients table got this error:

File:
    C:\wamp\www\oauth2.local\vendor\bshaffer\oauth2-server-php\src\OAuth2\Storage\Pdo.php:252

Message:
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'default_scope' in 'field list'

I think that this bshaffer/oauth2-server-php#217 pull request caused this.

@dsquier
Copy link

dsquier commented Aug 26, 2013

This documentation is a bit behind the library when you pulled it. You can find matching table definitions for your version in the Bootstrap.php used for tests inside the library or at https://github.com/dsquier/oauth2-server-php-mysql#tables.

I am resubmitting a PR to change this functionality and will make a note to update this documentation at the same time.

@svycka
Copy link
Author

svycka commented Aug 26, 2013

yep I figured them myself but thats my first time with shis library and don't know I should go with development version or with stable. development version doesn't have its documentation I guess.

@bshaffer
Copy link
Owner

bshaffer commented Sep 8, 2013

The docs are now up to date. Thank you for reporting this!

@bshaffer bshaffer closed this as completed Sep 8, 2013
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

No branches or pull requests

3 participants