OAuth app name should not be null

This commit is contained in:
Zach Copley 2010-02-05 01:24:21 +00:00
parent 6cf5df505a
commit 4180ab74d9
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ notice_id = K
id = 129 id = 129
owner = 129 owner = 129
consumer_key = 130 consumer_key = 130
name = 2 name = 130
description = 2 description = 2
icon = 130 icon = 130
source_url = 2 source_url = 2

View File

@ -214,7 +214,7 @@ create table oauth_application (
id integer auto_increment primary key comment 'unique identifier', id integer auto_increment primary key comment 'unique identifier',
owner integer not null comment 'owner of the application' references profile (id), 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), consumer_key varchar(255) not null comment 'application consumer key' references consumer (consumer_key),
name varchar(255) unique key comment 'name of the application', name varchar(255) not null unique key comment 'name of the application',
description varchar(255) comment 'description of the application', description varchar(255) comment 'description of the application',
icon varchar(255) not null comment 'application icon', icon varchar(255) not null comment 'application icon',
source_url varchar(255) comment 'application homepage - used for source link', source_url varchar(255) comment 'application homepage - used for source link',