mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-01-11 07:38:40 +00:00
349 lines
14 KiB
JSON
Executable File
349 lines
14 KiB
JSON
Executable File
{
|
|
"projectmanagement_project": {
|
|
"name": "projectmanagement_project",
|
|
"fields": {
|
|
"projectmanagement_project_id": {
|
|
"name": "projectmanagement_project_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_project_name": {
|
|
"name": "projectmanagement_project_name",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_description": {
|
|
"name": "projectmanagement_project_description",
|
|
"type": "TEXT",
|
|
"null": true
|
|
},
|
|
"projectmanagement_project_description_raw": {
|
|
"name": "projectmanagement_project_description_raw",
|
|
"type": "TEXT",
|
|
"null": true
|
|
},
|
|
"projectmanagement_project_calendar": {
|
|
"name": "projectmanagement_project_calendar",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "calendar",
|
|
"foreignKey": "calendar_id"
|
|
},
|
|
"projectmanagement_project_actualcosts": {
|
|
"name": "projectmanagement_project_actualcosts",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_budgetcosts": {
|
|
"name": "projectmanagement_project_budgetcosts",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_budgetearnings": {
|
|
"name": "projectmanagement_project_budgetearnings",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_actualearnings": {
|
|
"name": "projectmanagement_project_actualearnings",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_start": {
|
|
"name": "projectmanagement_project_start",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_end": {
|
|
"name": "projectmanagement_project_end",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_endestimated": {
|
|
"name": "projectmanagement_project_endestimated",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_progress": {
|
|
"name": "projectmanagement_project_progress",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_progress_type": {
|
|
"name": "projectmanagement_project_progress_type",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_created_at": {
|
|
"name": "projectmanagement_project_created_at",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_created_by": {
|
|
"name": "projectmanagement_project_created_by",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "account",
|
|
"foreignKey": "account_id"
|
|
},
|
|
"projectmanagement_project_unit": {
|
|
"name": "projectmanagement_project_unit",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "unit",
|
|
"foreignKey": "unit_id"
|
|
}
|
|
}
|
|
},
|
|
"projectmanagement_project_media": {
|
|
"name": "projectmanagement_project_media",
|
|
"fields": {
|
|
"projectmanagement_project_media_id": {
|
|
"name": "projectmanagement_project_media_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_project_media_src": {
|
|
"name": "projectmanagement_project_media_src",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "projectmanagement_project",
|
|
"foreignKey": "projectmanagement_project_id"
|
|
},
|
|
"projectmanagement_project_media_dst": {
|
|
"name": "projectmanagement_project_media_dst",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "media",
|
|
"foreignKey": "media_id"
|
|
}
|
|
}
|
|
},
|
|
"projectmanagement_task_relation": {
|
|
"name": "projectmanagement_task_relation",
|
|
"fields": {
|
|
"projectmanagement_task_relation_id": {
|
|
"name": "projectmanagement_task_relation_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_task_relation_src": {
|
|
"name": "projectmanagement_task_relation_src",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "task",
|
|
"foreignKey": "task_id"
|
|
},
|
|
"projectmanagement_task_relation_dst": {
|
|
"name": "projectmanagement_task_relation_dst",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "projectmanagement_project",
|
|
"foreignKey": "projectmanagement_project_id"
|
|
}
|
|
}
|
|
},
|
|
"projectmanagement_project_attr_type": {
|
|
"name": "projectmanagement_project_attr_type",
|
|
"fields": {
|
|
"projectmanagement_project_attr_type_id": {
|
|
"name": "projectmanagement_project_attr_type_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_project_attr_type_name": {
|
|
"name": "projectmanagement_project_attr_type_name",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_type_fields": {
|
|
"name": "projectmanagement_project_attr_type_fields",
|
|
"type": "INT(11)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_type_custom": {
|
|
"name": "projectmanagement_project_attr_type_custom",
|
|
"type": "TINYINT(1)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_type_repeatable": {
|
|
"name": "projectmanagement_project_attr_type_repeatable",
|
|
"type": "TINYINT(1)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_type_internal": {
|
|
"name": "projectmanagement_project_attr_type_internal",
|
|
"type": "TINYINT(1)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_type_required": {
|
|
"description": "Every project must have this attribute type if set to true.",
|
|
"name": "projectmanagement_project_attr_type_required",
|
|
"type": "TINYINT(1)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_type_pattern": {
|
|
"description": "This is a regex validation pattern.",
|
|
"name": "projectmanagement_project_attr_type_pattern",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
}
|
|
}
|
|
},
|
|
"projectmanagement_project_attr_type_l11n": {
|
|
"name": "projectmanagement_project_attr_type_l11n",
|
|
"fields": {
|
|
"projectmanagement_project_attr_type_l11n_id": {
|
|
"name": "projectmanagement_project_attr_type_l11n_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_project_attr_type_l11n_title": {
|
|
"name": "projectmanagement_project_attr_type_l11n_title",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_type_l11n_type": {
|
|
"name": "projectmanagement_project_attr_type_l11n_type",
|
|
"type": "INT(11)",
|
|
"null": false,
|
|
"foreignTable": "projectmanagement_project_attr_type",
|
|
"foreignKey": "projectmanagement_project_attr_type_id"
|
|
},
|
|
"projectmanagement_project_attr_type_l11n_lang": {
|
|
"name": "projectmanagement_project_attr_type_l11n_lang",
|
|
"type": "VARCHAR(2)",
|
|
"null": false,
|
|
"foreignTable": "language",
|
|
"foreignKey": "language_639_1"
|
|
}
|
|
}
|
|
},
|
|
"projectmanagement_project_attr_value": {
|
|
"name": "projectmanagement_project_attr_value",
|
|
"fields": {
|
|
"projectmanagement_project_attr_value_id": {
|
|
"name": "projectmanagement_project_attr_value_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_project_attr_value_default": {
|
|
"name": "projectmanagement_project_attr_value_default",
|
|
"type": "TINYINT(1)",
|
|
"null": false
|
|
},
|
|
"projectmanagement_project_attr_value_valueStr": {
|
|
"name": "projectmanagement_project_attr_value_valueStr",
|
|
"type": "VARCHAR(255)",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"projectmanagement_project_attr_value_valueInt": {
|
|
"name": "projectmanagement_project_attr_value_valueInt",
|
|
"type": "INT(11)",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"projectmanagement_project_attr_value_valueDec": {
|
|
"name": "projectmanagement_project_attr_value_valueDec",
|
|
"type": "DECIMAL(19,5)",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"projectmanagement_project_attr_value_valueDat": {
|
|
"name": "projectmanagement_project_attr_value_valueDat",
|
|
"type": "DATETIME",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"projectmanagement_project_attr_value_lang": {
|
|
"name": "projectmanagement_project_attr_value_lang",
|
|
"type": "VARCHAR(2)",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "language",
|
|
"foreignKey": "language_639_1"
|
|
},
|
|
"projectmanagement_project_attr_value_country": {
|
|
"name": "projectmanagement_project_attr_value_country",
|
|
"type": "VARCHAR(2)",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "country",
|
|
"foreignKey": "country_code2"
|
|
}
|
|
}
|
|
},
|
|
"projectmanagement_project_attr_default": {
|
|
"name": "projectmanagement_project_attr_default",
|
|
"fields": {
|
|
"projectmanagement_project_attr_default_id": {
|
|
"name": "projectmanagement_project_attr_default_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_project_attr_default_type": {
|
|
"name": "projectmanagement_project_attr_default_type",
|
|
"type": "INT(11)",
|
|
"null": false,
|
|
"foreignTable": "projectmanagement_project_attr_type",
|
|
"foreignKey": "projectmanagement_project_attr_type_id"
|
|
},
|
|
"projectmanagement_project_attr_default_value": {
|
|
"name": "projectmanagement_project_attr_default_value",
|
|
"type": "INT(11)",
|
|
"null": false,
|
|
"foreignTable": "projectmanagement_project_attr_value",
|
|
"foreignKey": "projectmanagement_project_attr_value_id"
|
|
}
|
|
}
|
|
},
|
|
"projectmanagement_project_attr": {
|
|
"name": "projectmanagement_project_attr",
|
|
"fields": {
|
|
"projectmanagement_project_attr_id": {
|
|
"name": "projectmanagement_project_attr_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"projectmanagement_project_attr_project": {
|
|
"name": "projectmanagement_project_attr_project",
|
|
"type": "INT(11)",
|
|
"null": false,
|
|
"foreignTable": "projectmanagement_project",
|
|
"foreignKey": "projectmanagement_project_id"
|
|
},
|
|
"projectmanagement_project_attr_type": {
|
|
"name": "projectmanagement_project_attr_type",
|
|
"type": "INT(11)",
|
|
"null": false,
|
|
"foreignTable": "projectmanagement_project_attr_type",
|
|
"foreignKey": "projectmanagement_project_attr_type_id"
|
|
},
|
|
"projectmanagement_project_attr_value": {
|
|
"name": "projectmanagement_project_attr_value",
|
|
"type": "INT(11)",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "projectmanagement_project_attr_value",
|
|
"foreignKey": "projectmanagement_project_attr_value_id"
|
|
}
|
|
}
|
|
}
|
|
} |