diff options
author | Andrew Dolgov <[email protected]> | 2011-04-20 16:17:57 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-20 16:17:57 +0400 |
commit | 1eb3012f82ada8c2f6c9a7d48aeaf39d9e07cfcc (patch) | |
tree | 7990e2ddb1c2fc7b8683ba43e34eae058801a289 /schema/ttrss_schema_mysql.sql | |
parent | bcce39e3d85972a89b683182a9ba245d241852ff (diff) |
schema: add unique constraint on access_key
Diffstat (limited to 'schema/ttrss_schema_mysql.sql')
-rw-r--r-- | schema/ttrss_schema_mysql.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index a3a7b695b..61fcff450 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -432,7 +432,7 @@ create table ttrss_linked_instances (id integer not null primary key auto_increm last_connected datetime not null, last_status_in integer not null, last_status_out integer not null, - access_key varchar(250) not null, + access_key varchar(250) not null unique, access_url text not null) TYPE=InnoDB DEFAULT CHARSET=UTF8; create table ttrss_linked_feeds ( |