diff options
author | Zach Copley <zach@status.net> | 2010-02-05 01:24:21 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-02-05 02:09:58 +0000 |
commit | 4180ab74d9381a1fc53f2a54733a499cb1ee2cad (patch) | |
tree | 2bcae1e242a1ec932dfd940748b6f56ba0c316a8 | |
parent | 6cf5df505a27135d6813b3aa6cb8a4da17556c97 (diff) |
OAuth app name should not be null
-rw-r--r-- | classes/statusnet.ini | 2 | ||||
-rw-r--r-- | db/statusnet.sql | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/statusnet.ini b/classes/statusnet.ini index a535159e8..5f8da7cf5 100644 --- a/classes/statusnet.ini +++ b/classes/statusnet.ini @@ -353,7 +353,7 @@ notice_id = K id = 129 owner = 129 consumer_key = 130 -name = 2 +name = 130 description = 2 icon = 130 source_url = 2 diff --git a/db/statusnet.sql b/db/statusnet.sql index 8946f4d7e..343464801 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) 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', icon varchar(255) not null comment 'application icon', source_url varchar(255) comment 'application homepage - used for source link', |