Skip to content

Commit

Permalink
Fixed column name on refresh_tokens table.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwickard committed Dec 29, 2013
1 parent 2ee28fe commit 8e7d285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp_oauth2-complete.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ function wp_oauth2_complete_install() {

// TOKEN REFRESH TABLE
$install_refresh_token_table = "CREATE TABLE oauth2_refresh_tokens (
refresh_token varchar(40) NOT NULL,
oauth_token varchar(40) NOT NULL,
client_id varchar(40) NOT NULL,
user_id int(11) UNSIGNED NOT NULL,
expires int(11) NOT NULL,
scope varchar(255) DEFAULT NULL,
PRIMARY KEY (refresh_token)
PRIMARY KEY (oauth_token)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;";

/**
Expand Down

0 comments on commit 8e7d285

Please sign in to comment.