Added creation of States table;

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@700 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-12-11 15:21:51 +00:00
parent e070dcebd1
commit 56cd833cd4
2 changed files with 18 additions and 0 deletions

View File

@ -39,6 +39,14 @@ alter table Monitors drop column X10Activation ;
alter table Monitors drop column X10AlarmInput ;
alter table Monitors drop column X10AlarmOutput ;
--
-- Table structure for table `States`
--
CREATE TABLE States (
Name varchar(32) NOT NULL default '',
Definition tinytext NOT NULL,
PRIMARY KEY (Name)
) TYPE=MyISAM;
--
-- These are optional, but we might as well
--
optimize table Frames;

View File

@ -220,6 +220,16 @@ CREATE TABLE Zones (
UNIQUE KEY UC_Id (Id)
) TYPE=MyISAM;
--
-- Table structure for table `States`
--
CREATE TABLE States (
Name varchar(32) NOT NULL default '',
Definition tinytext NOT NULL,
PRIMARY KEY (Name)
) TYPE=MyISAM;
--
-- Create a default admin user.
--