summaryrefslogtreecommitdiffstats
path: root/create/mysql
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-03-19 17:59:16 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-03-19 17:59:16 +0000
commit868a3852584b13e03c84442cb6dad32971f9b127 (patch)
tree9f6a614b918a0b4fda5ea6ca33a879faf4ace23d /create/mysql
parent06039f6164b8ec63d2bb16dc55ff257ec6d5c896 (diff)
downloadzabbix-868a3852584b13e03c84442cb6dad32971f9b127.tar.gz
zabbix-868a3852584b13e03c84442cb6dad32971f9b127.tar.xz
zabbix-868a3852584b13e03c84442cb6dad32971f9b127.zip
- hard-linked templates works when adding graph element (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1717 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/mysql')
-rw-r--r--create/mysql/schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/create/mysql/schema.sql b/create/mysql/schema.sql
index ad5a128b..cd7b9bb6 100644
--- a/create/mysql/schema.sql
+++ b/create/mysql/schema.sql
@@ -76,7 +76,7 @@ CREATE TABLE graphs (
yaxismin double(16,4) DEFAULT '0' NOT NULL,
yaxismax double(16,4) DEFAULT '0' NOT NULL,
PRIMARY KEY (graphid),
- UNIQUE (name)
+ KEY (name)
) type=InnoDB;
--