Skip to content

Commit

Permalink
Updated oauth_session_authcodes table. Added id field, remove scope_i…
Browse files Browse the repository at this point in the history
…ds field
  • Loading branch information
alexbilbie committed May 11, 2013
1 parent c57c4b1 commit 252afdd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sql/mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ CREATE TABLE `oauth_session_access_tokens` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `oauth_session_authcodes` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`session_id` int(10) unsigned NOT NULL,
`auth_code` char(40) NOT NULL,
`auth_code_expires` int(10) unsigned NOT NULL,
`scope_ids` char(255) DEFAULT NULL,
PRIMARY KEY (`session_id`),
CONSTRAINT `f_oaseau_seid` FOREIGN KEY (`session_id`) REFERENCES `oauth_sessions` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `oauth_session_redirects` (
Expand Down

0 comments on commit 252afdd

Please sign in to comment.