mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1705 e3e1d417-86f3-4887-817a-d78f3d33393f
29 lines
688 B
SQL
29 lines
688 B
SQL
--
|
|
-- This updates a 0.9.13 database to 0.9.14
|
|
--
|
|
CREATE TABLE Config (
|
|
Id smallint(5) unsigned NOT NULL default '0',
|
|
Name varchar(32) NOT NULL default '',
|
|
Value text NOT NULL,
|
|
Type tinytext NOT NULL,
|
|
DefaultValue tinytext,
|
|
Hint tinytext,
|
|
Pattern tinytext,
|
|
Format tinytext,
|
|
Prompt tinytext,
|
|
Help text,
|
|
Category varchar(32) NOT NULL default '',
|
|
Readonly tinyint(3) unsigned NOT NULL default '0',
|
|
Requires text,
|
|
PRIMARY KEY (Name),
|
|
UNIQUE KEY UC_Name (Name)
|
|
) TYPE=MyISAM;
|
|
--
|
|
-- These are optional, but we might as well
|
|
optimize table Frames;
|
|
optimize table Events;
|
|
optimize table Filters;
|
|
optimize table Zones;
|
|
optimize table Monitors;
|
|
optimize table Stats;
|