fixed mifosx-268 one to many datatable update and deletes fail maker checker approve... plus minor other changes

This commit is contained in:
John Woodlock
2013-03-21 22:20:32 +00:00
parent d24dc10818
commit ea9e24a270
14 changed files with 102 additions and 72 deletions
@@ -291,6 +291,7 @@ CREATE TABLE `m_portfolio_command_source` (
`loan_id` bigint(20) DEFAULT NULL,
`api_get_url` varchar(100) NOT NULL,
`resource_id` bigint(20) DEFAULT NULL,
`subresource_id` bigint(20) DEFAULT NULL,
`command_as_json` text NOT NULL,
`maker_id` bigint(20) NOT NULL,
`made_on_date` datetime NOT NULL,
@@ -0,0 +1,7 @@
/*
Datatables defined as one to many need a subresource_id for maker-checker approval
*/
ALTER TABLE m_portfolio_command_source
ADD COLUMN `subresource_id` BIGINT(20) NULL AFTER `resource_id` ;