oms-InvestmentManagement/Admin/Install/db.json
Dennis Eichhorn 1d5bad1406
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
Test fixes
2024-05-16 02:14:54 +00:00

635 lines
22 KiB
JSON
Executable File

{
"investmgmt_investment_type": {
"name": "investmgmt_investment_type",
"fields": {
"investmgmt_investment_type_id": {
"name": "investmgmt_investment_type_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_investment_type_name": {
"name": "investmgmt_investment_type_name",
"type": "VARCHAR(255)",
"null": false
}
}
},
"investmgmt_investment_type_l11n": {
"name": "investmgmt_investment_type_l11n",
"fields": {
"investmgmt_investment_type_l11n_id": {
"name": "investmgmt_investment_type_l11n_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_investment_type_l11n_title": {
"name": "investmgmt_investment_type_l11n_title",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_investment_type_l11n_type": {
"name": "investmgmt_investment_type_l11n_type",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_investment_type",
"foreignKey": "investmgmt_investment_type_id"
},
"investmgmt_investment_type_l11n_lang": {
"name": "investmgmt_investment_type_l11n_lang",
"type": "VARCHAR(2)",
"null": false,
"foreignTable": "language",
"foreignKey": "language_639_1"
}
}
},
"investmgmt_investment": {
"name": "investmgmt_investment",
"fields": {
"investmgmt_investment_id": {
"name": "investmgmt_investment_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_investment_name": {
"name": "investmgmt_investment_name",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_investment_description": {
"name": "investmgmt_investment_description",
"type": "TEXT",
"null": false
},
"investmgmt_investment_status": {
"name": "investmgmt_investment_status",
"type": "TINYINT",
"null": false
},
"investmgmt_investment_type": {
"name": "investmgmt_investment_type",
"type": "INT",
"null": true,
"default": null,
"foreignTable": "investmgmt_investment_type",
"foreignKey": "investmgmt_investment_type_id"
},
"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"
},
"investmgmt_investment_performance": {
"name": "investmgmt_investment_performance",
"type": "DATETIME",
"null": false
},
"investmgmt_investment_created_at": {
"name": "investmgmt_investment_created_at",
"type": "DATETIME",
"null": false
}
}
},
"investmgmt_investment_media": {
"name": "investmgmt_investment_media",
"fields": {
"investmgmt_investment_media_id": {
"name": "investmgmt_investment_media_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_investment_media_investment": {
"name": "investmgmt_investment_media_investment",
"type": "INT",
"null": false,
"foreignTable": "investmgmt_investment",
"foreignKey": "investmgmt_investment_id"
},
"investmgmt_investment_media_media": {
"name": "investmgmt_investment_media_media",
"type": "INT",
"null": false,
"foreignTable": "media",
"foreignKey": "media_id"
}
}
},
"investmgmt_investment_note": {
"name": "investmgmt_investment_note",
"fields": {
"investmgmt_investment_note_id": {
"name": "investmgmt_investment_note_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_investment_note_investment": {
"name": "investmgmt_investment_note_investment",
"type": "INT",
"null": false,
"foreignTable": "investmgmt_investment",
"foreignKey": "investmgmt_investment_id"
},
"investmgmt_investment_note_doc": {
"name": "investmgmt_investment_note_doc",
"type": "INT",
"null": false,
"foreignTable": "editor_doc",
"foreignKey": "editor_doc_id"
}
}
},
"investmgmt_option": {
"name": "investmgmt_option",
"fields": {
"investmgmt_option_id": {
"name": "investmgmt_option_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_option_name": {
"name": "investmgmt_option_name",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_option_description": {
"name": "investmgmt_option_description",
"type": "TEXT",
"null": false
},
"investmgmt_option_link": {
"name": "investmgmt_option_link",
"type": "TEXT",
"null": false
},
"investmgmt_option_approved": {
"name": "investmgmt_option_approved",
"type": "TINYINT",
"null": false
},
"investmgmt_option_investment": {
"name": "investmgmt_option_investment",
"type": "INT",
"null": false,
"foreignTable": "investmgmt_investment",
"foreignKey": "investmgmt_investment_id"
},
"investmgmt_option_supplier": {
"name": "investmgmt_option_supplier",
"type": "INT",
"null": true,
"default": null,
"foreignTable": "suppliermgmt_supplier",
"foreignKey": "suppliermgmt_supplier_id"
},
"investmgmt_option_supplier_alt": {
"name": "investmgmt_option_supplier_alt",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_option_item": {
"name": "investmgmt_option_item",
"type": "INT",
"null": true,
"default": null,
"foreignTable": "itemmgmt_item",
"foreignKey": "itemmgmt_item_id"
},
"investmgmt_option_parent": {
"name": "investmgmt_option_parent",
"type": "INT",
"null": true,
"default": null,
"foreignTable": "investmgmt_option",
"foreignKey": "investmgmt_option_id"
}
}
},
"investmgmt_attr_type": {
"name": "investmgmt_attr_type",
"fields": {
"investmgmt_attr_type_id": {
"name": "investmgmt_attr_type_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_attr_type_name": {
"name": "investmgmt_attr_type_name",
"type": "VARCHAR(255)",
"null": false,
"unique": true
},
"investmgmt_attr_type_datatype": {
"name": "investmgmt_attr_type_datatype",
"type": "INT(11)",
"null": false
},
"investmgmt_attr_type_fields": {
"name": "investmgmt_attr_type_fields",
"type": "INT(11)",
"null": false
},
"investmgmt_attr_type_custom": {
"name": "investmgmt_attr_type_custom",
"type": "TINYINT(1)",
"null": false
},
"investmgmt_attr_type_repeatable": {
"name": "investmgmt_attr_type_repeatable",
"type": "TINYINT(1)",
"null": false
},
"investmgmt_attr_type_internal": {
"name": "investmgmt_attr_type_internal",
"type": "TINYINT(1)",
"null": false
},
"investmgmt_attr_type_required": {
"comment": "Every item must have this attribute type if set to true.",
"name": "investmgmt_attr_type_required",
"type": "TINYINT(1)",
"null": false
},
"investmgmt_attr_type_pattern": {
"comment": "This is a regex validation pattern.",
"name": "investmgmt_attr_type_pattern",
"type": "VARCHAR(255)",
"null": false
}
}
},
"investmgmt_attr_type_l11n": {
"name": "investmgmt_attr_type_l11n",
"fields": {
"investmgmt_attr_type_l11n_id": {
"name": "investmgmt_attr_type_l11n_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_attr_type_l11n_title": {
"name": "investmgmt_attr_type_l11n_title",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_attr_type_l11n_type": {
"name": "investmgmt_attr_type_l11n_type",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_attr_type",
"foreignKey": "investmgmt_attr_type_id"
},
"investmgmt_attr_type_l11n_lang": {
"name": "investmgmt_attr_type_l11n_lang",
"type": "VARCHAR(2)",
"null": false,
"foreignTable": "language",
"foreignKey": "language_639_1"
}
}
},
"investmgmt_attr_value": {
"name": "investmgmt_attr_value",
"fields": {
"investmgmt_attr_value_id": {
"name": "investmgmt_attr_value_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_attr_value_default": {
"name": "investmgmt_attr_value_default",
"type": "TINYINT(1)",
"null": false
},
"investmgmt_attr_value_valueStr": {
"name": "investmgmt_attr_value_valueStr",
"type": "VARCHAR(255)",
"null": true,
"default": null
},
"investmgmt_attr_value_valueInt": {
"name": "investmgmt_attr_value_valueInt",
"type": "INT(11)",
"null": true,
"default": null
},
"investmgmt_attr_value_valueDec": {
"name": "investmgmt_attr_value_valueDec",
"type": "DECIMAL(19,5)",
"null": true,
"default": null
},
"investmgmt_attr_value_valueDat": {
"name": "investmgmt_attr_value_valueDat",
"type": "DATETIME",
"null": true,
"default": null
},
"investmgmt_attr_value_unit": {
"name": "investmgmt_attr_value_unit",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_attr_value_deptype": {
"name": "investmgmt_attr_value_deptype",
"type": "INT(11)",
"null": true,
"default": null,
"foreignTable": "investmgmt_attr_type",
"foreignKey": "investmgmt_attr_type_id"
},
"investmgmt_attr_value_depvalue": {
"name": "investmgmt_attr_value_depvalue",
"type": "INT(11)",
"null": true,
"default": null,
"foreignTable": "investmgmt_attr_value",
"foreignKey": "investmgmt_attr_value_id"
}
}
},
"investmgmt_attr_value_l11n": {
"name": "investmgmt_attr_value_l11n",
"fields": {
"investmgmt_attr_value_l11n_id": {
"name": "investmgmt_attr_value_l11n_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_attr_value_l11n_title": {
"name": "investmgmt_attr_value_l11n_title",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_attr_value_l11n_value": {
"name": "investmgmt_attr_value_l11n_value",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_attr_value",
"foreignKey": "investmgmt_attr_value_id"
},
"investmgmt_attr_value_l11n_lang": {
"name": "investmgmt_attr_value_l11n_lang",
"type": "VARCHAR(2)",
"null": false,
"foreignTable": "language",
"foreignKey": "language_639_1"
}
}
},
"investmgmt_option_attr_default": {
"name": "investmgmt_option_attr_default",
"fields": {
"investmgmt_option_attr_default_id": {
"name": "investmgmt_option_attr_default_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_option_attr_default_type": {
"name": "investmgmt_option_attr_default_type",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_attr_type",
"foreignKey": "investmgmt_attr_type_id"
},
"investmgmt_option_attr_default_value": {
"name": "investmgmt_option_attr_default_value",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_attr_value",
"foreignKey": "investmgmt_attr_value_id"
}
}
},
"investmgmt_option_attr": {
"name": "investmgmt_option_attr",
"fields": {
"investmgmt_option_attr_id": {
"name": "investmgmt_option_attr_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_option_attr_option": {
"name": "investmgmt_option_attr_option",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_option",
"foreignKey": "investmgmt_option_id"
},
"investmgmt_option_attr_type": {
"name": "investmgmt_option_attr_type",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_attr_type",
"foreignKey": "investmgmt_attr_type_id"
},
"investmgmt_option_attr_value": {
"name": "investmgmt_option_attr_value",
"type": "INT(11)",
"null": true,
"default": null,
"foreignTable": "investmgmt_attr_value",
"foreignKey": "investmgmt_attr_value_id"
}
}
},
"investmgmt_option_media": {
"name": "investmgmt_option_media",
"fields": {
"investmgmt_option_media_id": {
"name": "investmgmt_option_media_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_option_media_option": {
"name": "investmgmt_option_media_option",
"type": "INT",
"null": false,
"foreignTable": "investmgmt_option",
"foreignKey": "investmgmt_option_id"
},
"investmgmt_option_media_media": {
"name": "investmgmt_option_media_media",
"type": "INT",
"null": false,
"foreignTable": "media",
"foreignKey": "media_id"
}
}
},
"investmgmt_option_note": {
"name": "investmgmt_option_note",
"fields": {
"investmgmt_option_note_id": {
"name": "investmgmt_option_note_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_option_note_option": {
"name": "investmgmt_option_note_option",
"type": "INT",
"null": false,
"foreignTable": "investmgmt_option",
"foreignKey": "investmgmt_option_id"
},
"investmgmt_option_note_doc": {
"name": "investmgmt_option_note_doc",
"type": "INT",
"null": false,
"foreignTable": "editor_doc",
"foreignKey": "editor_doc_id"
}
}
},
"investmgmt_amount_type": {
"name": "investmgmt_amount_type",
"fields": {
"investmgmt_amount_type_id": {
"name": "investmgmt_amount_type_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_amount_type_name": {
"name": "investmgmt_amount_type_name",
"type": "VARCHAR(255)",
"null": false
}
}
},
"investmgmt_amount_type_l11n": {
"name": "investmgmt_amount_type_l11n",
"fields": {
"investmgmt_amount_type_l11n_id": {
"name": "investmgmt_amount_type_l11n_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_amount_type_l11n_title": {
"name": "investmgmt_amount_type_l11n_title",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_amount_type_l11n_type": {
"name": "investmgmt_amount_type_l11n_type",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_amount_type",
"foreignKey": "investmgmt_amount_type_id"
},
"investmgmt_amount_type_l11n_lang": {
"name": "investmgmt_amount_type_l11n_lang",
"type": "VARCHAR(2)",
"null": false,
"foreignTable": "language",
"foreignKey": "language_639_1"
}
}
},
"investmgmt_amount_group": {
"name": "investmgmt_amount_group",
"fields": {
"investmgmt_amount_group_id": {
"name": "investmgmt_amount_group_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_amount_group_name": {
"name": "investmgmt_amount_group_name",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_amount_group_type": {
"name": "investmgmt_amount_group_type",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_amount_type",
"foreignKey": "investmgmt_amount_type_id"
},
"investmgmt_amount_group_option": {
"name": "investmgmt_amount_group_option",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_option",
"foreignKey": "investmgmt_option_id"
}
}
},
"investmgmt_amount": {
"name": "investmgmt_amount",
"fields": {
"investmgmt_amount_id": {
"name": "investmgmt_amount_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"investmgmt_amount_name": {
"name": "investmgmt_amount_name",
"type": "VARCHAR(255)",
"null": false
},
"investmgmt_amount_amount": {
"name": "investmgmt_amount_amount",
"type": "BIGINT",
"null": false
},
"investmgmt_amount_date": {
"name": "investmgmt_amount_date",
"type": "DATETIME",
"null": true,
"default": null
},
"investmgmt_amount_group": {
"name": "investmgmt_amount_group",
"type": "INT(11)",
"null": false,
"foreignTable": "investmgmt_amount_group",
"foreignKey": "investmgmt_amount_group_id"
}
}
}
}