update core files to be update to latest patches, gradle flywayclean flywaymigrate will drop and create database to latest schema - need to all agree where we start from when using migrations approach.

This commit is contained in:
Keith Woodlock
2013-04-02 00:08:39 +01:00
parent 8465664f89
commit c45b41e21a
3 changed files with 39 additions and 2 deletions
@@ -271,7 +271,8 @@ VALUES
('LoanCollateral',1),
('LoanPurpose',1),
('Gender',1),
('YesNo',1);
('YesNo',1),
('GuarantorRelationship',1);
INSERT INTO `m_code_value`(`code_id`,`code_value`,`order_position`)
select mc.id, 'Passport', 1
@@ -291,4 +292,30 @@ where mc.`code_name` = "Customer Identifier";
INSERT INTO `m_code_value`(`code_id`,`code_value`,`order_position`)
select mc.id, 'Any Other Id Type', 4
from m_code mc
where mc.`code_name` = "Customer Identifier";
where mc.`code_name` = "Customer Identifier";
-- Adding a few Default Guarantor Relationships
insert into m_code_value (code_id,code_value,order_position)
select id,"Spouse",0
from m_code
where m_code.code_name="GuarantorRelationship";
insert into m_code_value (code_id,code_value,order_position)
select id,"Parent",0
from m_code
where m_code.code_name="GuarantorRelationship";
insert into m_code_value (code_id,code_value,order_position)
select id,"Sibling",0
from m_code
where m_code.code_name="GuarantorRelationship";
insert into m_code_value (code_id,code_value,order_position)
select id,"Business Associate",0
from m_code
where m_code.code_name="GuarantorRelationship";
insert into m_code_value (code_id,code_value,order_position)
select id,"Other",0
from m_code
where m_code.code_name="GuarantorRelationship";