diff options
-rw-r--r-- | engine/schema/mysql.sql | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql index dff19be35..0170b5aef 100644 --- a/engine/schema/mysql.sql +++ b/engine/schema/mysql.sql @@ -206,13 +206,13 @@ CREATE TABLE `prefix_annotations` ( -- Table structure for metadata
--
CREATE TABLE `prefix_metadata` (
- `id` int(11) NOT NULL auto_increment,
+ `id` int(11) NOT NULL auto_increment,motion netcam
`object_id` int(11) NOT NULL,
`object_type` enum ('object', 'user', 'collection', 'site') NOT NULL,
`name` varchar(255) NOT NULL,
- `value` text NOT NULL,
+ `value` int(11) NOT NULL,
`value_type` enum ('integer','tag','text','file') NOT NULL,
`owner_id` int(11) NOT NULL,
@@ -226,6 +226,17 @@ CREATE TABLE `prefix_metadata` ( ) ENGINE=MyISAM;
--
+-- Meta strings table
+--
+CREATE TABLE `prefix_metastrings` (
+ `id` int(11) NOT NULL auto_increment,
+ `value` text NOT NULL,
+
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `value`
+) ENGINE=MyISAM;
+
+--
-- API Users - Users who have access to the api (may not be real users)
--
CREATE TABLE `prefix_api_users` (
|