aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-20 15:49:23 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-20 15:49:23 +0000
commit226da79d7763a17d4a2bcd4d9b699e14c9103b9c (patch)
tree77695bdf9ab5cbf56b51c9d1ede5ff89f1581e3b /engine/schema
parentf00c9393e830c156cdff7322eab3b26eb3dcbe1a (diff)
downloadelgg-226da79d7763a17d4a2bcd4d9b699e14c9103b9c.tar.gz
elgg-226da79d7763a17d4a2bcd4d9b699e14c9103b9c.tar.bz2
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
Diffstat (limited to 'engine/schema')
-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 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,