Updated for Users table.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@582 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
5afa02da6f
commit
01f9690515
|
@ -1,7 +1,7 @@
|
|||
--
|
||||
-- This updates a 0.9.12 database to 0.9.13
|
||||
--
|
||||
-- Nothing to change
|
||||
insert into Users values ('','admin',password('admin'),1,'View','Edit','Edit','Edit',NULL);
|
||||
--
|
||||
-- These are optional, it just seemed a good time...
|
||||
optimize table Frames;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
--
|
||||
-- Host: localhost Database: ZM_DB_NAME
|
||||
---------------------------------------------------------
|
||||
-- Server version 3.23.49
|
||||
-- Server version 3.23.49
|
||||
|
||||
--
|
||||
-- Current Database: ZM_DB_NAME
|
||||
|
@ -136,6 +136,25 @@ CREATE TABLE Stats (
|
|||
KEY ZoneId (ZoneId)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
-- Table structure for table 'Users'
|
||||
--
|
||||
|
||||
CREATE TABLE Users (
|
||||
Id int(10) unsigned NOT NULL auto_increment,
|
||||
Username varchar(32) NOT NULL default '',
|
||||
Password varchar(32) NOT NULL default '',
|
||||
Enabled tinyint(3) unsigned NOT NULL default '1',
|
||||
Stream enum('None','View') NOT NULL default 'None',
|
||||
Events enum('None','View','Edit') NOT NULL default 'None',
|
||||
Monitors enum('None','View','Edit') NOT NULL default 'None',
|
||||
System enum('None','View','Edit') NOT NULL default 'None',
|
||||
MonitorIds tinytext,
|
||||
PRIMARY KEY (Id),
|
||||
UNIQUE KEY UC_Id (Id),
|
||||
UNIQUE KEY UC_Username (Username)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
-- Table structure for table 'Zones'
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue