From: konrad Date: Fri, 29 Feb 2008 15:42:57 +0000 (+0000) Subject: small db fix X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=86a1d3d9b1d7a301481bcc1b3956a481674e5bb0;p=web%2Fkonrad%2Fsmoke.git small db fix git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@91 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- 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