fineract-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100126 <...@git.apache.org>
Subject [GitHub] incubator-fineract pull request #215: creditbureau configuration
Date Mon, 21 Nov 2016 09:31:05 GMT
Github user nazeer1100126 commented on a diff in the pull request:

    https://github.com/apache/incubator-fineract/pull/215#discussion_r88853813
  
    --- Diff: fineract-provider/src/main/resources/sql/migrations/core_db/V312__Creditbureau_configuration.sql
---
    @@ -0,0 +1,61 @@
    +
    +
    +CREATE TABLE `m_creditbureau` (
    +  `id` bigint(20) NOT NULL AUTO_INCREMENT,
    +  `name` varchar(100) NOT NULL,
    +  `product` varchar(100) NOT NULL,
    +  `country` varchar(100) NOT NULL,
    +  `implementationKey` varchar(100) NOT NULL,
    +  PRIMARY KEY (`id`),
    +  UNIQUE KEY `unique impl` (`name`,`product`,`country`,`implementationKey`)
    +) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    +
    +
    +CREATE TABLE `m_organisation_creditbureau` (
    +  `id` bigint(20) NOT NULL AUTO_INCREMENT,
    +  `alias` varchar(50) NOT NULL,
    +  `creditbureau_id` bigint(20) NOT NULL,
    +  `is_active` tinyint(4) NOT NULL,
    +  PRIMARY KEY (`id`),
    +  UNIQUE KEY `morgcb` (`alias`,`creditbureau_id`),
    +  KEY `orgcb_cbfk` (`creditbureau_id`),
    +  CONSTRAINT `orgcb_cbfk` FOREIGN KEY (`creditbureau_id`) REFERENCES `m_creditbureau`
(`id`)
    +) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    +
    +
    +
    +
    +CREATE TABLE `m_creditbureau_configuration` (
    +  `id` bigint(20) NOT NULL AUTO_INCREMENT,
    +  `configkey` varchar(50) DEFAULT NULL,
    +  `value` varchar(50) DEFAULT NULL,
    +  `organisation_creditbureau_id` bigint(20) DEFAULT NULL,
    --- End diff --
    
    Is this config values vary based on alias table?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message