ensure spring data jpa repositories in accounting package are picked up correctly for spring wiring. keep ordering on patches.

This commit is contained in:
Keith Woodlock
2012-11-27 13:54:53 +00:00
parent 5c38e151e8
commit bd678bd2b2
3 changed files with 4 additions and 7 deletions
@@ -0,0 +1,19 @@
ALTER TABLE m_permission
CHANGE COLUMN `is_maker_checker` `can_maker_checker` TINYINT(1) NOT NULL DEFAULT '1' ;
/*
add all checker permissions
*/
insert into m_permission(grouping, code, entity_name, action_name, can_maker_checker)
select grouping, concat(code, '_CHECKER'), entity_name, action_name, false
from m_permission
where code not like 'READ_%'
and grouping != 'special';
/* 5k not enough for command json */
ALTER TABLE m_portfolio_command_source
CHANGE COLUMN `command_as_json` `command_as_json` TEXT NOT NULL ;