From 226da79d7763a17d4a2bcd4d9b699e14c9103b9c Mon Sep 17 00:00:00 2001
From: icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Thu, 20 Mar 2008 15:49:23 +0000
Subject: Marcus Povey <marcus@dushka.co.uk> * Metadata now using metastrings *
 Entities will now throw an exception when creation is attempted with no owner

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

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

diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 78fb3e7be..c51b2b6a7 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -142,7 +142,7 @@ CREATE TABLE `prefix_annotations` (
 	
 	`entity_guid` bigint(20) unsigned  NOT NULL,
 	
-	`name` varchar(255) NOT NULL,
+	`name` int(11) NOT NULL,
 	`value_id` int(11) NOT NULL,
 	`value_type` enum ('integer','tag','text','file') NOT NULL,
 	
@@ -160,7 +160,7 @@ CREATE TABLE `prefix_metadata` (
 	
 	`entity_guid` bigint(20) unsigned  NOT NULL,
 	
-	`name` varchar(255) NOT NULL,
+	`name_id` int(11) NOT NULL,
 	`value_id` int(11) NOT NULL,
 	`value_type` enum ('integer','tag','text','file') NOT NULL,
 
-- 
cgit v1.2.3

