aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/schema/mysql.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 4526da43d..adb33318b 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -96,7 +96,8 @@ CREATE TABLE `prefix_sites_entity` (
`description` text NOT NULL,
`url` text NOT NULL,
- PRIMARY KEY (`guid`)
+ PRIMARY KEY (`guid`),
+ UNIQUE KEY (`url`)
) ENGINE=MyISAM ;
-- Extra information relating to "users"