From cf26f6438662d70eff617d0b5aef37d890edd0cc Mon Sep 17 00:00:00 2001 From: stan Date: Sun, 13 Nov 2005 17:29:42 +0000 Subject: [PATCH] Fixed incorrect field count when inserting admin user. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1588 e3e1d417-86f3-4887-817a-d78f3d33393f --- db/zmschema.sql.z | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/zmschema.sql.z b/db/zmschema.sql.z index 3f100ea53..e3956054b 100644 --- a/db/zmschema.sql.z +++ b/db/zmschema.sql.z @@ -375,7 +375,8 @@ CREATE TABLE Zones ( -- -- Create a default admin user. -- -insert into Users values ('','admin',password('admin'),'',1,'View','Edit','Edit','Edit',NULL); +insert into Users values ('','admin',password('admin'),'',1,'View','Edit','Edit','Edit','Edit','',''); + -- -- Add in a sample filter to purge the oldest 5 events when the disk is 95% full, delete is disabled though --