diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-11-08 00:18:37 -0800 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-11-08 00:18:37 -0800 |
commit | eeec29c6be2429ea38ab258591200e0178886a25 (patch) | |
tree | 09f54a745f7ec828914e3ba7ee90492b0804ffef /database.sql | |
parent | 9fabdbf2c974211c8fef18e48a956f8f38bd9e74 (diff) | |
parent | c90e6c6e0782e3e8ac9cf1be3acbc13f5448148d (diff) | |
download | volse-hubzilla-eeec29c6be2429ea38ab258591200e0178886a25.tar.gz volse-hubzilla-eeec29c6be2429ea38ab258591200e0178886a25.tar.bz2 volse-hubzilla-eeec29c6be2429ea38ab258591200e0178886a25.zip |
Merge pull request #2 from fabrixxm/master
Oauth1 support in API
Diffstat (limited to 'database.sql')
-rw-r--r-- | database.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/database.sql b/database.sql index 3d11ff4b7..58b81b0ac 100644 --- a/database.sql +++ b/database.sql @@ -460,14 +460,19 @@ CREATE TABLE IF NOT EXISTS `clients` ( `client_id` VARCHAR( 20 ) NOT NULL , `pw` VARCHAR( 20 ) NOT NULL , `redirect_uri` VARCHAR( 200 ) NOT NULL , +`name` VARCHAR( 128 ) NULL DEFAULT NULL, +`icon` VARCHAR( 255 ) NULL DEFAULT NULL, +`uid` INT NOT NULL DEFAULT 0, PRIMARY KEY ( `client_id` ) ) ENGINE = MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `tokens` ( `id` VARCHAR( 40 ) NOT NULL , +`secret` VARCHAR( 40 ) NOT NULL , `client_id` VARCHAR( 20 ) NOT NULL , `expires` INT NOT NULL , `scope` VARCHAR( 200 ) NOT NULL , +`uid` INT NOT NULL , PRIMARY KEY ( `id` ) ) ENGINE = MyISAM DEFAULT CHARSET=utf8; |