aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 11:00:55 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 11:00:55 +0000
commit1ad8a0f51959a7bcbf6e2f77e9f40f0d2f80bf64 (patch)
tree1c525bd2f65a4a24893bd11030389544b791e6c8 /engine/schema
parent5aab49586b238001f6b1ba085658ee1f14b37542 (diff)
downloadelgg-1ad8a0f51959a7bcbf6e2f77e9f40f0d2f80bf64.tar.gz
elgg-1ad8a0f51959a7bcbf6e2f77e9f40f0d2f80bf64.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Fixed db problems git-svn-id: https://code.elgg.org/elgg/trunk@150 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/schema')
-rw-r--r--engine/schema/mysql.sql10
1 files changed, 5 insertions, 5 deletions
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;
--