summaryrefslogtreecommitdiff
path: root/db/statusnet.sql
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-05 01:24:21 +0000
committerZach Copley <zach@status.net>2010-02-05 01:24:21 +0000
commit82f11190734c203ed6b2fd4a07cb9460f25b2183 (patch)
treef8e48ced7bd88218bad76d30b2a46aacd06f7c3e /db/statusnet.sql
parent5e0cc07b0e687cf0d28d57ae80e5024b7e711fbd (diff)
OAuth app name should not be null
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r--db/statusnet.sql2
1 files changed, 1 insertions, 1 deletions
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',