update DDL and patches files and move to migrations folder usage now.

This commit is contained in:
Keith Woodlock
2013-04-02 00:21:43 +01:00
parent c45b41e21a
commit 110d183176
12 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";