summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-02 08:48:52 +0000
committerZach Copley <zach@status.net>2010-02-02 08:48:52 +0000
commit2be00ce64221197f3c8ad1458eba2488c8836e5c (patch)
treeb3fd0ee62c631f53b2c8670ec1f109283b2d6b34 /db
parent952b5806987e12a34e6fd75509b5d78815c1aa2d (diff)
parent5e90f744a6fb58c43f8f5332ef868ba38e82b3d1 (diff)
Merge branch 'oauth-continued' into 0.9.x
Diffstat (limited to 'db')
-rw-r--r--db/statusnet.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql
index 17de4fd0d..8946f4d7e 100644
--- a/db/statusnet.sql
+++ b/db/statusnet.sql
@@ -214,7 +214,7 @@ create table oauth_application (
id integer auto_increment primary key comment 'unique identifier',
owner integer not null comment 'owner of the application' references profile (id),
consumer_key varchar(255) not null comment 'application consumer key' references consumer (consumer_key),
- name varchar(255) not null comment 'name of the application',
+ name varchar(255) unique key comment 'name of the application',
description varchar(255) comment 'description of the application',
icon varchar(255) not null comment 'application icon',
source_url varchar(255) comment 'application homepage - used for source link',
@@ -230,7 +230,7 @@ create table oauth_application (
create table oauth_application_user (
profile_id integer not null comment 'user of the application' references profile (id),
application_id integer not null comment 'id of the application' references oauth_application (id),
- access_type tinyint default 0 comment 'access type, bit 1 = read, bit 2 = write, bit 3 = revoked',
+ access_type tinyint default 0 comment 'access type, bit 1 = read, bit 2 = write',
token varchar(255) comment 'request or access token',
created datetime not null comment 'date this record was created',
modified timestamp comment 'date this record was modified',