From f42ce65768c14d7f6bd35f7657133e5b2e8205ad Mon Sep 17 00:00:00 2001 From: abijah Date: Mon, 1 Jun 2009 07:26:00 +0000 Subject: [PATCH] Changed the charge_to date to allow NULL, since not all charges cover a time period (security deposits, some late charges, POS, etc) git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@61 97e9348a-65ac-dc4b-aefc-98561f571b83 --- db/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/schema.sql b/db/schema.sql index d78adee..0baef5a 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -778,7 +778,7 @@ CREATE TABLE `pmgr_charges` ( `charge_type_id` INT(10) UNSIGNED NOT NULL, `lease_id` INT(10) UNSIGNED NOT NULL, `charge_date` DATE NOT NULL, - `charge_to_date` DATE NOT NULL, + `charge_to_date` DATE DEFAULT NULL, `due_date` DATE DEFAULT NULL, `amount` FLOAT(12,2) NOT NULL, `tax` FLOAT(12,2) NOT NULL,