Updated for v0.9.14
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@598 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
8f45d6a9d8
commit
83f8fd1e6e
|
@ -1,3 +1,3 @@
|
|||
AUTOMAKE_OPTIONS = gnu
|
||||
|
||||
EXTRA_DIST = zmschema.sql.z zmalter-0.0.1.sql zmalter-0.9.7.sql zmalter-0.9.8.sql zmalter-0.9.9.sql zmalter-0.9.10.sql zmalter-0.9.11.sql zmalter-0.9.12.sql
|
||||
EXTRA_DIST = zmschema.sql.z zmalter-0.0.1.sql zmalter-0.9.7.sql zmalter-0.9.8.sql zmalter-0.9.9.sql zmalter-0.9.10.sql zmalter-0.9.11.sql zmalter-0.9.12.sql zmalter-0.9.13.sql
|
||||
|
|
|
@ -117,7 +117,7 @@ sysconfdir = @sysconfdir@
|
|||
target_alias = @target_alias@
|
||||
AUTOMAKE_OPTIONS = gnu
|
||||
|
||||
EXTRA_DIST = zmschema.sql.z zmalter-0.0.1.sql zmalter-0.9.7.sql zmalter-0.9.8.sql zmalter-0.9.9.sql zmalter-0.9.10.sql zmalter-0.9.11.sql zmalter-0.9.12.sql
|
||||
EXTRA_DIST = zmschema.sql.z zmalter-0.0.1.sql zmalter-0.9.7.sql zmalter-0.9.8.sql zmalter-0.9.9.sql zmalter-0.9.10.sql zmalter-0.9.11.sql zmalter-0.9.12.sql zmalter-0.9.13.sql
|
||||
subdir = db
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
--
|
||||
-- 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;
|
|
@ -12,6 +12,28 @@ CREATE DATABASE /*!32312 IF NOT EXISTS*/ ZM_DB_NAME;
|
|||
|
||||
USE ZM_DB_NAME;
|
||||
|
||||
--
|
||||
-- Table structure for table 'Config'
|
||||
--
|
||||
|
||||
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;
|
||||
|
||||
--
|
||||
-- Table structure for table 'Events'
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue