oms-Organization/Admin/Install/db.json
Dennis Eichhorn 88c8a92fc4
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
fix permissions
2025-04-02 14:15:06 +00:00

105 lines
3.6 KiB
JSON

{
"organization_department": {
"name": "organization_department",
"fields": {
"organization_department_id": {
"name": "organization_department_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"organization_department_name": {
"name": "organization_department_name",
"type": "VARCHAR(50)",
"default": null,
"null": true
},
"organization_department_description": {
"name": "organization_department_description",
"type": "TEXT",
"default": null,
"null": true
},
"organization_department_descriptionraw": {
"name": "organization_department_descriptionraw",
"type": "TEXT",
"default": null,
"null": true
},
"organization_department_parent": {
"name": "organization_department_parent",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "organization_department",
"foreignKey": "organization_department_id"
},
"organization_department_status": {
"name": "organization_department_status",
"type": "TINYINT",
"default": null,
"null": true
},
"organization_department_unit": {
"name": "organization_department_unit",
"type": "INT",
"null": false,
"foreignTable": "unit",
"foreignKey": "unit_id"
}
}
},
"organization_position": {
"name": "organization_position",
"fields": {
"organization_position_id": {
"name": "organization_position_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"organization_position_name": {
"name": "organization_position_name",
"type": "VARCHAR(50)",
"default": null,
"null": true
},
"organization_position_description": {
"name": "organization_position_description",
"type": "TEXT",
"default": null,
"null": true
},
"organization_position_descriptionraw": {
"name": "organization_position_descriptionraw",
"type": "TEXT",
"default": null,
"null": true
},
"organization_position_parent": {
"name": "organization_position_parent",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "organization_position",
"foreignKey": "organization_position_id"
},
"organization_position_status": {
"name": "organization_position_status",
"type": "TINYINT",
"default": null,
"null": true
},
"organization_position_department": {
"name": "organization_position_department",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "organization_department",
"foreignKey": "organization_department_id"
}
}
}
}