From 1ad8a0f51959a7bcbf6e2f77e9f40f0d2f80bf64 Mon Sep 17 00:00:00 2001
From: icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Tue, 11 Mar 2008 11:00:55 +0000
Subject: Marcus Povey <marcus@dushka.co.uk> * Fixed db problems

git-svn-id: https://code.elgg.org/elgg/trunk@150 36083f99-b078-4883-b0ff-0f9b5a30f544
---
 engine/schema/mysql.sql | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'engine/schema/mysql.sql')

diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 0170b5aef..af910dc6d 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -206,7 +206,7 @@ CREATE TABLE `prefix_annotations` (
 -- Table structure for metadata
 --
 CREATE TABLE `prefix_metadata` (
-	`id` int(11) NOT NULL auto_increment,motion netcam
+	`id` int(11) NOT NULL auto_increment,
 	
 	`object_id` int(11) NOT NULL,
 	`object_type` enum ('object', 'user', 'collection', 'site') NOT NULL,
@@ -214,10 +214,10 @@ CREATE TABLE `prefix_metadata` (
 	`name` varchar(255) NOT NULL,
 	`value` int(11) NOT NULL,
 	`value_type` enum ('integer','tag','text','file') NOT NULL,
-	
+
 	`owner_id` int(11) NOT NULL,
 	`created` int(11) NOT NULL,
-	
+
 	`access_id` int(11) NOT NULL,
 	
 	PRIMARY KEY (`id`),
@@ -230,10 +230,10 @@ CREATE TABLE `prefix_metadata` (
 --
 CREATE TABLE `prefix_metastrings` (
 	`id` int(11) NOT NULL auto_increment,
-	`value` text NOT NULL,
+	`tag` text NOT NULL,
 	
 	PRIMARY KEY (`id`),
-	UNIQUE KEY `value`
+	UNIQUE KEY (`tag`)
 ) ENGINE=MyISAM;
 
 --
-- 
cgit v1.2.3

