{ "loanmgmt_loan": { "name": "investmgmt_investment", "fields": { "investmgmt_investment_id": { "name": "investmgmt_investment_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "investmgmt_investment_title": { "name": "investmgmt_investment_title", "type": "VARCHAR(255)", "null": false }, "investmgmt_investment_description": { "name": "investmgmt_investment_description", "type": "TEXT", "null": false }, "investmgmt_investment_created_by": { "name": "investmgmt_investment_created_by", "type": "INT", "null": false, "foreignTable": "account", "foreignKey": "account_id" }, "investmgmt_investment_unit": { "name": "investmgmt_investment_unit", "type": "INT", "default": null, "null": true, "foreignTable": "unit", "foreignKey": "unit_id" } } } }