update install ddl with changes
This commit is contained in:
@@ -227,6 +227,7 @@ CREATE TABLE `m_role` (
|
||||
|
||||
CREATE TABLE `m_appuser` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`is_deleted` TINYINT(1) DEFAULT 0 NOT NULL,
|
||||
`office_id` bigint(20) DEFAULT NULL,
|
||||
`username` varchar(100) NOT NULL,
|
||||
`firstname` varchar(100) NOT NULL,
|
||||
@@ -529,6 +530,7 @@ CREATE TABLE `m_product_deposit` (
|
||||
CREATE TABLE `m_deposit_account` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`is_deleted` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`status_enum` smallint(5) NOT NULL DEFAULT '0',
|
||||
`external_id` varchar(100) DEFAULT NULL,
|
||||
`client_id` bigint(20) NOT NULL,
|
||||
`product_id` bigint(20) NOT NULL,
|
||||
@@ -537,12 +539,12 @@ CREATE TABLE `m_deposit_account` (
|
||||
`deposit_amount` decimal(19,6) DEFAULT NULL,
|
||||
`maturity_nominal_interest_rate` decimal(19,6) NOT NULL,
|
||||
`tenure_months` int(11) NOT NULL,
|
||||
`interest_compounded_every` smallint(5) NOT NULL DEFAULT '1',
|
||||
`interest_compounded_every_period_enum` smallint(5) NOT NULL DEFAULT '2',
|
||||
`projected_commencement_date` DATE NOT NULL,
|
||||
`actual_commencement_date` DATE DEFAULT NULL,
|
||||
`projected_maturity_date` DATE NOT NULL,
|
||||
`actual_maturity_date` DATE DEFAULT NULL,
|
||||
`interest_compounded_every` smallint(5) NOT NULL DEFAULT '1',
|
||||
`interest_compounded_every_period_enum` smallint(5) NOT NULL DEFAULT '2',
|
||||
`projected_commencement_date` date NOT NULL,
|
||||
`actual_commencement_date` date DEFAULT NULL,
|
||||
`projected_maturity_date` date NOT NULL,
|
||||
`actual_maturity_date` date DEFAULT NULL,
|
||||
`projected_interest_accrued_on_maturity` decimal(19,6) NOT NULL,
|
||||
`actual_interest_accrued` decimal(19,6) DEFAULT NULL,
|
||||
`projected_total_maturity_amount` decimal(19,6) NOT NULL,
|
||||
@@ -551,6 +553,9 @@ CREATE TABLE `m_deposit_account` (
|
||||
`renewed_account_id` bigint(20) DEFAULT NULL,
|
||||
`is_preclosure_allowed` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`pre_closure_interest_rate` decimal(19,6) NOT NULL,
|
||||
`withdrawnon_date` datetime DEFAULT NULL,
|
||||
`rejectedon_date` datetime DEFAULT NULL,
|
||||
`closedon_date` datetime DEFAULT NULL,
|
||||
`createdby_id` bigint(20) DEFAULT NULL,
|
||||
`created_date` datetime DEFAULT NULL,
|
||||
`lastmodified_date` datetime DEFAULT NULL,
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
|
||||
insert into m_permission (group_enum, code, default_description, default_name)
|
||||
values (0, "ALL_FUNCTIONS", "An application user will have permission to execute all tasks.", "ALL");
|
||||
|
||||
|
||||
insert into m_permission (group_enum, code, default_description, default_name)
|
||||
values (0, "ALL_FUNCTIONS_READ", "An application user will have permission to execute all read tasks.", "ALL READ");
|
||||
Reference in New Issue
Block a user