From 86a1d3d9b1d7a301481bcc1b3956a481674e5bb0 Mon Sep 17 00:00:00 2001 From: konrad Date: Fri, 29 Feb 2008 15:42:57 +0000 Subject: [PATCH] small db fix git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@91 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- www/inc/db/db_scheme.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/inc/db/db_scheme.php b/www/inc/db/db_scheme.php index 51d4aa8..006cff8 100644 --- a/www/inc/db/db_scheme.php +++ b/www/inc/db/db_scheme.php @@ -71,12 +71,12 @@ class DbScheme { $this->scheme["customer"]=array( "customerid" => array("seq32","primarykey"), //contact data - "name" => array("string",notnull), + "name" => array("string","notnull"), "address" => array("string"), "contact" => array("string"),//phone or something "comments" => array("text"), //online login data - "email" => array("string"), + "email" => array("string","unique"), "passwd" => array("string:64"),//salted SHA-1 hash of passwd ); //orders by customers -- 1.7.2.5