Issue 6: mysql_create_tables.sql should allow scope to be NULL
Status:  Fixed
Owner: ----
Closed:  Dec 2010
Reported by eriksso...@gmail.com, Sep 22, 2010
The table tokens does not allow scope to be NULL, but in the function "store_access_token" scope is set to null if no other value is passed.

A better way to create the table would be:

CREATE TABLE `tokens` (
`id` VARCHAR( 40 ) NOT NULL ,
`client_id` VARCHAR( 20 ) NOT NULL ,
`expires` INT NOT NULL ,
`scope` VARCHAR( 200 ) NULL ,
PRIMARY KEY ( `id` )
)

Dec 13, 2010
Project Member #1 hswon...@pantarei-design.com
Refer to https://code.google.com/p/oauth2-php/source/detail?r=d4e371c900e8fa8f0d59c798ca47ecca5f579db6, this is now get fixed within latest dev.
Status: Fixed