From c7d7c9e7e48b38cfaffb2d32ec9b7b12483bbc9c Mon Sep 17 00:00:00 2001 From: abijah Date: Tue, 7 Jul 2009 00:42:05 +0000 Subject: [PATCH] Now that we have a default customer name automatically provided, we've made 'name' a required field git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@235 97e9348a-65ac-dc4b-aefc-98561f571b83 --- db/schema.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db/schema.sql b/db/schema.sql index e666d5f..451453b 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -630,8 +630,9 @@ DROP TABLE IF EXISTS `pmgr_customers`; CREATE TABLE `pmgr_customers` ( `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, - -- If NULL, rely on the contact info exclusively - `name` VARCHAR(80) DEFAULT NULL, + -- Customer name may be the same as the primary contact + -- or it may entirely independent of that person. + `name` VARCHAR(80) NOT NULL, -- Primary Contact... every customer must have one -- (and presumably, most customers will _be_ one).