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
This commit is contained in:
abijah
2009-07-07 00:42:05 +00:00
parent eba1267f00
commit c7d7c9e7e4

View File

@@ -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).