aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-14 09:43:40 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-14 09:43:40 +0000
commit9b312e76c67595c3ea24cb3056f386027c1a492a (patch)
tree80ddf120ff94e8fdb108d49d101a1f9df3b9f7d5
parent39780175ff176d11a54c1e4e0dee2ff537790392 (diff)
downloadelgg-9b312e76c67595c3ea24cb3056f386027c1a492a.tar.gz
elgg-9b312e76c67595c3ea24cb3056f386027c1a492a.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Relationships table brought in line with code... oops git-svn-id: https://code.elgg.org/elgg/trunk@440 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/schema/mysql.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 9cd51c30e..9646edb5e 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -48,10 +48,10 @@ CREATE TABLE `prefix_entity_relationships` (
`id` int(11) NOT NULL auto_increment,
`guid_one` bigint(20) unsigned NOT NULL,
- `relationship_type` varchar(50) NOT NULL,
+ `relationship` varchar(50) NOT NULL,
`guid_two` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`id`),
- UNIQUE KEY (`guid_one`,`relationship_type`,`guid_two`)
+ UNIQUE KEY (`guid_one`,`relationship`,`guid_two`)
) ENGINE=MyISAM ;
--