{ "hr_timerecording_type": { "name": "hr_timerecording_type", "fields": { "hr_timerecording_type_id": { "name": "hr_timerecording_type_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "hr_timerecording_type_name": { "name": "hr_timerecording_type_name", "type": "VARCHAR(50)", "null": false }, "hr_timerecording_type_custom_future": { "name": "hr_timerecording_type_custom_future", "type": "TINYINT(1)", "null": false }, "hr_timerecording_type_custom_past": { "name": "hr_timerecording_type_custom_past", "type": "TINYINT(1)", "null": false }, "hr_timerecording_type_correction": { "name": "hr_timerecording_type_correction", "type": "TINYINT(1)", "null": false }, "hr_timerecording_type_work": { "name": "hr_timerecording_type_work", "type": "TINYINT(1)", "null": false } } }, "hr_timerecording_type_l11n": { "name": "hr_timerecording_type_l11n", "fields": { "hr_timerecording_type_l11n_id": { "name": "hr_timerecording_type_l11n_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "hr_timerecording_type_l11n_title": { "name": "hr_timerecording_type_l11n_title", "type": "VARCHAR(255)", "null": false }, "hr_timerecording_type_l11n_type": { "name": "hr_timerecording_type_l11n_type", "type": "INT", "null": false, "foreignTable": "hr_timerecording_type", "foreignKey": "hr_timerecording_type_id" }, "hr_timerecording_type_l11n_language": { "name": "hr_timerecording_type_l11n_language", "type": "VARCHAR(2)", "default": null, "null": true, "foreignTable": "language", "foreignKey": "language_639_1" } } }, "hr_timerecording_session": { "name": "hr_timerecording_session", "fields": { "hr_timerecording_session_id": { "name": "hr_timerecording_session_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "hr_timerecording_session_type": { "name": "hr_timerecording_session_type", "type": "INT", "null": false, "foreignTable": "hr_timerecording_type", "foreignKey": "hr_timerecording_type_id" }, "hr_timerecording_session_start": { "name": "hr_timerecording_session_start", "type": "DATETIME", "null": false }, "hr_timerecording_session_end": { "name": "hr_timerecording_session_end", "type": "DATETIME", "null": true, "default": null }, "hr_timerecording_session_busy": { "name": "hr_timerecording_session_busy", "type": "INT", "null": false }, "hr_timerecording_session_createdat": { "name": "hr_timerecording_session_createdat", "type": "DATETIME", "null": false }, "hr_timerecording_session_employee": { "name": "hr_timerecording_session_employee", "type": "INT", "null": false, "foreignTable": "account", "foreignKey": "account_id" } } }, "hr_timerecording_session_element": { "name": "hr_timerecording_session_element", "fields": { "hr_timerecording_session_element_id": { "name": "hr_timerecording_session_element_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "hr_timerecording_session_element_status": { "name": "hr_timerecording_session_element_status", "type": "TINYINT", "null": false }, "hr_timerecording_session_element_dt": { "name": "hr_timerecording_session_element_dt", "type": "DATETIME", "null": false }, "hr_timerecording_session_element_session": { "name": "hr_timerecording_session_element_session", "type": "INT", "null": false, "foreignTable": "hr_timerecording_session", "foreignKey": "hr_timerecording_session_id" }, "hr_timerecording_session_element_createdat": { "name": "hr_timerecording_session_element_createdat", "type": "DATETIME", "null": false } } } }