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:
@@ -630,8 +630,9 @@ DROP TABLE IF EXISTS `pmgr_customers`;
|
|||||||
CREATE TABLE `pmgr_customers` (
|
CREATE TABLE `pmgr_customers` (
|
||||||
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
|
||||||
-- If NULL, rely on the contact info exclusively
|
-- Customer name may be the same as the primary contact
|
||||||
`name` VARCHAR(80) DEFAULT NULL,
|
-- or it may entirely independent of that person.
|
||||||
|
`name` VARCHAR(80) NOT NULL,
|
||||||
|
|
||||||
-- Primary Contact... every customer must have one
|
-- Primary Contact... every customer must have one
|
||||||
-- (and presumably, most customers will _be_ one).
|
-- (and presumably, most customers will _be_ one).
|
||||||
|
|||||||
Reference in New Issue
Block a user