From bfe3b18837521cd9b550db76008d153f8305ed5a Mon Sep 17 00:00:00 2001 From: John Woodlock Date: Thu, 14 Mar 2013 13:05:56 +0000 Subject: [PATCH] WIP mifosx-194 cascading report UI params --- .../patches/22-add-parent-id-stretchy-parameter.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mifosng-db/patches/22-add-parent-id-stretchy-parameter.sql diff --git a/mifosng-db/patches/22-add-parent-id-stretchy-parameter.sql b/mifosng-db/patches/22-add-parent-id-stretchy-parameter.sql new file mode 100644 index 000000000..09963a8b9 --- /dev/null +++ b/mifosng-db/patches/22-add-parent-id-stretchy-parameter.sql @@ -0,0 +1,10 @@ + + +ALTER TABLE stretchy_parameter + ADD COLUMN `parent_parameter_id` INT(11) NULL AFTER `parameter_sql` , + ADD CONSTRAINT `fk_stretchy_parameter_0001` + FOREIGN KEY (`parent_parameter_id` ) + REFERENCES stretchy_parameter (`parameter_id` ) + ON DELETE NO ACTION + ON UPDATE NO ACTION +, ADD INDEX `fk_stretchy_parameter_0001_idx` (`parent_parameter_id` ASC) ;