INSERT INTO `form_template_versions` (`id`, `form_template_id`, `version`, `schema_json`, `created_by`, `created_at`) VALUES
(58, 1, 56, '{\"components\":[{\"label\":\"Columns\",\"columns\":[{\"components\":[{\"html\":\"<figure class=\\\"image image-style-align-left image_resized\\\" style=\\\"width:28.29%;\\\"><img src=\\\"data:image/jpeg;base64,[BLOB]\\\"></figure>\",\"label\":\"Logo\",\"refreshOnChange\":false,\"key\":\"logo_block\",\"type\":\"content\",\"input\":false,\"tableView\":false}],\"width\":6,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":6},{\"components\":[{\"html\":\"<h4 style=\\\"text-align:center;\\\"><span class=\\\"text-huge\\\"><strong>GÖREV VE ÜCRET DEĞİŞİKLİK TALEP FORMU</strong></span></h4>\",\"label\":\"Label\",\"refreshOnChange\":true,\"key\":\"label_block2\",\"type\":\"content\",\"input\":false,\"tableView\":false}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50}],\"key\":\"columns\",\"type\":\"columns\",\"input\":false,\"tableView\":false},{\"html\":\"<p style=\\\"text-align:center;\\\"><span class=\\\"text-big\\\"><strong>PERSONELİN</strong></span></p>\",\"label\":\"Label\",\"refreshOnChange\":false,\"key\":\"label_block\",\"type\":\"content\",\"input\":false,\"tableView\":false},{\"label\":\"Adı Soyadı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"placeholder\":\"Personel Seçiniz\",\"tableView\":false,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employees\",\"headers\":[{\"key\":\"\",\"value\":\"\"}]},\"valueProperty\":\"id\",\"template\":\"{{ item.name }} ({{ item.dept_name || \\\"-\\\" }})\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"employee_id\",\"type\":\"select\",\"labelWidth\":10,\"labelMargin\":1,\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true},{\"html\":\"<p style=\\\"text-align:center;\\\"><span class=\\\"text-big\\\"><strong>GÖREV ve ÜCRET BİLGİLERİ</strong></span></p>\",\"label\":\"Label\",\"refreshOnChange\":true,\"key\":\"label_block1\",\"type\":\"content\",\"input\":false,\"tableView\":false},{\"label\":\"Table\",\"cellAlignment\":\"left\",\"striped\":true,\"bordered\":true,\"condensed\":true,\"key\":\"table\",\"conditional\":{\"show\":true},\"cellSizes\":[{\"row\":1,\"col\":2,\"width\":300,\"height\":60},{\"row\":2,\"col\":1,\"width\":300,\"height\":60},{\"row\":2,\"col\":2,\"width\":300,\"height\":60},{\"row\":3,\"col\":1,\"width\":300,\"height\":60},{\"row\":3,\"col\":2,\"width\":300,\"height\":60},{\"row\":1,\"col\":1,\"width\":300,\"height\":60}],\"type\":\"table\",\"numCols\":2,\"input\":false,\"tableView\":false,\"rows\":[[{\"components\":[{\"label\":\"Önceki Birimi\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"customClass\":\".rc-wide {   width: 600px !important; }\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/responsibility-centers\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"responsibility_center_id\",\"type\":\"select\",\"labelWidth\":14,\"labelMargin\":1,\"lazyLoad\":false,\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true}]},{\"components\":[{\"label\":\"Yeni Birimi\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/responsibility-centers\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"responsibility_center_id1\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]}],[{\"components\":[{\"label\":\"Önceki Ünvanı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employee-titles\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"title_name\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]},{\"components\":[{\"label\":\"Yeni Ünvanı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employee-titles\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"title_name1\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":10,\"labelMargin\":1}]}],[{\"components\":[{\"label\":\"Önceki Ücret\",\"labelPosition\":\"left-left\",\"suffix\":\"TL\",\"applyMaskOn\":\"change\",\"mask\":false,\"tableView\":false,\"delimiter\":false,\"requireDecimal\":false,\"inputFormat\":\"plain\",\"truncateMultipleSpaces\":false,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"oncekiUcret\",\"type\":\"number\",\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]},{\"components\":[{\"label\":\"Yeni Ücreti(Net)\",\"labelPosition\":\"left-left\",\"suffix\":\"TL\",\"displayMask\":\"Yeni Ücret Yazınız.\",\"applyMaskOn\":\"change\",\"mask\":false,\"tableView\":false,\"delimiter\":false,\"requireDecimal\":false,\"inputFormat\":\"plain\",\"truncateMultipleSpaces\":false,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"number1\",\"type\":\"number\",\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]}]]},{\"label\":\"Columns\",\"columns\":[{\"components\":[{\"label\":\"Birim Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"birimDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50},{\"components\":[{\"label\":\"Ünvan Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"unvanDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50},{\"components\":[{\"label\":\"Ücret Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"ucretDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":19,\"labelMargin\":1,\"input\":true}],\"size\":\"md\",\"width\":50,\"currentWidth\":50},{\"components\":[{\"label\":\"Geçerlilik Tarihi\",\"labelPosition\":\"left-left\",\"format\":\"dd-MM-yyyy hh:mm a\",\"tableView\":false,\"datePicker\":{\"disableWeekends\":false,\"disableWeekdays\":false},\"validate\":{\"required\":true},\"enableMinDateInput\":false,\"enableMaxDateInput\":false,\"validateWhenHidden\":false,\"key\":\"gecerlilikTarihi\",\"type\":\"datetime\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true,\"widget\":{\"type\":\"calendar\",\"displayInTimezone\":\"viewer\",\"locale\":\"en\",\"useLocaleSettings\":false,\"allowInput\":true,\"mode\":\"single\",\"enableTime\":true,\"noCalendar\":false,\"format\":\"dd-MM-yyyy hh:mm a\",\"hourIncrement\":1,\"minuteIncrement\":1,\"time_24hr\":false,\"minDate\":null,\"disableWeekends\":false,\"disableWeekdays\":false,\"maxDate\":null}}],\"size\":\"md\",\"width\":50,\"currentWidth\":50}],\"key\":\"columns1\",\"type\":\"columns\",\"input\":false,\"tableView\":false}]}', 464, '2026-02-11 15:17:33');
INSERT INTO `form_template_versions` (`id`, `form_template_id`, `version`, `schema_json`, `created_by`, `created_at`) VALUES
(59, 1, 57, '{\"components\":[{\"label\":\"Columns\",\"columns\":[{\"components\":[{\"html\":\"<figure class=\\\"image image-style-align-left image_resized\\\" style=\\\"width:28.29%;\\\"><img src=\\\"data:image/jpeg;base64,[BLOB]\\\"></figure>\",\"label\":\"Logo\",\"refreshOnChange\":false,\"key\":\"logo_block\",\"type\":\"content\",\"input\":false,\"tableView\":false}],\"width\":6,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":6},{\"components\":[{\"html\":\"<h4 style=\\\"text-align:center;\\\"><span class=\\\"text-huge\\\"><strong>GÖREV VE ÜCRET DEĞİŞİKLİK TALEP FORMU</strong></span></h4>\",\"label\":\"Label\",\"refreshOnChange\":true,\"key\":\"label_block2\",\"type\":\"content\",\"input\":false,\"tableView\":false}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50}],\"key\":\"columns\",\"type\":\"columns\",\"input\":false,\"tableView\":false},{\"html\":\"<p style=\\\"text-align:center;\\\"><span class=\\\"text-big\\\"><strong>PERSONELİN</strong></span></p>\",\"label\":\"Label\",\"refreshOnChange\":false,\"key\":\"label_block\",\"type\":\"content\",\"input\":false,\"tableView\":false},{\"label\":\"Adı Soyadı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"placeholder\":\"Personel Seçiniz\",\"tableView\":false,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employees\",\"headers\":[{\"key\":\"\",\"value\":\"\"}]},\"valueProperty\":\"id\",\"template\":\"{{ item.name }} ({{ item.dept_name || \\\"-\\\" }})\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"employee_id\",\"type\":\"select\",\"labelWidth\":10,\"labelMargin\":1,\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true},{\"html\":\"<p style=\\\"text-align:center;\\\"><span class=\\\"text-big\\\"><strong>GÖREV ve ÜCRET BİLGİLERİ</strong></span></p>\",\"label\":\"Label\",\"refreshOnChange\":true,\"key\":\"label_block1\",\"type\":\"content\",\"input\":false,\"tableView\":false},{\"label\":\"Table\",\"cellAlignment\":\"left\",\"striped\":true,\"bordered\":true,\"condensed\":true,\"key\":\"table\",\"conditional\":{\"show\":true},\"cellSizes\":[{\"row\":1,\"col\":2,\"width\":300,\"height\":60},{\"row\":2,\"col\":1,\"width\":300,\"height\":60},{\"row\":2,\"col\":2,\"width\":300,\"height\":60},{\"row\":3,\"col\":1,\"width\":300,\"height\":60},{\"row\":3,\"col\":2,\"width\":300,\"height\":60},{\"row\":1,\"col\":1,\"width\":300,\"height\":60}],\"type\":\"table\",\"numCols\":2,\"input\":false,\"tableView\":false,\"rows\":[[{\"components\":[{\"label\":\"Önceki Birimi\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"customClass\":\".rc-wide {   width: 600px !important; }\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/responsibility-centers\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"responsibility_center_id\",\"type\":\"select\",\"labelWidth\":14,\"labelMargin\":1,\"lazyLoad\":false,\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true}]},{\"components\":[{\"label\":\"Yeni Birimi\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/responsibility-centers\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"responsibility_center_id1\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]}],[{\"components\":[{\"label\":\"Önceki Ünvanı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employee-titles\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"title_name\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]},{\"components\":[{\"label\":\"Yeni Ünvanı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employee-titles\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"title_name1\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":10,\"labelMargin\":1}]}],[{\"components\":[{\"label\":\"Önceki Ücret\",\"labelPosition\":\"left-left\",\"suffix\":\"TL\",\"applyMaskOn\":\"change\",\"mask\":false,\"tableView\":false,\"delimiter\":false,\"requireDecimal\":false,\"inputFormat\":\"plain\",\"truncateMultipleSpaces\":false,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"oncekiUcret\",\"type\":\"number\",\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]},{\"components\":[{\"label\":\"Yeni Ücreti(Net)\",\"labelPosition\":\"left-left\",\"suffix\":\"TL\",\"displayMask\":\"Yeni Ücret Yazınız.\",\"applyMaskOn\":\"change\",\"mask\":false,\"tableView\":false,\"delimiter\":false,\"requireDecimal\":false,\"inputFormat\":\"plain\",\"truncateMultipleSpaces\":false,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"number1\",\"type\":\"number\",\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]}]]},{\"label\":\"Columns\",\"columns\":[{\"components\":[{\"label\":\"Birim Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"birimDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50},{\"components\":[{\"label\":\"Ünvan Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"unvanDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50},{\"components\":[{\"label\":\"Ücret Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"ucretDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":19,\"labelMargin\":1,\"input\":true}],\"size\":\"md\",\"width\":50,\"currentWidth\":50},{\"components\":[{\"label\":\"Geçerlilik Tarihi\",\"labelPosition\":\"left-left\",\"format\":\"dd-MM-yyyy hh:mm a\",\"tableView\":false,\"datePicker\":{\"disableWeekends\":false,\"disableWeekdays\":false},\"validate\":{\"required\":true},\"enableMinDateInput\":false,\"enableMaxDateInput\":false,\"validateWhenHidden\":false,\"key\":\"gecerlilikTarihi\",\"type\":\"datetime\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true,\"widget\":{\"type\":\"calendar\",\"displayInTimezone\":\"viewer\",\"locale\":\"en\",\"useLocaleSettings\":false,\"allowInput\":true,\"mode\":\"single\",\"enableTime\":true,\"noCalendar\":false,\"format\":\"dd-MM-yyyy hh:mm a\",\"hourIncrement\":1,\"minuteIncrement\":1,\"time_24hr\":false,\"minDate\":null,\"disableWeekends\":false,\"disableWeekdays\":false,\"maxDate\":null}}],\"size\":\"md\",\"width\":50,\"currentWidth\":50}],\"key\":\"columns1\",\"type\":\"columns\",\"input\":false,\"tableView\":false}]}', 464, '2026-02-12 10:22:15');
INSERT INTO `form_template_versions` (`id`, `form_template_id`, `version`, `schema_json`, `created_by`, `created_at`) VALUES
(60, 1, 58, '{\"components\":[{\"label\":\"Columns\",\"columns\":[{\"components\":[{\"html\":\"<figure class=\\\"image image-style-align-left image_resized\\\" style=\\\"width:28.29%;\\\"><img src=\\\"data:image/jpeg;base64,[BLOB]\\\"></figure>\",\"label\":\"Logo\",\"refreshOnChange\":false,\"key\":\"logo_block\",\"type\":\"content\",\"input\":false,\"tableView\":false}],\"width\":6,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":6},{\"components\":[{\"html\":\"<h4 style=\\\"text-align:center;\\\"><span class=\\\"text-huge\\\"><strong>GÖREV VE ÜCRET DEĞİŞİKLİK TALEP FORMU</strong></span></h4>\",\"label\":\"Label\",\"refreshOnChange\":true,\"key\":\"label_block2\",\"type\":\"content\",\"input\":false,\"tableView\":false}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50}],\"key\":\"columns\",\"type\":\"columns\",\"input\":false,\"tableView\":false},{\"html\":\"<p style=\\\"text-align:center;\\\"><span class=\\\"text-big\\\"><strong>PERSONELİN</strong></span></p>\",\"label\":\"Label\",\"refreshOnChange\":false,\"key\":\"label_block\",\"type\":\"content\",\"input\":false,\"tableView\":false},{\"label\":\"Adı Soyadı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"placeholder\":\"Personel Seçiniz\",\"tableView\":false,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employees\",\"headers\":[{\"key\":\"\",\"value\":\"\"}]},\"valueProperty\":\"id\",\"template\":\"{{ item.name }} ({{ item.dept_name || \\\"-\\\" }})\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"employee_id\",\"type\":\"select\",\"labelWidth\":10,\"labelMargin\":1,\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true},{\"html\":\"<p style=\\\"text-align:center;\\\"><span class=\\\"text-big\\\"><strong>GÖREV ve ÜCRET BİLGİLERİ</strong></span></p>\",\"label\":\"Label\",\"refreshOnChange\":true,\"key\":\"label_block1\",\"type\":\"content\",\"input\":false,\"tableView\":false},{\"label\":\"Table\",\"cellAlignment\":\"left\",\"striped\":true,\"bordered\":true,\"condensed\":true,\"key\":\"table\",\"conditional\":{\"show\":true},\"cellSizes\":[{\"row\":1,\"col\":2,\"width\":300,\"height\":60},{\"row\":2,\"col\":1,\"width\":300,\"height\":60},{\"row\":2,\"col\":2,\"width\":300,\"height\":60},{\"row\":3,\"col\":1,\"width\":300,\"height\":60},{\"row\":3,\"col\":2,\"width\":300,\"height\":60},{\"row\":1,\"col\":1,\"width\":300,\"height\":60}],\"type\":\"table\",\"numCols\":2,\"input\":false,\"tableView\":false,\"rows\":[[{\"components\":[{\"label\":\"Önceki Birimi\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"customClass\":\".rc-wide {   width: 600px !important; }\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/responsibility-centers\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"responsibility_center_id\",\"type\":\"select\",\"labelWidth\":14,\"labelMargin\":1,\"lazyLoad\":false,\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true}]},{\"components\":[{\"label\":\"Yeni Birimi\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/responsibility-centers\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"responsibility_center_id1\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]}],[{\"components\":[{\"label\":\"Önceki Ünvanı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employee-titles\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"title_name\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]},{\"components\":[{\"label\":\"Yeni Ünvanı\",\"labelPosition\":\"left-left\",\"widget\":\"choicesjs\",\"tableView\":true,\"dataSrc\":\"url\",\"data\":{\"url\":\"http://192.168.1.200/admin/assignments/employee-titles\",\"headers\":[[]]},\"valueProperty\":\"value\",\"template\":\"{{ item.label }}\",\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"title_name1\",\"type\":\"select\",\"selectValues\":\"data\",\"disableLimit\":false,\"noRefreshOnScroll\":false,\"input\":true,\"labelWidth\":10,\"labelMargin\":1}]}],[{\"components\":[{\"label\":\"Önceki Ücret\",\"labelPosition\":\"left-left\",\"suffix\":\"TL\",\"applyMaskOn\":\"change\",\"mask\":false,\"tableView\":false,\"delimiter\":false,\"requireDecimal\":false,\"inputFormat\":\"plain\",\"truncateMultipleSpaces\":false,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"oncekiUcret\",\"type\":\"number\",\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]},{\"components\":[{\"label\":\"Yeni Ücreti(Net)\",\"labelPosition\":\"left-left\",\"suffix\":\"TL\",\"displayMask\":\"Yeni Ücret Yazınız.\",\"applyMaskOn\":\"change\",\"mask\":false,\"tableView\":false,\"delimiter\":false,\"requireDecimal\":false,\"inputFormat\":\"plain\",\"truncateMultipleSpaces\":false,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"number1\",\"type\":\"number\",\"input\":true,\"labelWidth\":14,\"labelMargin\":1}]}]]},{\"label\":\"Columns\",\"columns\":[{\"components\":[{\"label\":\"Birim Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"birimDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50},{\"components\":[{\"label\":\"Ünvan Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"unvanDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true}],\"width\":50,\"offset\":0,\"push\":0,\"pull\":0,\"size\":\"md\",\"currentWidth\":50},{\"components\":[{\"label\":\"Ücret Değişiklik Nedeni\",\"labelPosition\":\"left-left\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validate\":{\"required\":true},\"validateWhenHidden\":false,\"key\":\"ucretDegisiklikNedeni\",\"type\":\"textfield\",\"labelWidth\":19,\"labelMargin\":1,\"input\":true}],\"size\":\"md\",\"width\":50,\"currentWidth\":50},{\"components\":[{\"label\":\"Geçerlilik Tarihi\",\"labelPosition\":\"left-left\",\"format\":\"dd-MM-yyyy hh:mm a\",\"tableView\":false,\"datePicker\":{\"disableWeekends\":false,\"disableWeekdays\":false},\"validate\":{\"required\":true},\"enableMinDateInput\":false,\"enableMaxDateInput\":false,\"validateWhenHidden\":false,\"key\":\"gecerlilikTarihi\",\"type\":\"datetime\",\"labelWidth\":20,\"labelMargin\":1,\"input\":true,\"widget\":{\"type\":\"calendar\",\"displayInTimezone\":\"viewer\",\"locale\":\"en\",\"useLocaleSettings\":false,\"allowInput\":true,\"mode\":\"single\",\"enableTime\":true,\"noCalendar\":false,\"format\":\"dd-MM-yyyy hh:mm a\",\"hourIncrement\":1,\"minuteIncrement\":1,\"time_24hr\":false,\"minDate\":null,\"disableWeekends\":false,\"disableWeekdays\":false,\"maxDate\":null}}],\"size\":\"md\",\"width\":50,\"currentWidth\":50}],\"key\":\"columns1\",\"type\":\"columns\",\"input\":false,\"tableView\":false}]}', 464, '2026-02-12 11:44:55');
INSERT INTO `form_template_versions` (`id`, `form_template_id`, `version`, `schema_json`, `created_by`, `created_at`) VALUES
(61, 2, 1, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 06:32:59'),
(62, 2, 2, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 06:37:04'),
(63, 2, 3, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 06:38:18'),
(64, 2, 4, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 06:43:23'),
(65, 2, 5, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 07:22:27'),
(66, 4, 1, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 07:34:44'),
(67, 5, 1, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 07:35:43'),
(68, 5, 2, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 07:40:42'),
(69, 4, 2, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 08:01:21'),
(70, 2, 6, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 10:44:10'),
(71, 2, 7, '{\"components\":[{\"label\":\"Text Field\",\"placeholder\":\"test\",\"applyMaskOn\":\"change\",\"tableView\":true,\"validateWhenHidden\":false,\"key\":\"textField\",\"type\":\"textfield\",\"input\":true},{\"type\":\"button\",\"label\":\"Submit\",\"key\":\"submit\",\"disableOnInvalid\":true,\"input\":true,\"tableView\":false}]}', 464, '2026-02-13 11:32:26');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `marketing_projects`
--

CREATE TABLE `marketing_projects` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(150) NOT NULL,
  `description` text DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_active` tinyint(3) UNSIGNED NOT NULL DEFAULT 1,
  `created_by_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `marketing_projects`
--

INSERT INTO `marketing_projects` (`id`, `name`, `description`, `color`, `sort_order`, `is_active`, `created_by_user_id`, `created_at`, `updated_at`) VALUES
(1, 'Genel Pazarlama', 'Varsayilan kanban projesi', '#16A34A', 0, 1, NULL, '2026-02-18 13:57:08', '2026-02-18 13:57:08'),
(2, 'test', 'test', NULL, 0, 1, 464, '2026-02-18 14:13:30', '2026-02-18 14:13:30');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `marketing_tasks`
--

CREATE TABLE `marketing_tasks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(180) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'todo',
  `priority` varchar(20) NOT NULL DEFAULT 'normal',
  `due_date` date DEFAULT NULL,
  `detail_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detail_json`)),
  `owner_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_active` tinyint(3) UNSIGNED NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `marketing_tasks`
--

INSERT INTO `marketing_tasks` (`id`, `project_id`, `title`, `description`, `status`, `priority`, `due_date`, `detail_json`, `owner_user_id`, `created_by_user_id`, `sort_order`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 1, 'test', NULL, 'todo', 'normal', '2026-02-19', NULL, 727, 464, 0, 0, '2026-02-18 14:11:31', '2026-02-18 14:17:43'),
(2, 2, 'test', NULL, 'todo', 'low', '2026-02-19', NULL, 727, 464, 0, 0, '2026-02-18 14:14:02', '2026-02-18 14:18:42'),
(3, 2, 'tes', 'test', 'todo', 'normal', '2026-02-19', NULL, 727, 464, 0, 0, '2026-02-18 14:18:27', '2026-02-18 14:18:50'),
(4, 2, 'TES', NULL, 'done', 'normal', '2026-02-19', NULL, 727, 464, 0, 1, '2026-02-18 14:29:08', '2026-03-10 13:29:45'),
(5, 2, '1', NULL, 'todo', 'normal', NULL, NULL, NULL, 464, 0, 1, '2026-03-04 09:25:47', '2026-03-10 06:33:11');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `marketing_task_activities`
--

CREATE TABLE `marketing_task_activities` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `task_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `activity_type` varchar(40) NOT NULL DEFAULT 'note',
  `title` varchar(180) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `attachment_name` varchar(255) DEFAULT NULL,
  `attachment_size` bigint(20) UNSIGNED DEFAULT NULL,
  `attachment_mime` varchar(150) DEFAULT NULL,
  `meta_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta_json`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `marketing_task_activities`
--

INSERT INTO `marketing_task_activities` (`id`, `task_id`, `user_id`, `activity_type`, `title`, `message`, `attachment_path`, `attachment_name`, `attachment_size`, `attachment_mime`, `meta_json`, `created_at`, `updated_at`) VALUES
(1, 4, 464, 'created', 'Kart olusturuldu', 'Yeni pazarlama karti olusturuldu.', NULL, NULL, NULL, NULL, NULL, '2026-02-18 14:29:08', '2026-02-18 14:29:08'),
(2, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-18 14:46:15', '2026-02-18 14:46:15'),
(3, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-18 14:50:29', '2026-02-18 14:50:29'),
(4, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-02-18 14:50:32', '2026-02-18 14:50:32'),
(5, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-02-18 14:50:34', '2026-02-18 14:50:34'),
(6, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-18 14:50:35', '2026-02-18 14:50:35'),
(7, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:50:36', '2026-02-18 14:50:36'),
(8, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-02-18 14:50:37', '2026-02-18 14:50:37'),
(9, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-18 14:50:40', '2026-02-18 14:50:40'),
(10, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:50:41', '2026-02-18 14:50:41'),
(11, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:50:42', '2026-02-18 14:50:42'),
(12, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-18 14:52:49', '2026-02-18 14:52:49'),
(13, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-02-18 14:52:50', '2026-02-18 14:52:50'),
(14, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:52:51', '2026-02-18 14:52:51'),
(15, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-18 14:52:52', '2026-02-18 14:52:52'),
(16, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-18 14:52:52', '2026-02-18 14:52:52'),
(17, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:52:56', '2026-02-18 14:52:56'),
(18, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:52:58', '2026-02-18 14:52:58'),
(19, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-18 14:52:58', '2026-02-18 14:52:58'),
(20, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-18 14:52:59', '2026-02-18 14:52:59'),
(21, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:53:00', '2026-02-18 14:53:00'),
(22, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:53:10', '2026-02-18 14:53:10'),
(23, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-18 14:53:11', '2026-02-18 14:53:11'),
(24, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-18 14:53:17', '2026-02-18 14:53:17'),
(25, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:53:18', '2026-02-18 14:53:18'),
(26, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:53:19', '2026-02-18 14:53:19'),
(27, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:53:19', '2026-02-18 14:53:19'),
(28, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-02-18 14:53:20', '2026-02-18 14:53:20'),
(29, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-02-18 14:53:22', '2026-02-18 14:53:22'),
(30, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:53:25', '2026-02-18 14:53:25'),
(31, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-18 14:53:26', '2026-02-18 14:53:26'),
(32, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-02-18 14:53:27', '2026-02-18 14:53:27'),
(33, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:53:27', '2026-02-18 14:53:27'),
(34, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:53:32', '2026-02-18 14:53:32'),
(35, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:53:33', '2026-02-18 14:53:33'),
(36, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:53:36', '2026-02-18 14:53:36'),
(37, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-02-18 14:53:37', '2026-02-18 14:53:37'),
(38, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-18 14:53:48', '2026-02-18 14:53:48'),
(39, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-18 14:53:50', '2026-02-18 14:53:50'),
(40, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:55:52', '2026-02-18 14:55:52'),
(41, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-18 14:55:53', '2026-02-18 14:55:53'),
(42, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-02-18 14:55:54', '2026-02-18 14:55:54'),
(43, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-18 14:55:55', '2026-02-18 14:55:55'),
(44, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-19 04:59:19', '2026-02-19 04:59:19'),
(45, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-02-19 04:59:20', '2026-02-19 04:59:20'),
(46, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-19 04:59:21', '2026-02-19 04:59:21'),
(47, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-23 06:26:00', '2026-02-23 06:26:00'),
(48, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-23 06:26:00', '2026-02-23 06:26:00'),
(49, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-23 06:26:02', '2026-02-23 06:26:02'),
(50, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-23 06:26:03', '2026-02-23 06:26:03'),
(51, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-23 06:26:04', '2026-02-23 06:26:04'),
(52, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-23 06:26:05', '2026-02-23 06:26:05'),
(53, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-23 06:26:06', '2026-02-23 06:26:06'),
(54, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-23 06:26:07', '2026-02-23 06:26:07'),
(55, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-23 06:26:39', '2026-02-23 06:26:39'),
(56, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-23 06:26:42', '2026-02-23 06:26:42'),
(57, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-23 06:26:42', '2026-02-23 06:26:42'),
(58, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-23 06:26:43', '2026-02-23 06:26:43'),
(59, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-23 06:26:44', '2026-02-23 06:26:44'),
(60, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-23 06:26:44', '2026-02-23 06:26:44'),
(61, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-23 06:26:47', '2026-02-23 06:26:47'),
(62, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-23 06:26:49', '2026-02-23 06:26:49'),
(63, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-23 06:26:50', '2026-02-23 06:26:50'),
(64, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-23 06:26:51', '2026-02-23 06:26:51'),
(65, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-24 05:19:57', '2026-02-24 05:19:57'),
(66, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-24 05:19:58', '2026-02-24 05:19:58'),
(67, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-24 05:19:59', '2026-02-24 05:19:59'),
(68, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-24 05:20:00', '2026-02-24 05:20:00'),
(69, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-24 05:20:00', '2026-02-24 05:20:00'),
(70, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-24 05:20:01', '2026-02-24 05:20:01'),
(71, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-24 05:20:01', '2026-02-24 05:20:01'),
(72, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-24 05:20:02', '2026-02-24 05:20:02'),
(73, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-24 05:20:07', '2026-02-24 05:20:07'),
(74, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-24 05:20:08', '2026-02-24 05:20:08'),
(75, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-24 09:08:27', '2026-02-24 09:08:27'),
(76, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-24 09:08:28', '2026-02-24 09:08:28'),
(77, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-25 10:08:20', '2026-02-25 10:08:20'),
(78, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-02-25 10:08:21', '2026-02-25 10:08:21'),
(79, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-25 10:08:21', '2026-02-25 10:08:21'),
(80, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-25 10:08:22', '2026-02-25 10:08:22'),
(81, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-25 10:08:24', '2026-02-25 10:08:24'),
(82, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-25 10:08:24', '2026-02-25 10:08:24'),
(83, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-26 07:45:24', '2026-02-26 07:45:24'),
(84, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-26 07:45:25', '2026-02-26 07:45:25'),
(85, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-02-26 07:45:26', '2026-02-26 07:45:26'),
(86, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-26 07:45:26', '2026-02-26 07:45:26'),
(87, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-26 07:45:30', '2026-02-26 07:45:30'),
(88, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-02-26 07:45:32', '2026-02-26 07:45:32'),
(89, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-02-26 07:45:36', '2026-02-26 07:45:36'),
(90, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-02-26 07:45:44', '2026-02-26 07:45:44'),
(91, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-02-26 07:45:50', '2026-02-26 07:45:50'),
(92, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 09:25:18', '2026-03-04 09:25:18'),
(93, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-03-04 09:25:19', '2026-03-04 09:25:19'),
(94, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-04 09:25:20', '2026-03-04 09:25:20'),
(95, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 09:25:20', '2026-03-04 09:25:20'),
(96, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 09:25:21', '2026-03-04 09:25:21'),
(97, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-03-04 09:25:22', '2026-03-04 09:25:22'),
(98, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-04 09:25:22', '2026-03-04 09:25:22'),
(99, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 09:25:23', '2026-03-04 09:25:23'),
(100, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 09:25:24', '2026-03-04 09:25:24'),
(101, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-03-04 09:25:25', '2026-03-04 09:25:25'),
(102, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-04 09:25:25', '2026-03-04 09:25:25'),
(103, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 09:25:27', '2026-03-04 09:25:27'),
(104, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 09:25:29', '2026-03-04 09:25:29'),
(105, 5, 464, 'created', 'Kart olusturuldu', 'Yeni pazarlama karti olusturuldu.', NULL, NULL, NULL, NULL, NULL, '2026-03-04 09:25:47', '2026-03-04 09:25:47'),
(106, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-03-04 09:25:52', '2026-03-04 09:25:52'),
(107, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-03-04 09:25:53', '2026-03-04 09:25:53'),
(108, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-03-04 09:25:54', '2026-03-04 09:25:54'),
(109, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-03-04 09:25:55', '2026-03-04 09:25:55'),
(110, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-03-04 12:20:40', '2026-03-04 12:20:40'),
(111, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:20:41', '2026-03-04 12:20:41'),
(112, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-04 12:20:42', '2026-03-04 12:20:42'),
(113, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:20:46', '2026-03-04 12:20:46'),
(114, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:20:47', '2026-03-04 12:20:47'),
(115, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:20:47', '2026-03-04 12:20:47'),
(116, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:20:48', '2026-03-04 12:20:48'),
(117, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-03-04 12:20:49', '2026-03-04 12:20:49'),
(118, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:20:50', '2026-03-04 12:20:50'),
(119, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:20:50', '2026-03-04 12:20:50'),
(120, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-04 12:20:51', '2026-03-04 12:20:51'),
(121, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:20:52', '2026-03-04 12:20:52'),
(122, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:20:52', '2026-03-04 12:20:52'),
(123, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:20:53', '2026-03-04 12:20:53'),
(124, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-03-04 12:20:54', '2026-03-04 12:20:54'),
(125, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:20:54', '2026-03-04 12:20:54'),
(126, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"todo\"}', '2026-03-04 12:20:55', '2026-03-04 12:20:55'),
(127, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:20:57', '2026-03-04 12:20:57'),
(128, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:21:00', '2026-03-04 12:21:00'),
(129, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:21:01', '2026-03-04 12:21:01'),
(130, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:21:02', '2026-03-04 12:21:02'),
(131, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:21:03', '2026-03-04 12:21:03'),
(132, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:21:04', '2026-03-04 12:21:04'),
(133, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:21:05', '2026-03-04 12:21:05'),
(134, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-04 12:21:06', '2026-03-04 12:21:06'),
(135, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-04 12:21:07', '2026-03-04 12:21:07'),
(136, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-03-04 12:21:07', '2026-03-04 12:21:07'),
(137, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-05 11:35:34', '2026-03-05 11:35:34'),
(138, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-06 05:44:57', '2026-03-06 05:44:57'),
(139, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-06 05:44:58', '2026-03-06 05:44:58'),
(140, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-03-06 05:44:59', '2026-03-06 05:44:59'),
(141, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-06 05:45:00', '2026-03-06 05:45:00'),
(142, 5, 464, 'status_change', 'Durum guncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-06 05:45:01', '2026-03-06 05:45:01'),
(143, 4, 464, 'status_change', 'Durum guncellendi', 'Durum: To Do -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"done\"}', '2026-03-06 05:45:02', '2026-03-06 05:45:02'),
(144, 5, 464, 'status_change', 'Durum güncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-06 07:23:26', '2026-03-06 07:23:26'),
(145, 5, 464, 'status_change', 'Durum güncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-06 07:23:26', '2026-03-06 07:23:26'),
(146, 5, 464, 'status_change', 'Durum güncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-06 07:23:27', '2026-03-06 07:23:27'),
(147, 5, 464, 'status_change', 'Durum güncellendi', 'Durum: To Do -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"todo\",\"new_status\":\"active\"}', '2026-03-06 07:23:28', '2026-03-06 07:23:28'),
(148, 5, 464, 'status_change', 'Durum güncellendi', 'Durum: In Progress -> To Do', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"todo\"}', '2026-03-10 06:33:11', '2026-03-10 06:33:11'),
(149, 4, 464, 'status_change', 'Durum güncellendi', 'Durum: Done -> In Progress', NULL, NULL, NULL, NULL, '{\"old_status\":\"done\",\"new_status\":\"active\"}', '2026-03-10 13:29:45', '2026-03-10 13:29:45'),
(150, 4, 464, 'status_change', 'Durum güncellendi', 'Durum: In Progress -> Done', NULL, NULL, NULL, NULL, '{\"old_status\":\"active\",\"new_status\":\"done\"}', '2026-03-10 13:29:45', '2026-03-10 13:29:45');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2026_01_09_000003_create_module_access_tables', 1),
(2, '0001_01_01_000000_create_users_table', 1),
(3, '0001_01_01_000001_create_cache_table', 1),
(4, '0001_01_01_000002_create_jobs_table', 1),
(5, '2026_02_01_000004_create_task_tables', 2),
(6, '2026_02_01_000005_add_task_attachments', 3),
(7, '2026_02_01_000006_create_password_resets_table', 4),
(8, '2026_02_01_000007_add_task_required_types', 5),
(9, '2026_02_01_000008_create_task_response_files_table', 6),
(10, '2026_02_05_000001_create_form_templates_table', 7),
(11, '2026_02_05_000002_create_form_template_versions_table', 7),
(12, '2026_02_05_000003_create_form_responses_table', 7),
(13, '2026_02_05_000004_create_form_response_fields_table', 7),
(14, '2026_02_05_000005_create_form_files_table', 7),
(15, '2026_02_05_000006_add_form_template_columns_to_tasks_table', 7),
(16, '2026_02_05_000007_create_form_menu_links_table', 8),
(17, '2026_02_05_000008_create_form_menu_groups_table', 9),
(18, '2026_02_05_000009_add_task_assignable_to_form_templates_table', 10),
(19, '2026_02_05_000010_add_paper_size_to_form_templates_table', 11),
(20, '2026_02_10_000000_create_sessions_table_if_missing', 12),
(21, '2026_02_10_000001_add_task_type_to_tasks_table', 13),
(22, '2026_02_10_000002_change_task_type_to_tinyint', 14),
(23, '2026_02_10_000002_create_camunda_identity_mappings_tables', 15),
(24, '2026_02_10_000003_fix_camunda_user_mappings_user_id_type', 15),
(25, '2026_02_10_000004_create_user_roles_table', 16),
(26, '2026_02_10_000005_create_menu_permissions_tables', 17),
(28, '2026_02_02_100000_create_roles_and_user_role_assignments', 18),
(29, '2026_02_02_100001_add_hierarchy_and_is_allowed_to_permissions', 18),
(30, '2026_02_10_000006_add_menu_scopes_to_user_menu_permissions_table', 18),
(31, '2026_02_02_120000_add_management_module', 19),
(42, '2026_02_11_000001_add_camunda_fields_to_form_templates', 20),
(43, '2026_02_11_000002_add_camunda_fields_to_form_responses', 20),
(44, '2026_02_11_000003_create_camunda_user_tasks_table', 20),
(45, '2026_02_11_160350_add_camunda_approver_role_to_form_templates_table', 21),
(46, '2026_02_12_105638_add_camunda_approver_user_id_to_form_templates_table', 22),
(47, '2026_02_12_112259_add_workflow_config_to_form_templates_table', 23),
(48, '2026_02_12_133809_create_form_approval_logs_table', 24),
(49, '2026_02_16_000001_add_assets_module_and_menu_permissions', 25),
(50, '2026_02_16_000002_create_asset_management_tables', 25),
(51, '2026_02_16_000003_create_user_notifications_table', 26),
(52, '2026_02_16_000004_create_asset_fault_notes_table', 27),
(53, '2026_02_16_000005_add_quantities_to_assets_and_assignments', 28),
(54, '2026_02_16_000006_create_asset_groups_and_fault_routing_columns', 29),
(55, '2026_02_16_000007_add_assets_extended_menu_permissions', 29),
(56, '2026_02_16_000007_add_attachment_columns_to_asset_fault_notes', 30),
(57, '2026_02_17_000001_add_metadata_json_to_asset_assignments', 31),
(58, '2026_02_17_000002_create_asset_shared_areas_and_assignee_columns', 32),
(59, '2026_02_17_000004_add_asset_shared_areas_menu_permission', 33),
(60, '2026_02_18_000001_create_marketing_module_and_tables', 34),
(61, '2026_02_18_000002_add_detail_json_to_marketing_tasks', 35),
(62, '2026_02_18_000003_create_marketing_task_activities_table', 36),
(63, '2026_02_25_000001_add_performance_indexes', 37),
(65, '2026_02_26_092431_add_mikro_stok_kod_to_assets_table', 38),
(66, '2026_02_26_130000_create_asset_lookups_table', 39),
(67, '2026_02_27_150000_add_depo_no_to_assets_table', 40),
(68, '2026_03_02_000001_backfill_asset_depo_no_as_merkez', 40),
(69, '2026_03_03_110000_create_mkt_destek_tables', 41),
(70, '2026_03_04_000001_add_is_marketing_team_to_asset_groups_table', 42),
(71, '2026_03_04_000002_drop_is_marketing_team_from_asset_groups_table', 43),
(72, '2026_03_04_000003_add_department_name_to_users_table', 44),
(73, '2026_03_04_000004_normalize_marketing_department_name_on_users_table', 45),
(74, '2026_03_04_000005_expand_marketing_workflow_fields', 46),
(75, '2026_03_06_000001_add_test_module', 47),
(76, '2026_03_06_000002_grant_tasks_menu_permissions_to_task_roles', 48),
(77, '2026_03_06_000003_add_test_menu_permission', 49),
(78, '2026_03_06_000004_grant_test_permissions_to_task_roles', 50),
(79, '2026_03_06_000005_create_test_workflow_tables', 51),
(80, '2026_03_06_000006_expand_test_request_form_and_attachments', 52),
(81, '2026_03_06_000007_create_test_workflow_config_tables', 53),
(82, '2026_03_06_000008_add_board_style_to_test_workflow_templates', 54),
(83, '2026_03_09_000012_fix_test_camunda_dynamic_routing', 55),
(84, '2026_03_09_000013_add_archive_columns_to_test_task_requests', 56),
(85, '2026_03_09_000014_make_marketing_support_selectable', 57),
(86, '2026_03_09_000009_add_test_todo_and_transition_columns', 58),
(87, '2026_03_09_000010_add_test_todo_menu_permission', 58),
(88, '2026_03_09_000011_seed_test_workflow_scenarios', 58),
(89, '2026_03_11_100000_add_request_open_enabled_to_test_task_units', 58),
(90, '2026_03_12_120000_rename_test_module_labels_to_talepler', 59),
(91, '2026_03_12_130000_rename_test_module_keys_and_tables_to_talepler', 60),
(93, '2026_03_12_140000_create_gelistirme_module_tables', 61),
(94, '2026_03_12_150000_create_talepler_request_access_rules_table', 62),
(95, '2026_03_12_170000_remove_gelistirme_module_and_tables', 63),
(96, '2026_03_16_120000_create_talepler_task_category_form_fields_table', 64),
(97, '2026_03_16_140000_add_default_assignee_to_talepler_task_categories', 64);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `mkt_destek_attachments`
--

CREATE TABLE `mkt_destek_attachments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `request_id` bigint(20) UNSIGNED NOT NULL,
  `original_name` varchar(260) NOT NULL,
  `stored_name` varchar(260) NOT NULL,
  `path` varchar(500) NOT NULL,
  `file_size` bigint(20) UNSIGNED DEFAULT NULL,
  `mime_type` varchar(120) DEFAULT NULL,
  `uploaded_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `mkt_destek_attachments`
--

INSERT INTO `mkt_destek_attachments` (`id`, `request_id`, `original_name`, `stored_name`, `path`, `file_size`, `mime_type`, `uploaded_by`, `created_at`, `updated_at`) VALUES
(1, 2, 'logo.jpg', 'att-20260303131536-5adcf44d80.jpg', 'uploads/marketing/destek/2/att-20260303131536-5adcf44d80.jpg', 33268, 'image/jpeg', 464, '2026-03-03 10:15:36', '2026-03-03 10:15:36'),
(2, 3, 'logo.jpg', 'att-20260303131539-fa457831d6.jpg', 'uploads/marketing/destek/3/att-20260303131539-fa457831d6.jpg', 33268, 'image/jpeg', 464, '2026-03-03 10:15:39', '2026-03-03 10:15:39'),
(3, 4, 'logo.jpg', 'att-20260303131555-c0d50cd524.jpg', 'uploads/marketing/destek/4/att-20260303131555-c0d50cd524.jpg', 33268, 'image/jpeg', 464, '2026-03-03 10:15:55', '2026-03-03 10:15:55'),
(4, 5, 'logo.jpg', 'att-20260303132416-0c238bd4c0.jpg', 'uploads/marketing/destek/5/att-20260303132416-0c238bd4c0.jpg', 33268, 'image/jpeg', 464, '2026-03-03 10:24:16', '2026-03-03 10:24:16'),
(5, 6, 'logo.jpg', 'att-20260303132505-1d3ecfea11.jpg', 'uploads/marketing/destek/6/att-20260303132505-1d3ecfea11.jpg', 33268, 'image/jpeg', 464, '2026-03-03 10:25:05', '2026-03-03 10:25:05'),
(6, 7, 'logo.jpg', 'att-20260303132700-ad505803c3.jpg', 'uploads/marketing/destek/7/att-20260303132700-ad505803c3.jpg', 33268, 'image/jpeg', 464, '2026-03-03 10:27:00', '2026-03-03 10:27:00'),
(7, 8, 'logo.jpg', 'att-20260303165031-9f6f947324.jpg', 'uploads/marketing/destek/8/att-20260303165031-9f6f947324.jpg', 33268, 'image/jpeg', 464, '2026-03-03 13:50:31', '2026-03-03 13:50:31'),
(8, 9, 'logo.jpg', 'att-20260303165114-9262b13702.jpg', 'uploads/marketing/destek/9/att-20260303165114-9262b13702.jpg', 33268, 'image/jpeg', 464, '2026-03-03 13:51:14', '2026-03-03 13:51:14'),
(9, 10, 'logo.jpg', 'att-20260304161540-26f7052a74.jpg', 'uploads/marketing/destek/10/att-20260304161540-26f7052a74.jpg', 33268, 'image/jpeg', 464, '2026-03-04 13:15:40', '2026-03-04 13:15:40'),
(10, 10, 'logo.PNG', 'att-20260304163429-f4e784586d.png', 'uploads/marketing/destek/10/att-20260304163429-f4e784586d.png', 23462, 'image/png', 464, '2026-03-04 13:34:29', '2026-03-04 13:34:29'),
(11, 12, 'logo.jpg', 'att-20260306084549-4c81ef257d.jpg', 'uploads/marketing/destek/12/att-20260306084549-4c81ef257d.jpg', 33268, 'image/jpeg', 727, '2026-03-06 05:45:49', '2026-03-06 05:45:49');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `mkt_destek_comments`
--

CREATE TABLE `mkt_destek_comments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `request_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `entry_type` enum('comment','status_change','assignment','system') NOT NULL DEFAULT 'comment',
  `message` text NOT NULL,
  `meta_json` varchar(2000) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `mkt_destek_comments`
--

INSERT INTO `mkt_destek_comments` (`id`, `request_id`, `user_id`, `entry_type`, `message`, `meta_json`, `created_at`, `updated_at`) VALUES
(1, 7, 464, 'system', 'Talep oluşturuldu.', NULL, '2026-03-03 10:27:00', '2026-03-03 10:27:00'),
(2, 7, 464, 'assignment', 'Talep üstlenildi. Analiz aşamasına alındı.', NULL, '2026-03-03 10:28:01', '2026-03-03 10:28:01'),
(3, 6, 464, 'status_change', 'Durum: Atanmamış → Devam Ediyor', NULL, '2026-03-03 11:26:06', '2026-03-03 11:26:06'),
(4, 6, 464, 'status_change', 'Durum: Devam Ediyor → Atanmamış', NULL, '2026-03-03 11:47:57', '2026-03-03 11:47:57'),
(5, 7, 464, 'status_change', 'Durum: Analiz → Atanmamış', NULL, '2026-03-03 11:48:05', '2026-03-03 11:48:05'),
(6, 8, 464, 'system', 'Talep oluşturuldu.', NULL, '2026-03-03 13:50:31', '2026-03-03 13:50:31'),
(7, 9, 464, 'system', 'Talep oluşturuldu.', NULL, '2026-03-03 13:51:14', '2026-03-03 13:51:14'),
(8, 9, 464, 'status_change', 'Durum: Atanmamış → Analiz', NULL, '2026-03-04 05:10:01', '2026-03-04 05:10:01'),
(9, 9, 464, 'status_change', 'Durum: Analiz → Atanmamış', NULL, '2026-03-04 06:10:21', '2026-03-04 06:10:21'),
(10, 9, 464, 'status_change', 'Durum: Atanmamış -> Atanmis', NULL, '2026-03-04 08:17:44', '2026-03-04 08:17:44'),
(11, 9, 464, 'status_change', 'Durum: Atanmis -> Atanmamış', NULL, '2026-03-04 08:18:40', '2026-03-04 08:18:40'),
(12, 9, 464, 'status_change', 'Durum: Atanmamış -> Atanmis', NULL, '2026-03-04 10:06:32', '2026-03-04 10:06:32'),
(13, 9, 464, 'status_change', 'Durum: Atanmis -> Atanmamış', NULL, '2026-03-04 10:06:39', '2026-03-04 10:06:39'),
(14, 9, 464, 'status_change', 'Durum: Atanmamış -> Atanmış', NULL, '2026-03-04 11:20:52', '2026-03-04 11:20:52'),
(15, 9, 924, 'system', 'Oncelik: Orta -> Düşük', NULL, '2026-03-04 11:22:35', '2026-03-04 11:22:35'),
(16, 10, 464, 'system', 'Talep oluşturuldu.', NULL, '2026-03-04 13:15:40', '2026-03-04 13:15:40'),
(17, 10, 464, 'status_change', 'Durum: Atanmamış -> Atanmış', NULL, '2026-03-04 13:25:30', '2026-03-04 13:25:30'),
(18, 10, 464, 'status_change', 'Durum: Atanmış -> Analiz', NULL, '2026-03-04 13:25:36', '2026-03-04 13:25:36'),
(19, 10, 464, 'status_change', 'Durum: Analiz -> Atanmamış', NULL, '2026-03-04 13:25:48', '2026-03-04 13:25:48'),
(20, 10, 464, 'comment', 'test', NULL, '2026-03-04 13:34:29', '2026-03-04 13:34:29'),
(21, 10, 464, 'status_change', 'Durum: Atanmamış -> Atanmış', NULL, '2026-03-04 13:36:53', '2026-03-04 13:36:53'),
(22, 10, 464, 'assignment', 'Atama: BURAK ERIS', NULL, '2026-03-04 13:36:53', '2026-03-04 13:36:53'),
(23, 10, 464, 'status_change', 'Durum: Atanmış -> Atanmamış', NULL, '2026-03-04 13:37:06', '2026-03-04 13:37:06'),
(24, 10, 464, 'assignment', 'Atama: Ortak Havuz', NULL, '2026-03-04 13:37:06', '2026-03-04 13:37:06'),
(25, 11, 727, 'system', 'Talep oluşturuldu.', NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(26, 12, 727, 'system', 'Talep oluşturuldu.', NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(27, 12, 924, 'status_change', 'Durum: Atanmamış -> Atanmış', NULL, '2026-03-06 05:49:52', '2026-03-06 05:49:52'),
(28, 12, 924, 'assignment', 'Atama: AHMET TALAK', NULL, '2026-03-06 05:49:52', '2026-03-06 05:49:52'),
(29, 12, 924, 'status_change', 'Durum: Atanmış -> Analiz', NULL, '2026-03-06 05:52:13', '2026-03-06 05:52:13'),
(30, 12, 924, 'system', 'Talep Solution Center asamasina aktarildi.', NULL, '2026-03-06 06:04:16', '2026-03-06 06:04:16');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `mkt_destek_requests`
--

CREATE TABLE `mkt_destek_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `request_key` varchar(20) NOT NULL,
  `category_key` varchar(80) NOT NULL,
  `request_type` varchar(250) NOT NULL,
  `summary` varchar(400) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(40) NOT NULL DEFAULT 'unassigned',
  `priority` enum('low','medium','high','critical') NOT NULL DEFAULT 'medium',
  `termin_date` date DEFAULT NULL,
  `reporter_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `assignee_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `control_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `solution_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `approver_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `customer_review_step` varchar(20) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `mkt_destek_requests`
--

INSERT INTO `mkt_destek_requests` (`id`, `request_key`, `category_key`, `request_type`, `summary`, `description`, `status`, `priority`, `termin_date`, `reporter_user_id`, `assignee_user_id`, `control_user_id`, `solution_user_id`, `approver_user_id`, `customer_review_step`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'PD-0001', 'canakkale', 'Yeni Ürün Tasarımı', 't', '', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 10:04:08', '2026-03-03 13:47:35'),
(2, 'PD-0002', 'canakkale', 'Yeni Ürün Tasarımı', 't', '', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 10:15:36', '2026-03-03 13:47:32'),
(3, 'PD-0003', 'canakkale', 'Yeni Ürün Tasarımı', 't', '', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 10:15:39', '2026-03-03 13:47:28'),
(4, 'PD-0004', 'canakkale', 'Yeni Ürün Tasarımı', 't', '', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 10:15:55', '2026-03-03 13:47:26'),
(5, 'PD-0005', 'canakkale', 'Yeni Ürün Tasarımı', 't', '', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 10:24:16', '2026-03-03 13:47:24'),
(6, 'PD-0006', 'canakkale', 'Yeni Ürün Tasarımı', 'a', '', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 10:25:05', '2026-03-03 13:47:22'),
(7, 'PD-0007', 'canakkale', 'Yeni Ürün Tasarımı', 't', 'a', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 10:27:00', '2026-03-03 13:47:20'),
(8, 'PD-0008', 'canakkale', 'Mevcut Ürün Tasarımı / Revize', 'test', '', 'unassigned', 'medium', NULL, 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-03 13:50:31', '2026-03-03 13:50:54'),
(9, 'PD-0009', 'peynirci_baba', 'Afiş / Branda', 'test', '', 'assigned', 'low', NULL, 464, 924, 923, NULL, NULL, NULL, 1, '2026-03-03 13:51:14', '2026-03-04 11:22:35'),
(10, 'PD-0010', 'peynirci_baba', 'Mevcut Ürün Tasarımı / Revize', 'test', '', 'unassigned', 'critical', '2026-03-06', 464, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-04 13:15:40', '2026-03-05 09:13:53'),
(11, 'PD-0011', 'peynirci_baba', 'Sarf Malzeme Talebi', 'test', 'teste', 'unassigned', 'medium', '2026-03-06', 727, NULL, NULL, NULL, NULL, NULL, 0, '2026-03-05 09:13:17', '2026-03-05 09:13:50'),
(12, 'PD-0012', 'peynirci_baba', 'Mevcut Ürün Tasarımı / Revize', 'revize', 'test', 'solution_center', 'medium', '2026-03-06', 727, 916, 915, 916, NULL, NULL, 1, '2026-03-06 05:45:49', '2026-03-06 06:04:16');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `performance_types`
--

CREATE TABLE `performance_types` (
  `id` int(11) NOT NULL,
  `name` varchar(120) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Tablo döküm verisi `performance_types`
--

INSERT INTO `performance_types` (`id`, `name`, `active`) VALUES
(29, 'ILK CEYREK', 1),
(30, 'IKINCI CEYREK', 1);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `positions`
--

CREATE TABLE `positions` (
  `id` int(11) NOT NULL,
  `name` varchar(120) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Tablo döküm verisi `positions`
--

INSERT INTO `positions` (`id`, `name`, `active`) VALUES
(617, 'URETIM', 1),
(618, 'ASCI', 1),
(619, 'SOFOR', 1),
(620, 'BEKCI', 1),
(621, 'MUDUR', 1),
(622, 'GIDA MUHENDISI', 1),
(623, 'YOGURT YARDIMCI ELEMANI', 1),
(624, 'DEPO PERS.', 1),
(625, 'TEKNIK PERSONEL', 1),
(626, 'MUDUR YARDIMCISI', 1),
(627, 'PAKETLEME', 1),
(628, 'URETIM MUDURU', 1),
(629, 'BEYAZ PEYNIR URETIM', 1),
(630, 'TAZE KASAR KALFA', 1),
(631, 'LABORATUVAR', 1),
(632, 'MUHASEBE PERS.', 1),
(633, 'GIDA TEKNIKERI', 1),
(634, 'KAZANCI', 1),
(635, 'MEYDANCI', 1),
(636, 'ESKI KASAR', 1),
(637, 'BEYAZ PEYNIR USTASI', 1),
(638, 'URETIM SORUMLU YRD.', 1),
(639, 'TEMIZLIK PERSONELI', 1),
(640, 'MAKINE BAKIM ONARIM', 1),
(641, 'ZEYTIN BOLM. UST.', 1),
(642, 'URETIM PERSONELI', 1),
(643, 'AV.YAKASI B.SATIS MDR.', 1),
(644, 'GURME BOL.PERS', 1),
(645, 'AMBALAJ', 1),
(646, 'ZEYTIN ARA ELEMANI', 1),
(647, 'ETIKETCI', 1),
(648, 'UZMAN', 1),
(649, 'FORKLİFT OPERATÖRÜ', 1),
(650, 'BOLGE SATIS MUD', 1),
(651, 'SAHA PERSONELI', 1),
(652, 'KALITE KONTROL SORUMLUSU', 1),
(653, 'MUHASEBE PERSONELI', 1),
(654, 'DEPO SORUMLUSU', 1),
(655, 'TEKNIK BAKIM SORUMLUSU', 1),
(656, 'DEPO PERSONELI', 1),
(657, 'MEKANIK BAKIM', 1),
(658, 'ZIRAI SATINALMA SORUMLUSU', 1),
(659, 'IHRACAT UZMANI', 1),
(660, 'UZMAN YARDIMCISI', 1),
(661, 'SATIS OPERASYON UZMANI', 1),
(662, 'INSAN KAYNKLARI', 1),
(663, 'HAMMADDE KONTROL SORUMLUSU', 1),
(664, 'SATIS-PAZARLAMA', 1),
(665, 'SUBE', 1),
(666, 'SATIS TEMSILCISI', 1),
(667, 'YONETICI ADAYI', 1),
(668, 'MAGAZALAR SATIS GELISTIRME', 1),
(669, '******', 1),
(670, 'KAMERA IZLEME', 1),
(671, 'KASIYER', 1),
(672, 'MAGAZALAR DESTEK HIZMETLER', 1),
(673, 'MUHASEBE', 1),
(674, 'KUZEY BATI MARMARA SATIS', 1),
(675, 'MAGAZA', 1),
(676, 'ALT YAPI GELISTIRME UZMAN YARDIMCISI', 1),
(677, 'SATIŞ VE OPERASYON YÖNETİCİSİ', 1),
(678, 'MALI VE IDARI ISLER BASKAN YARDIMCISI', 1),
(679, 'MAGAZALAR VE LOJISTIK BASKAN YARDIMCISI', 1),
(680, 'TEDARIK ZINCIRI YONETIMI BASKAN YARDIMCISI', 1),
(681, 'KUZEY BATI MARMARA BOLGE', 1),
(682, 'BAYI', 1),
(683, 'GUNEY MARMARA BOLGE', 1),
(684, 'ALTYAPI GELISTIRME', 1),
(685, 'DEPOLAR VE LOJISTIK', 1),
(686, 'PAZARLAMA UZMANI', 1),
(687, 'MAGAZALAR SATIS', 1),
(688, 'DEPO', 1),
(689, 'MUTFAK', 1),
(690, 'TEMIZLIK', 1),
(691, 'BILGI ISLEM UZMAN YARDIMCISI', 1),
(692, 'ARF OPERATORU', 1),
(693, 'MAL KABUL', 1),
(694, 'PAZARLAMA', 1),
(695, 'IADE DEPO', 1),
(696, 'BATI KARADENIZ BOLGE', 1),
(697, 'FINANS', 1),
(698, 'BILGI TEKNOLOJILERI', 1),
(699, 'SATINALMA MUDURU', 1),
(700, 'KURUMSAL ILETISIM', 1),
(701, 'GRAFIKER', 1),
(702, 'MAGAZA SATIS VE IYILESTIRME', 1),
(703, 'BORDRO', 1),
(704, 'E-TICARET GRUP', 1),
(705, 'EGITIM', 1),
(706, 'FORKLIFT', 1),
(707, 'FINANS UZMANI', 1),
(708, 'BUTCE PLANLAMA VE SISTEM YONETIMI', 1),
(709, 'IS GELISTIRME', 1),
(710, 'ARAC BAKIM ONARIM', 1),
(711, 'INSAAT MUHENDISI', 1),
(712, 'CAGRI MERK.MUST.TEMSILCISI', 1),
(713, 'MAGAZALAR SATIS VE SUREC', 1),
(714, 'REGULASYON', 1),
(715, 'OZLUK', 1),
(716, 'KALITE VE SUREC YONETIMI', 1),
(717, 'DANISMA', 1),
(718, 'DENETIM', 1),
(719, 'YONETICI ASISTANI', 1),
(720, 'E-TICARET', 1),
(721, 'TIR SOFORU', 1),
(722, 'MALI VE IDARI ISLER', 1),
(723, 'IDARI ISLER', 1),
(724, 'BOLGE MUDURU', 1),
(725, 'MAGAZALAR SUREC IYILESTIRME', 1),
(726, 'INSAN KAYNAKLARI UZMAN YARDIMCISI', 1),
(727, 'GOZETIM PERSONELI', 1),
(728, 'MAKAM SOFORU', 1),
(729, 'MUTFAK PERSONELI', 1),
(730, 'SATIN ALMA', 1),
(731, 'IKRAM', 1),
(732, 'KALITE KONTROL', 1),
(733, 'INSAN KAYNAKLARI', 1),
(734, 'ISE ALIM', 1),
(735, 'GUNEY MARMARA SATIS', 1),
(736, 'BATI KARAENIZ SATIS', 1),
(737, 'MUHASEBE UZMANI', 1),
(738, 'LOJISTIK', 1),
(739, 'MUSTERI ILISKILERI CALL CENTER', 1),
(740, 'MAI ISLER STRATEJI', 1),
(741, 'SOFOR BASI', 1),
(742, 'KALITE VE SUREC YONETIMI MUDURU', 1),
(743, 'DENETIM UZMANI', 1),
(744, 'DENETIM UZMAN YARDIMCISI', 1),
(745, 'BURO PERSONELI', 1),
(746, 'KAT SORUMLUSU', 1),
(747, 'HIZMET PERSONELI', 1),
(748, 'VİTRİN GÖRSEL TASARIM', 1),
(749, 'HALKLA ILISKILER', 1),
(750, 'STAJYER CIRAK', 1),
(751, 'A.YAKASI-EDT B.S.SORUMLU', 1),
(752, 'MUHASEBE UZMAN YARDIMCISI', 1),
(753, 'YAZILIM GELISTIRME UZMANI', 1),
(754, 'SUBE MUDURU', 1),
(755, 'OPERASYON YONETICISI', 1),
(756, 'VEKALETEN MAGAZA MUDURU', 1);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `questions`
--

CREATE TABLE `questions` (
  `id` int(11) NOT NULL,
  `set_id` int(11) DEFAULT NULL,
  `question_text` varchar(255) NOT NULL,
  `order_no` int(11) NOT NULL DEFAULT 0,
  `active` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Tablo döküm verisi `questions`
--

INSERT INTO `questions` (`id`, `set_id`, `question_text`, `order_no`, `active`) VALUES
(179, 17, 'Müşteri Memnuniyeti', 1, 1),
(180, 17, 'Satış Hedeflerine Uyma', 2, 1),
(181, 17, 'Ekip Çalışmasına Katkı', 3, 1),
(182, 17, 'A5-Mağaza Düzeni ve Temizliği', 4, 1),
(183, 17, 'İletişim ve İfade Yeteneği', 5, 1),
(184, 17, 'Ürün Bilgisi ve Tanıtımı', 6, 1),
(185, 17, 'Çalışma ve Mola Saatlerine Uyma', 7, 1),
(186, 17, 'Ast ve Üstleriyle Sağlıklı İletişim Kurma', 8, 1),
(187, 17, 'Karşılaştığı Problemleri Hızlı ve Doğru Biçimde Çözme, Fikir Geliştirme Araştırma, Farklı Düşünceler Ortaya Koyma Becerisi', 9, 1),
(188, 17, 'Zaman Yönetimi ve Verimlilik', 10, 1),
(189, 17, 'Terfi İçin Uygunluk Düzeyi', 11, 1),
(190, 17, 'Grubumuzda farklı görevlerde faydalı olma düzeyi', 12, 1),
(191, 19, 'Müşteri Memnuniyeti', 1, 1),
(192, 19, 'Satış Hedeflerine Uyma', 2, 1),
(193, 19, 'Ekip Çalışmasına Katkı', 3, 1),
(194, 19, 'A5-Mağaza Düzeni ve Temizliği', 4, 1),
(195, 19, 'İletişim ve İfade Yeteneği', 5, 1),
(196, 19, 'Ürün Bilgisi ve Tanıtımı', 6, 1),
(197, 19, 'Çalışma ve Mola Saatlerine Uyma', 7, 1),
(198, 19, 'Ast ve Üstleriyle Sağlıklı İletişim Kurma', 8, 1),
(199, 19, 'Karşılaştığı Problemleri Hızlı ve Doğru Biçimde Çözme, Fikir Geliştirme Araştırma, Farklı Düşünceler Ortaya Koyma Becerisi', 9, 1),
(200, 19, 'Zaman Yönetimi ve Verimlilik', 10, 1),
(201, 19, 'Terfi İçin Uygunluk Düzeyi', 11, 1),
(202, 19, 'Grubumuzda farklı görevlerde faydalı olma düzeyi', 12, 1);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `question_sets`
--

CREATE TABLE `question_sets` (
  `id` int(11) NOT NULL,
  `name` varchar(120) NOT NULL,
  `order_no` int(11) NOT NULL DEFAULT 0,
  `active` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Tablo döküm verisi `question_sets`
--

INSERT INTO `question_sets` (`id`, `name`, `order_no`, `active`) VALUES
(17, 'Temizlik', 1, 1),
(19, 'Karşılama', 2, 1);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `responsibility_centers`
--

CREATE TABLE `responsibility_centers` (
  `id` int(11) NOT NULL,
  `center_no` varchar(50) NOT NULL,
  `name` varchar(120) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Tablo döküm verisi `responsibility_centers`
--

INSERT INTO `responsibility_centers` (`id`, `center_no`, `name`, `active`) VALUES
(666, '01', 'MERKEZ', 1),
(667, '03', 'YENIMAHALLE', 1),
(668, '04', 'DURAK', 1),
(669, '06', 'AKSE', 1),
(670, '07', 'IZMIT', 1),
(671, '08', 'PENDIK', 1),
(672, '09', 'ISTASYON', 1),
(673, '10', 'HEYKEL', 1),
(674, '100', 'LOJISTIK-DEPOLAMA', 1),
(675, '11', 'DIKKALDIRIM', 1),
(676, '111', 'ESENYALI', 1),
(677, '112', 'YALOVA', 1),
(678, '114', 'YENIMAHALLE-2', 1),
(679, '115', 'CINARONU', 1),
(680, '119', 'HAMITLER', 1),
(681, '12', 'CUMA PAZARI', 1),
(682, '121', 'CUMALIKIZIK', 1),
(683, '124', 'SAPANBAGLARI', 1),
(684, '129', 'FOMARA', 1),
(685, '13', 'BEKIRPASA', 1),
(686, '130', 'ORHANGAZI-2', 1),
(687, '14', 'ORHANGAZI', 1),
(688, '141', 'YENIDOGAN', 1),
(689, '142', 'KARTAL-2', 1),
(690, '144', 'BAHCECIK', 1),
(691, '145', 'DEMIRCI', 1),
(692, '148', 'GUZELYALI', 1),
(693, '149', 'ARABAYATAGI', 1),
(694, '15', 'DARICA', 1),
(695, '154', 'AYDINLI-2', 1),
(696, '156', 'ARAPCESME', 1),
(697, '157', 'YALOVA TOKI', 1),
(698, '158', 'GEMLIK-2', 1),
(699, '159', 'SUSURLUK', 1),
(700, '16', 'MIMAR SINAN', 1),
(701, '161', 'ERDEK', 1),
(702, '17', 'BEYLIKBAGI', 1),
(703, '170', 'BEYOGLU', 1),
(704, '173', 'AKINCILAR TTM', 1),
(705, '175', 'SALI PAZARI', 1),
(706, '18', 'KUCUKYALI', 1),
(707, '182', 'ERENKOY', 1),
(708, '184', 'KDZ EREGLI', 1),
(709, '188', 'ANAFARTALAR', 1),
(710, '190', 'TOYGAR', 1),
(711, '192', 'SERDIVAN YAZLIK', 1),
(712, '193', 'DUMLUPINAR', 1),
(713, '196', 'BANDIRMA', 1),
(714, '197', 'MILLET MAH-2', 1),
(715, '199', '**FRANCHISE-YUVACIK', 1),
(716, '200', 'E-TICARET HIZLI MARKET', 1),
(717, '202', 'E-TICARET KARGO', 1),
(718, '203', 'E-TICARET TOPTAN', 1),
(719, '206', 'DEGIRMENDERE-2', 1),
(720, '207', 'KAYAPA', 1),
(721, '21', 'SULTAN ORHAN', 1),
(722, '211', 'YUVACIK', 1),
(723, '212', 'MALTEPE-2', 1),
(724, '213', 'KARACABEY', 1),
(725, '214', 'KEMALPASA', 1),
(726, '217', 'ESKISEHIR ASARCIKLI', 1),
(727, '22', 'GOLCUK-1', 1),
(728, '220', 'TUZLA-2', 1),
(729, '23', 'KORFEZ-1', 1),
(730, '24', 'KARTEPE SUBE', 1),
(731, '25', 'KARAMURSEL', 1),
(732, '26', 'GOLCUK-2', 1),
(733, '27', 'MUDANYA', 1),
(734, '28', 'KORFEZ-2', 1),
(735, '29', 'YILDIRIM', 1),
(736, '30', 'GEMLIK', 1),
(737, '301', 'IHRACAT AZERBAYCAN', 1),
(738, '31', 'HASANPASA', 1),
(739, '32', 'DILOVASI', 1),
(740, '33', 'CEVIZLI', 1),
(741, '34', 'KUMLA', 1),
(742, '35', 'DURAK-2', 1),
(743, '36', 'FSM', 1),
(744, '37', 'YAHYAKAPTAN', 1),
(745, '38', '23NISAN', 1),
(746, '41', 'DEGIRMENDERE', 1),
(747, '43', 'BAYRAMOGLU-2', 1),
(748, '44', 'TATLIKUYU', 1),
(749, '45', 'BAYRAMOGLU', 1),
(750, '46', 'GEMLIK-3', 1),
(751, '47', 'KURTKOY', 1),
(752, '48', 'MUTLUKENT', 1),
(753, '49', 'KOSEKOY', 1),
(754, '50', 'YESILOVA', 1),
(755, '500', 'PEYBA FABRIKA YANSITMA', 1),
(756, '501', 'PEYBA PAZARLAMA YANSITMA', 1),
(757, '502', 'PEYBA IHRACAT YANSITMA', 1),
(758, '503', 'SESBA', 1),
(759, '504', 'GUMUS', 1),
(760, '505', 'BESERLER', 1),
(761, '506', 'MB', 1),
(762, '507', 'BILBA', 1),
(763, '508', 'REKLAM PAZARLAMA', 1),
(764, '509', 'AKM FILO', 1),
(765, '51', 'TUZLA', 1),
(766, '52', 'CEKMEKOY', 1),
(767, '56', 'YARIMCA', 1),
(768, '66', 'KAZIMKARABEKIR', 1),
(769, '68', 'MANASTIR', 1),
(770, '70', 'KURTKOY-2', 1),
(771, '71', 'KESTEL', 1),
(772, '72', 'KORFEZKENT', 1),
(773, '73', 'GEBZE CARSI', 1),
(774, '74', 'GURSU', 1),
(775, '76', 'ASIROGLU', 1),
(776, '77', 'AYDINLI', 1),
(777, '78', 'ISTASYON-2', 1),
(778, '81', 'ALTMISEVLER', 1),
(779, '82', '*FRANCHISE-YUVACIK', 1),
(780, '83', 'MEHMETALIPASA', 1),
(781, '84', 'OZLUCE', 1),
(782, '85', 'KARASU', 1),
(783, '87', 'DIKKALDIRIM-2', 1),
(784, '90', 'DEMIRTAS', 1),
(785, '91', 'BURSA EMEK', 1),
(786, '97', 'DERINCE', 1),
(787, '98', 'AKPINAR', 1),
(788, 'B01', 'BAYI ORTAK GIDERLERI', 1),
(789, 'BSRKARTEPE', 'KARTEPE FABRIKA', 1),
(790, 'GMS01', 'MERKEZ', 1),
(791, 'GMS02', 'GELIBOLU FABRIKA', 1),
(792, 'PB01', 'PAZARLAMA', 1),
(793, 'PB02', 'GEMLİK FABRİKA', 1),
(794, 'PB03', '*******', 1),
(795, 'PB04', 'MERKEZ', 1),
(796, 'PB05', 'IHRACAT', 1),
(797, 'PB06', 'AKHISAR', 1),
(798, 'S01', 'SUBE ORTAK GIDERLERI', 1),
(799, '02', 'ERP Merkez 02', 1),
(800, '05', 'ERP Merkez 05', 1),
(801, 'BSR', 'ERP Merkez BSR', 1),
(802, 'GMS', 'ERP Merkez GMS', 1),
(803, 'PB', 'ERP Merkez PB', 1),
(804, '221', 'HACI OSMAN', 1);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `roles`
--

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(60) NOT NULL,
  `label` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `roles`
--

INSERT INTO `roles` (`id`, `name`, `label`, `created_at`, `updated_at`) VALUES
(1, 'admin', 'Admin', '2026-01-26 14:29:02', '2026-01-26 14:29:02'),
(2, 'manager', 'Manager', '2026-01-26 14:29:02', '2026-01-26 14:29:02'),
(4, 'bolgemuduru', 'BolgeMuduru', '2026-01-26 14:30:55', '2026-01-26 14:30:55'),
(8, 'superadmin', 'Süper Admin', '2026-02-02 08:39:26', '2026-02-02 08:39:26'),
(18, 'satismuduru', 'SatisMuduru', '2026-02-05 07:37:09', '2026-02-05 07:37:09'),
(19, 'ik', 'InsanKaynakları', '2026-02-12 05:33:42', '2026-02-12 05:33:42');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `role_menu_permissions`
--

CREATE TABLE `role_menu_permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `role` varchar(255) NOT NULL,
  `menu_permission_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `role_menu_permissions`
--

INSERT INTO `role_menu_permissions` (`id`, `role`, `menu_permission_id`, `created_at`, `updated_at`) VALUES
(1, 'admin', 26, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(2, 'admin', 1, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(3, 'admin', 7, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(4, 'admin', 3, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(5, 'admin', 6, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(6, 'admin', 4, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(7, 'admin', 8, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(8, 'admin', 5, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(9, 'admin', 2, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(10, 'admin', 13, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(11, 'admin', 20, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(12, 'admin', 19, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(13, 'admin', 18, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(14, 'admin', 17, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(15, 'admin', 16, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(16, 'admin', 21, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(17, 'admin', 12, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(18, 'admin', 14, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(20, 'admin', 10, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(21, 'admin', 9, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(22, 'admin', 11, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(23, 'admin', 23, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(24, 'admin', 22, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(25, 'admin', 25, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(26, 'admin', 24, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(27, 'admin', 27, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(55, 'admin', 28, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(57, 'admin', 29, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(59, 'superadmin', 2, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(60, 'superadmin', 3, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(61, 'superadmin', 4, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(62, 'superadmin', 5, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(63, 'superadmin', 6, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(64, 'superadmin', 7, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(65, 'superadmin', 8, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(66, 'superadmin', 9, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(67, 'superadmin', 10, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(68, 'superadmin', 11, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(69, 'superadmin', 12, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(70, 'superadmin', 13, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(71, 'superadmin', 14, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(73, 'superadmin', 16, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(74, 'superadmin', 17, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(75, 'superadmin', 18, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(76, 'superadmin', 19, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(77, 'superadmin', 20, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(78, 'superadmin', 21, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(79, 'superadmin', 22, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(80, 'superadmin', 23, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(81, 'superadmin', 24, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(82, 'superadmin', 25, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(83, 'superadmin', 26, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(84, 'superadmin', 27, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(85, 'superadmin', 28, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(86, 'superadmin', 29, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(87, 'superadmin', 1, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(89, 'admin', 31, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(90, 'admin', 32, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(91, 'admin', 33, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(92, 'superadmin', 33, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(93, 'superadmin', 31, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(94, 'superadmin', 32, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(95, 'admin', 36, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(96, 'admin', 35, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(97, 'admin', 34, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(98, 'admin', 37, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(99, 'superadmin', 36, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(100, 'superadmin', 35, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(101, 'superadmin', 34, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(102, 'superadmin', 37, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(103, 'admin', 39, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(104, 'admin', 40, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(105, 'admin', 38, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(106, 'superadmin', 39, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(107, 'superadmin', 40, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(108, 'superadmin', 38, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(109, 'admin', 41, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(110, 'superadmin', 41, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(111, 'admin', 42, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(112, 'superadmin', 42, '2026-02-25 11:03:31', '2026-02-25 11:03:31'),
(113, 'admin', 43, '2026-03-05 06:02:34', '2026-03-05 06:02:34'),
(114, 'superadmin', 43, '2026-03-05 06:02:34', '2026-03-05 06:02:34'),
(115, 'admin', 44, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(116, 'admin', 49, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(117, 'admin', 46, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(118, 'admin', 47, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(119, 'admin', 48, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(120, 'admin', 45, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(121, 'superadmin', 44, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(122, 'superadmin', 49, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(123, 'superadmin', 46, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(124, 'superadmin', 47, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(125, 'superadmin', 48, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(126, 'superadmin', 45, '2026-03-05 10:16:35', '2026-03-05 10:16:35'),
(127, 'admin', 50, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(128, 'superadmin', 50, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(129, 'admin', 51, '2026-03-05 10:50:57', '2026-03-05 10:50:57'),
(130, 'admin', 52, '2026-03-05 10:50:57', '2026-03-05 10:50:57'),
(131, 'superadmin', 51, '2026-03-05 10:50:57', '2026-03-05 10:50:57'),
(132, 'superadmin', 52, '2026-03-05 10:50:57', '2026-03-05 10:50:57'),
(133, 'admin', 53, '2026-03-05 11:23:38', '2026-03-05 11:23:38'),
(134, 'superadmin', 53, '2026-03-05 11:23:38', '2026-03-05 11:23:38'),
(135, 'bolgemuduru', 10, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(136, 'bolgemuduru', 50, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(137, 'bolgemuduru', 9, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(138, 'bolgemuduru', 11, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(139, 'manager', 10, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(140, 'manager', 50, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(141, 'manager', 9, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(142, 'manager', 11, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(143, 'satismuduru', 10, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(144, 'satismuduru', 50, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(145, 'satismuduru', 9, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(146, 'satismuduru', 11, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(147, 'ik', 10, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(148, 'ik', 50, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(149, 'ik', 9, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(150, 'ik', 11, '2026-03-06 08:18:03', '2026-03-06 08:18:03'),
(151, 'admin', 54, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(152, 'superadmin', 54, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(153, 'bolgemuduru', 54, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(154, 'ik', 54, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(155, 'manager', 54, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(156, 'satismuduru', 54, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(159, 'admin', 56, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(160, 'bolgemuduru', 56, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(161, 'ik', 56, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(162, 'manager', 56, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(163, 'satismuduru', 56, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(164, 'superadmin', 56, '2026-03-11 07:24:01', '2026-03-11 07:24:01');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `role_permissions`
--

CREATE TABLE `role_permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `role_permissions`
--

INSERT INTO `role_permissions` (`id`, `role_id`, `permission_id`, `created_at`, `updated_at`) VALUES
(1, 1, 3, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(2, 1, 4, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(3, 1, 5, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(4, 1, 6, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(5, 1, 1, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(6, 1, 2, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(7, 1, 7, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(8, 1, 8, '2026-01-27 09:21:36', '2026-01-27 09:21:36'),
(18, 1, 10, '2026-02-02 13:51:10', '2026-02-02 13:51:10'),
(19, 1, 9, '2026-02-02 13:51:10', '2026-02-02 13:51:10'),
(22, 8, 9, '2026-02-02 14:46:49', '2026-02-02 14:46:49'),
(23, 8, 10, '2026-02-02 14:46:49', '2026-02-02 14:46:49'),
(24, 8, 1, '2026-02-02 14:46:49', '2026-02-02 14:46:49'),
(25, 8, 2, '2026-02-02 14:46:49', '2026-02-02 14:46:49'),
(26, 8, 7, '2026-02-02 14:46:49', '2026-02-02 14:46:49'),
(27, 8, 8, '2026-02-02 14:46:49', '2026-02-02 14:46:49'),
(34, 4, 2, '2026-02-10 08:23:48', '2026-02-10 08:23:48'),
(35, 4, 1, '2026-02-10 08:23:48', '2026-02-10 08:23:48'),
(36, 4, 8, '2026-02-10 08:23:48', '2026-02-10 08:23:48'),
(37, 4, 7, '2026-02-10 08:23:48', '2026-02-10 08:23:48'),
(42, 1, 12, '2026-02-16 05:37:48', '2026-02-16 05:37:48'),
(43, 1, 11, '2026-02-16 05:37:48', '2026-02-16 05:37:48'),
(44, 8, 12, '2026-02-16 05:37:48', '2026-02-16 05:37:48'),
(45, 8, 11, '2026-02-16 05:37:48', '2026-02-16 05:37:48'),
(51, 2, 11, '2026-02-16 10:26:08', '2026-02-16 10:26:08'),
(52, 2, 2, '2026-02-16 10:26:08', '2026-02-16 10:26:08'),
(53, 2, 1, '2026-02-16 10:26:08', '2026-02-16 10:26:08'),
(54, 2, 8, '2026-02-16 10:26:08', '2026-02-16 10:26:08'),
(55, 2, 7, '2026-02-16 10:26:08', '2026-02-16 10:26:08'),
(56, 18, 11, '2026-02-16 10:26:20', '2026-02-16 10:26:20'),
(57, 18, 2, '2026-02-16 10:26:20', '2026-02-16 10:26:20'),
(58, 18, 1, '2026-02-16 10:26:20', '2026-02-16 10:26:20'),
(59, 18, 8, '2026-02-16 10:26:20', '2026-02-16 10:26:20'),
(60, 18, 7, '2026-02-16 10:26:20', '2026-02-16 10:26:20'),
(61, 19, 11, '2026-02-16 13:11:27', '2026-02-16 13:11:27'),
(62, 19, 2, '2026-02-16 13:11:27', '2026-02-16 13:11:27'),
(63, 19, 1, '2026-02-16 13:11:27', '2026-02-16 13:11:27'),
(64, 19, 8, '2026-02-16 13:11:27', '2026-02-16 13:11:27'),
(65, 19, 7, '2026-02-16 13:11:27', '2026-02-16 13:11:27'),
(66, 1, 14, '2026-02-18 13:57:08', '2026-02-18 13:57:08'),
(67, 1, 13, '2026-02-18 13:57:08', '2026-02-18 13:57:08'),
(68, 8, 14, '2026-02-18 13:57:08', '2026-02-18 13:57:08'),
(69, 8, 13, '2026-02-18 13:57:08', '2026-02-18 13:57:08'),
(70, 1, 16, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(71, 1, 15, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(72, 8, 16, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(73, 8, 15, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(74, 2, 16, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(75, 2, 15, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(76, 4, 16, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(77, 4, 15, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(78, 18, 16, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(79, 18, 15, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(80, 19, 16, '2026-03-06 08:44:17', '2026-03-06 08:44:17'),
(81, 19, 15, '2026-03-06 08:44:17', '2026-03-06 08:44:17');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `sessions`
--

CREATE TABLE `sessions` (
  `id` varchar(255) NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `payload` longtext NOT NULL,
  `last_activity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `sessions`
--

INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES
('NtKvxsQO0LoOR8idvWmauNcwL8ffXIg3y6s5FonG', 464, '10.10.12.107', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiWnZxM1B5dklIS1NJc1lXamduMFVNcDlVS3d6MmZydnpuZktqMUFvRyI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MDp7fXM6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjMzOiJodHRwOi8vMTkyLjE2OC4xLjIwMC9hZG1pbi9hc3NldHMiO3M6NToicm91dGUiO3M6MTg6ImFkbWluLmFzc2V0cy5pbmRleCI7fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjQ2NDt9', 1772009296),
('oWur63oHvguzJzUzMznVpdHND6m3zuSaZfnT35oI', 464, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', 'YTo0OntzOjY6Il90b2tlbiI7czo0MDoibmhVNmpoWFdwNUxmWVNUYVE1Q0t0YlZ3R01yenIxRk5NSmVZdkpHdSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6Mjk6Imh0dHA6Ly9sb2NhbGhvc3QvYWRtaW4vYXNzZXRzIjtzOjU6InJvdXRlIjtzOjE4OiJhZG1pbi5hc3NldHMuaW5kZXgiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX1zOjUwOiJsb2dpbl93ZWJfNTliYTM2YWRkYzJiMmY5NDAxNTgwZjAxNGM3ZjU4ZWE0ZTMwOTg5ZCI7aTo0NjQ7fQ==', 1772008959),
('Y7CFvc9uZ5fcHyjTh347CuV0sUEgsdihY00WJcRU', 464, '192.168.1.200', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoid2VwZXVBVU5kRjZBenB1NHdwcjhwV1JBQnl1OVB6eFNjRlZKcDVZbCI7czozOiJ1cmwiO2E6MDp7fXM6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ5OiJodHRwOi8vMTkyLjE2OC4xLjIwMC9hZG1pbi9mb3JtLXRlbXBsYXRlcz9zYXZlZD0xIjtzOjU6InJvdXRlIjtzOjI2OiJhZG1pbi5mb3JtLXRlbXBsYXRlcy5pbmRleCI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjQ2NDt9', 1772010606);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_request_access_rules`
--

CREATE TABLE `talepler_request_access_rules` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `source_type` varchar(20) NOT NULL DEFAULT 'unit',
  `source_unit_id` bigint(20) UNSIGNED DEFAULT NULL,
  `source_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `target_unit_id` bigint(20) UNSIGNED NOT NULL,
  `target_category_id` bigint(20) UNSIGNED DEFAULT NULL,
  `effect` varchar(10) NOT NULL DEFAULT 'allow',
  `note` varchar(500) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_request_access_rules`
--

INSERT INTO `talepler_request_access_rules` (`id`, `source_type`, `source_unit_id`, `source_user_id`, `target_unit_id`, `target_category_id`, `effect`, `note`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'unit', 28, NULL, 28, NULL, 'allow', NULL, 1, 10, '2026-03-12 10:42:09', '2026-03-13 07:20:36'),
(3, 'user', NULL, 727, 28, 1, 'allow', NULL, 1, 20, '2026-03-13 06:13:51', '2026-03-13 07:20:37');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_task_attachments`
--

CREATE TABLE `talepler_task_attachments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `request_id` bigint(20) UNSIGNED NOT NULL,
  `original_name` varchar(260) NOT NULL,
  `stored_name` varchar(260) NOT NULL,
  `path` varchar(500) NOT NULL,
  `file_size` bigint(20) UNSIGNED DEFAULT NULL,
  `mime_type` varchar(120) DEFAULT NULL,
  `uploaded_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_task_attachments`
--

INSERT INTO `talepler_task_attachments` (`id`, `request_id`, `original_name`, `stored_name`, `path`, `file_size`, `mime_type`, `uploaded_by`, `created_at`, `updated_at`) VALUES
(1, 1, 'logo.PNG', 'req-1-20260306141313-719dab5704.png', 'uploads/talepler-requests/1/req-1-20260306141313-719dab5704.png', 23462, 'image/png', 464, '2026-03-06 11:13:13', '2026-03-06 11:13:13'),
(2, 2, 'logo.jpg', 'req-2-20260309084558-64eaec1865.jpg', 'uploads/talepler-requests/2/req-2-20260309084558-64eaec1865.jpg', 33268, 'image/jpeg', 464, '2026-03-09 05:45:58', '2026-03-09 05:45:58'),
(3, 3, 'newlogo.jpg', 'req-3-20260309105118-1837ccda5b.jpg', 'uploads/talepler-requests/3/req-3-20260309105118-1837ccda5b.jpg', 54003, 'image/jpeg', 464, '2026-03-09 07:51:18', '2026-03-09 07:51:18'),
(4, 4, 'logo.PNG', 'req-4-20260309110550-770dbcb40a.png', 'uploads/talepler-requests/4/req-4-20260309110550-770dbcb40a.png', 23462, 'image/png', 464, '2026-03-09 08:05:50', '2026-03-09 08:05:50'),
(5, 5, 'logo.PNG', 'req-5-20260310084221-5aa9e05545.png', 'uploads/talepler-requests/5/req-5-20260310084221-5aa9e05545.png', 23462, 'image/png', 464, '2026-03-10 05:42:21', '2026-03-10 05:42:21'),
(6, 6, 'logo.PNG', 'req-6-20260310084619-54f2755e6e.png', 'uploads/talepler-requests/6/req-6-20260310084619-54f2755e6e.png', 23462, 'image/png', 464, '2026-03-10 05:46:19', '2026-03-10 05:46:19'),
(7, 7, 'logo.PNG', 'req-7-20260310094600-d4c992475e.png', 'uploads/talepler-requests/7/req-7-20260310094600-d4c992475e.png', 23462, 'image/png', 464, '2026-03-10 06:46:00', '2026-03-10 06:46:00'),
(8, 8, 'logo.PNG', 'req-8-20260310102945-6aa3ba2096.png', 'uploads/talepler-requests/8/req-8-20260310102945-6aa3ba2096.png', 23462, 'image/png', 464, '2026-03-10 07:29:45', '2026-03-10 07:29:45'),
(9, 9, 'logo.PNG', 'req-9-20260310105509-5ec833729a.png', 'uploads/talepler-requests/9/req-9-20260310105509-5ec833729a.png', 23462, 'image/png', 464, '2026-03-10 07:55:09', '2026-03-10 07:55:09'),
(10, 10, '1702 envanter.xlsx', 'req-10-20260311113722-a8bec18293.xlsx', 'uploads/talepler-requests/10/req-10-20260311113722-a8bec18293.xlsx', 14167, 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 726, '2026-03-11 08:37:22', '2026-03-11 08:37:22'),
(11, 11, 'logo.PNG', 'req-11-20260311152348-037f7c0973.png', 'uploads/talepler-requests/11/req-11-20260311152348-037f7c0973.png', 23462, 'image/png', 464, '2026-03-11 12:23:48', '2026-03-11 12:23:48'),
(12, 13, 'Jira Sunumu.ppt', 'req-13-20260313091255-360cb8b7cd.ppt', 'uploads/talepler-requests/13/req-13-20260313091255-360cb8b7cd.ppt', 6568448, 'application/vnd.ms-powerpoint', 727, '2026-03-13 06:12:55', '2026-03-13 06:12:55'),
(13, 14, 'Jira Sunumu.ppt', 'req-14-20260313143421-b1b7a0719f.ppt', 'uploads/talepler-requests/14/req-14-20260313143421-b1b7a0719f.ppt', 6568448, 'application/vnd.ms-powerpoint', 924, '2026-03-13 11:34:21', '2026-03-13 11:34:21'),
(14, 15, 'Jira Sunumu.ppt', 'req-15-20260313143933-984875177a.ppt', 'uploads/talepler-requests/15/req-15-20260313143933-984875177a.ppt', 6568448, 'application/vnd.ms-powerpoint', 924, '2026-03-13 11:39:33', '2026-03-13 11:39:33'),
(15, 16, 'Jira Sunumu.ppt', 'req-16-20260313143947-f001df6e96.ppt', 'uploads/talepler-requests/16/req-16-20260313143947-f001df6e96.ppt', 6568448, 'application/vnd.ms-powerpoint', 924, '2026-03-13 11:39:47', '2026-03-13 11:39:47'),
(16, 18, 'logo.PNG', 'req-18-20260316130402-ecc3920e5c.png', 'uploads/talepler-requests/18/req-18-20260316130402-ecc3920e5c.png', 23462, 'image/png', 464, '2026-03-16 10:04:02', '2026-03-16 10:04:02'),
(17, 19, 'Screenshot 2025-10-07 164437.png', 'req-19-20260316130705-83f8dc1df3.png', 'uploads/talepler-requests/19/req-19-20260316130705-83f8dc1df3.png', 144271, 'image/png', 464, '2026-03-16 10:07:05', '2026-03-16 10:07:05'),
(18, 20, 'logo.jpg', 'req-20-20260317092631-0210cf0bee.jpg', 'uploads/talepler-requests/20/req-20-20260317092631-0210cf0bee.jpg', 33268, 'image/jpeg', 464, '2026-03-17 06:26:31', '2026-03-17 06:26:31');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_task_categories`
--

CREATE TABLE `talepler_task_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `unit_id` bigint(20) UNSIGNED NOT NULL,
  `category_key` varchar(80) NOT NULL,
  `category_name` varchar(180) NOT NULL,
  `camunda_process_key` varchar(120) DEFAULT NULL,
  `flow_type` varchar(80) DEFAULT NULL,
  `workflow_template_id` bigint(20) UNSIGNED DEFAULT NULL,
  `default_assignee_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_task_categories`
--

INSERT INTO `talepler_task_categories` (`id`, `unit_id`, `category_key`, `category_name`, `camunda_process_key`, `flow_type`, `workflow_template_id`, `default_assignee_user_id`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 28, 'destek', 'Pazarlama Destek', 'test_support_assignment_flow', 'support', 2, NULL, 1, 10, '2026-03-06 09:14:17', '2026-03-11 06:31:00'),
(2, 28, 'worklist', 'Pazarlama Worklist', 'test_support_assignment_flow', 'support', 1, NULL, 1, 20, '2026-03-06 09:14:17', '2026-03-11 06:31:00'),
(3, 28, 'kreatif', 'Kreatif Surecler Worklist', 'test_support_assignment_flow', 'support', 1, NULL, 1, 30, '2026-03-06 09:14:17', '2026-03-11 06:31:00'),
(4, 28, 'marka_tescil', 'Marka Tescil Worklist', 'test_support_assignment_flow', 'support', 1, NULL, 1, 40, '2026-03-06 09:14:17', '2026-03-11 06:31:00'),
(5, 28, 'musteri_sikayetleri', 'Musteri Sikayetleri Worklist', 'test_support_assignment_flow', 'support', 1, NULL, 1, 50, '2026-03-06 09:14:17', '2026-03-11 06:31:00'),
(6, 28, 'franchise', 'Franchise Worklist', 'test_support_assignment_flow', 'support', 1, NULL, 1, 60, '2026-03-06 09:14:17', '2026-03-11 06:31:00'),
(7, 3, 'TEST', 'TEST', NULL, NULL, 9, 940, 1, 1, '2026-03-11 08:33:13', '2026-03-17 06:22:53');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_task_category_form_fields`
--

CREATE TABLE `talepler_task_category_form_fields` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `category_id` bigint(20) UNSIGNED NOT NULL,
  `field_key` varchar(80) NOT NULL,
  `field_label` varchar(160) NOT NULL,
  `field_type` varchar(30) NOT NULL DEFAULT 'select',
  `source_type` varchar(30) NOT NULL DEFAULT 'manual',
  `option_source` text DEFAULT NULL,
  `is_required` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_task_comments`
--

CREATE TABLE `talepler_task_comments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `request_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `entry_type` varchar(30) NOT NULL DEFAULT 'comment',
  `message` text NOT NULL,
  `meta_json` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_task_comments`
--

INSERT INTO `talepler_task_comments` (`id`, `request_id`, `user_id`, `entry_type`, `message`, `meta_json`, `created_at`, `updated_at`) VALUES
(1, 1, 464, 'system', 'Talep olusturuldu ve ortak havuza alindi.', NULL, '2026-03-06 11:13:13', '2026-03-06 11:13:13'),
(2, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Havuzdan Ata', NULL, '2026-03-06 13:10:42', '2026-03-06 13:10:42'),
(3, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Ilerle', NULL, '2026-03-06 13:10:45', '2026-03-06 13:10:45'),
(4, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-06 13:10:45', '2026-03-06 13:10:45'),
(5, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:10:47', '2026-03-06 13:10:47'),
(6, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:10:49', '2026-03-06 13:10:49'),
(7, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:10:50', '2026-03-06 13:10:50'),
(8, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:32:37', '2026-03-06 13:32:37'),
(9, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Ilerle', NULL, '2026-03-06 13:32:39', '2026-03-06 13:32:39'),
(10, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-06 13:32:46', '2026-03-06 13:32:46'),
(11, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:32:47', '2026-03-06 13:32:47'),
(12, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:32:53', '2026-03-06 13:32:53'),
(13, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:32:54', '2026-03-06 13:32:54'),
(14, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:48:39', '2026-03-06 13:48:39'),
(15, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:48:57', '2026-03-06 13:48:57'),
(16, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:49:36', '2026-03-06 13:49:36'),
(17, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:49:57', '2026-03-06 13:49:57'),
(18, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:50:04', '2026-03-06 13:50:04'),
(19, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:50:22', '2026-03-06 13:50:22'),
(20, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:50:24', '2026-03-06 13:50:24'),
(21, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:50:25', '2026-03-06 13:50:25'),
(22, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:50:28', '2026-03-06 13:50:28'),
(23, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:50:31', '2026-03-06 13:50:31'),
(24, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-06 13:50:37', '2026-03-06 13:50:37'),
(25, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Ilerle', NULL, '2026-03-06 13:50:39', '2026-03-06 13:50:39'),
(26, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-06 13:50:47', '2026-03-06 13:50:47'),
(27, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-06 13:50:49', '2026-03-06 13:50:49'),
(28, 2, 464, 'system', 'Talep olusturuldu ve akis baslatildi.', NULL, '2026-03-09 05:45:58', '2026-03-09 05:45:58'),
(29, 2, 924, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-09 05:46:09', '2026-03-09 05:46:09'),
(30, 2, 924, 'workflow', 'Workflow aksiyonu uygulandi: Ilerle', NULL, '2026-03-09 06:04:35', '2026-03-09 06:04:35'),
(31, 1, 924, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-09 06:04:39', '2026-03-09 06:04:39'),
(32, 1, 924, 'workflow', 'Workflow aksiyonu uygulandi: Geri Al', NULL, '2026-03-09 06:05:01', '2026-03-09 06:05:01'),
(33, 2, 924, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 06:05:02', '2026-03-09 06:05:02'),
(34, 2, 924, 'workflow', 'Workflow aksiyonu uygulandi: Ilerle', NULL, '2026-03-09 06:05:11', '2026-03-09 06:05:11'),
(35, 2, 924, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 06:05:16', '2026-03-09 06:05:16'),
(36, 3, 464, 'system', 'Talep olusturuldu ve akis baslatildi.', NULL, '2026-03-09 07:51:18', '2026-03-09 07:51:18'),
(37, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-09 07:54:24', '2026-03-09 07:54:24'),
(38, 4, 464, 'system', 'Talep olusturuldu ve panel workflow surecine alindi.', NULL, '2026-03-09 08:05:50', '2026-03-09 08:05:50'),
(39, 4, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-09 08:06:07', '2026-03-09 08:06:07'),
(40, 4, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamla', NULL, '2026-03-09 08:07:30', '2026-03-09 08:07:30'),
(41, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamla', NULL, '2026-03-09 08:07:41', '2026-03-09 08:07:41'),
(42, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Uzerime Al', NULL, '2026-03-09 08:07:48', '2026-03-09 08:07:48'),
(43, 2, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamla', NULL, '2026-03-09 08:07:52', '2026-03-09 08:07:52'),
(44, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamla', NULL, '2026-03-09 08:07:56', '2026-03-09 08:07:56'),
(45, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Reporter Onayi Baslat', NULL, '2026-03-09 09:02:59', '2026-03-09 09:02:59'),
(46, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Reporter Onayi Ver', NULL, '2026-03-09 09:03:09', '2026-03-09 09:03:09'),
(47, 1, 464, 'workflow', 'Workflow aksiyonu uygulandi: Final Onay ve Kapat', NULL, '2026-03-09 09:03:18', '2026-03-09 09:03:18'),
(48, 4, 464, 'system', 'Talep arsive gonderildi.', NULL, '2026-03-09 09:20:45', '2026-03-09 09:20:45'),
(49, 4, 464, 'comment', 'test', NULL, '2026-03-09 09:21:03', '2026-03-09 09:21:03'),
(50, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 10:05:35', '2026-03-09 10:05:35'),
(51, 2, 464, 'system', 'Talep arsive gonderildi.', NULL, '2026-03-09 10:24:56', '2026-03-09 10:24:56'),
(52, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamlandi asamasina gec', NULL, '2026-03-09 10:38:36', '2026-03-09 10:38:36'),
(53, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 11:18:18', '2026-03-09 11:18:18'),
(54, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamlandi asamasina gec', NULL, '2026-03-09 11:18:22', '2026-03-09 11:18:22'),
(55, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 11:22:08', '2026-03-09 11:22:08'),
(56, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamlandi asamasina gec', NULL, '2026-03-09 11:22:17', '2026-03-09 11:22:17'),
(57, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 11:22:20', '2026-03-09 11:22:20'),
(58, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamlandi asamasina gec', NULL, '2026-03-09 11:22:30', '2026-03-09 11:22:30'),
(59, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 13:07:38', '2026-03-09 13:07:38'),
(60, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tamamlandi asamasina gec', NULL, '2026-03-09 13:07:54', '2026-03-09 13:07:54'),
(61, 3, 464, 'workflow', 'Workflow aksiyonu uygulandi: Tekrar Ac', NULL, '2026-03-09 13:08:03', '2026-03-09 13:08:03'),
(62, 3, 464, 'workflow', 'Asama guncellendi: Final Onay -> Kontrol (Aksiyon: Kontrol asamasina gec)', NULL, '2026-03-10 05:19:20', '2026-03-10 05:19:20'),
(63, 3, 464, 'workflow', 'Asama guncellendi: Kontrol -> Final Onay (Aksiyon: Final Onay asamasina gec)', NULL, '2026-03-10 05:20:03', '2026-03-10 05:20:03'),
(64, 3, 464, 'workflow', 'Asama guncellendi: Final Onay -> Kontrol (Aksiyon: Kontrol asamasina gec)', NULL, '2026-03-10 05:23:53', '2026-03-10 05:23:53'),
(65, 3, 464, 'workflow', 'Asama guncellendi: Kontrol -> Analiz (Aksiyon: Analiz asamasina gec)', NULL, '2026-03-10 05:32:18', '2026-03-10 05:32:18'),
(66, 3, 464, 'workflow', 'Asama guncellendi: Analiz -> Kontrol (Aksiyon: Kontrol asamasina gec)', NULL, '2026-03-10 05:32:43', '2026-03-10 05:32:43'),
(67, 3, 464, 'workflow', 'Asama guncellendi: Kontrol -> Tamamlandi (Aksiyon: Tamamlandi asamasina gec)', NULL, '2026-03-10 05:38:59', '2026-03-10 05:38:59'),
(68, 5, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-10 05:42:21', '2026-03-10 05:42:21'),
(69, 5, 464, 'workflow', 'Asama guncellendi: Ortak Havuz -> Analiz (Aksiyon: Havuzdan Ata)', NULL, '2026-03-10 05:45:45', '2026-03-10 05:45:45'),
(70, 5, 464, 'workflow', 'Asama guncellendi: Analiz -> Tamamlandi (Aksiyon: Tamamlandi asamasina gec)', NULL, '2026-03-10 05:45:49', '2026-03-10 05:45:49'),
(71, 6, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-10 05:46:19', '2026-03-10 05:46:19'),
(72, 6, 464, 'workflow', 'Asama guncellendi: Ortak Havuz -> Analiz (Aksiyon: Uzerime Al)', NULL, '2026-03-10 05:46:56', '2026-03-10 05:46:56'),
(73, 7, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-10 06:46:00', '2026-03-10 06:46:00'),
(74, 7, 464, 'workflow', 'Asama guncellendi: Ortak Havuz -> Analiz (Aksiyon: Gorev atamasi guncellendi.)', NULL, '2026-03-10 06:46:17', '2026-03-10 06:46:17'),
(75, 8, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-10 07:29:45', '2026-03-10 07:29:45'),
(76, 8, 464, 'workflow', 'Asama guncellendi: Ortak Havuz -> Ortak Havuz (Aksiyon: Gorev atamasi guncellendi.)', NULL, '2026-03-10 07:43:33', '2026-03-10 07:43:33'),
(77, 9, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-10 07:55:09', '2026-03-10 07:55:09'),
(78, 9, 464, 'workflow', 'Asama guncellendi: Ortak Havuz -> Ortak Havuz (Aksiyon: Havuzdan Ata)', NULL, '2026-03-10 08:11:32', '2026-03-10 08:11:32'),
(79, 9, 464, 'workflow', 'Asama guncellendi: Ortak Havuz -> Analiz (Aksiyon: Ilerle)', NULL, '2026-03-10 08:11:46', '2026-03-10 08:11:46'),
(80, 9, 464, 'workflow', 'Asama guncellendi: Analiz -> Cozum Merkezi (Aksiyon: Cozum Merkezi asamasina gec)', NULL, '2026-03-10 08:12:12', '2026-03-10 08:12:12'),
(81, 9, 464, 'workflow', 'Kart lane guncellendi: Islemdekiler -> Yapilacaklar (Asama: Cozum Merkezi -> Analiz)', NULL, '2026-03-10 08:22:06', '2026-03-10 08:22:06'),
(82, 9, 464, 'workflow', 'Kart lane guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 08:22:08', '2026-03-10 08:22:08'),
(83, 9, 464, 'workflow', 'Kart lane guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-10 08:22:12', '2026-03-10 08:22:12'),
(84, 9, 464, 'workflow', 'Kart lane guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-10 08:22:23', '2026-03-10 08:22:23'),
(85, 9, 464, 'workflow', 'Kart lane guncellendi: Islemdekiler -> Tamamlananlar (Asama: Final Onay -> Tamamlandi)', NULL, '2026-03-10 08:22:24', '2026-03-10 08:22:24'),
(86, 9, 464, 'workflow', 'Kart lane guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-10 08:22:32', '2026-03-10 08:22:32'),
(87, 9, 464, 'workflow', 'Kart lane guncellendi: Islemdekiler -> Tamamlananlar (Asama: Final Onay -> Tamamlandi)', NULL, '2026-03-10 08:22:43', '2026-03-10 08:22:43'),
(88, 9, 464, 'workflow', 'Kart lane guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-10 08:22:46', '2026-03-10 08:22:46'),
(89, 9, 464, 'workflow', 'Kart lane guncellendi: Islemdekiler -> Tamamlananlar (Asama: Final Onay -> Tamamlandi)', NULL, '2026-03-10 08:22:49', '2026-03-10 08:22:49'),
(90, 9, 464, 'workflow', 'Kart lane guncellendi: Tamamlananlar -> Yapilacaklar (Asama: Tamamlandi -> Analiz)', NULL, '2026-03-10 08:22:49', '2026-03-10 08:22:49'),
(91, 9, 464, 'workflow', 'Kart lane guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 08:22:53', '2026-03-10 08:22:53'),
(92, 9, 464, 'workflow', 'Termin guncellendi: - -> 11.03.2026', NULL, '2026-03-10 08:23:14', '2026-03-10 08:23:14'),
(93, 9, 464, 'workflow', 'Atanan kisi guncellendi: FATIH GUZEY -> Atanmadi', NULL, '2026-03-10 08:25:10', '2026-03-10 08:25:10'),
(94, 9, 464, 'workflow', 'Atanan kisi guncellendi: Atanmadi -> EMINE URAK', NULL, '2026-03-10 08:25:20', '2026-03-10 08:25:20'),
(95, 9, 464, 'workflow', 'Atanan kisi guncellendi: EMINE URAK -> Atanmadi', NULL, '2026-03-10 08:25:24', '2026-03-10 08:25:24'),
(96, 9, 464, 'workflow', 'Atanan kisi guncellendi: Atanmadi -> ASLI KORUCU', NULL, '2026-03-10 08:29:11', '2026-03-10 08:29:11'),
(97, 9, 464, 'workflow', 'Atanan kisi guncellendi: ASLI KORUCU -> Atanmadi', NULL, '2026-03-10 08:29:14', '2026-03-10 08:29:14'),
(98, 9, 464, 'workflow', 'Asama guncellendi: Cozum Merkezi -> Analiz (Aksiyon: Analiz asamasina gec)', NULL, '2026-03-10 08:29:46', '2026-03-10 08:29:46'),
(99, 9, 464, 'workflow', 'Kart lane guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 08:29:50', '2026-03-10 08:29:50'),
(100, 9, 464, 'workflow', 'Kart lane guncellendi: Islemdekiler -> Yapilacaklar (Asama: Cozum Merkezi -> Analiz)', NULL, '2026-03-10 08:29:55', '2026-03-10 08:29:55'),
(101, 9, 464, 'workflow', 'Asama guncellendi: Analiz -> Ortak Havuz (Aksiyon: Geri Al)', NULL, '2026-03-10 08:30:08', '2026-03-10 08:30:08'),
(102, 9, 464, 'workflow', 'Atanan kisi guncellendi: AHMET TALAK -> DILARA TOPCU', NULL, '2026-03-10 10:11:32', '2026-03-10 10:11:32'),
(103, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Cozum Merkezi)', NULL, '2026-03-10 10:21:37', '2026-03-10 10:21:37'),
(104, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Cozum Merkezi -> Analiz)', NULL, '2026-03-10 10:57:27', '2026-03-10 10:57:27'),
(105, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Islemde)', NULL, '2026-03-10 10:57:30', '2026-03-10 10:57:30'),
(106, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Islemde)', NULL, '2026-03-10 10:57:32', '2026-03-10 10:57:32'),
(107, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Islemde)', NULL, '2026-03-10 10:57:35', '2026-03-10 10:57:35'),
(108, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Islemde)', NULL, '2026-03-10 10:57:37', '2026-03-10 10:57:37'),
(109, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Islemde)', NULL, '2026-03-10 10:57:40', '2026-03-10 10:57:40'),
(110, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Islemde)', NULL, '2026-03-10 10:57:43', '2026-03-10 10:57:43'),
(111, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Islemde)', NULL, '2026-03-10 11:01:51', '2026-03-10 11:01:51'),
(112, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Cozum Merkezi)', NULL, '2026-03-10 11:02:07', '2026-03-10 11:02:07'),
(113, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Cozum Merkezi -> Analiz)', NULL, '2026-03-10 11:02:09', '2026-03-10 11:02:09'),
(114, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 11:02:10', '2026-03-10 11:02:10'),
(115, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-10 11:02:12', '2026-03-10 11:02:12'),
(116, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Yapilacaklar (Asama: Tamamlandi -> Analiz)', NULL, '2026-03-10 11:02:14', '2026-03-10 11:02:14'),
(117, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 11:02:15', '2026-03-10 11:02:15'),
(118, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Cozum Merkezi -> Analiz)', NULL, '2026-03-10 11:02:17', '2026-03-10 11:02:17'),
(119, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Tamamlananlar (Asama: Analiz -> Tamamlandi)', NULL, '2026-03-10 11:02:18', '2026-03-10 11:02:18'),
(120, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-10 11:02:20', '2026-03-10 11:02:20'),
(121, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Islemdekiler (Asama: Final Onay -> Cozum Merkezi)', NULL, '2026-03-10 12:56:12', '2026-03-10 12:56:12'),
(122, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Islemdekiler (Asama: Cozum Merkezi -> Reporter Onayi)', NULL, '2026-03-10 13:04:02', '2026-03-10 13:04:02'),
(123, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Reporter Onayi -> Tamamlandi)', NULL, '2026-03-10 13:15:34', '2026-03-10 13:15:34'),
(124, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Yapilacaklar (Asama: Tamamlandi -> Analiz)', NULL, '2026-03-10 13:15:53', '2026-03-10 13:15:53'),
(125, 9, 464, 'workflow', 'Atanan kisi guncellendi: DILARA TOPCU -> Atanmadi', NULL, '2026-03-10 13:16:01', '2026-03-10 13:16:01'),
(126, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 13:16:05', '2026-03-10 13:16:05'),
(127, 9, 464, 'workflow', 'Atanan kisi guncellendi: Atanmadi -> AHMET TALAK', NULL, '2026-03-10 13:16:10', '2026-03-10 13:16:10'),
(128, 9, 464, 'workflow', 'Atanan kisi guncellendi: AHMET TALAK -> Atanmadi', NULL, '2026-03-10 13:16:21', '2026-03-10 13:16:21'),
(129, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Cozum Merkezi -> Cozum Merkezi)', NULL, '2026-03-10 13:16:38', '2026-03-10 13:16:38'),
(130, 9, 464, 'workflow', 'Atanan kisi guncellendi: Atanmadi -> FATIH GUZEY', NULL, '2026-03-10 13:16:49', '2026-03-10 13:16:49'),
(131, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Islemdekiler (Asama: Cozum Merkezi -> Kontrol)', NULL, '2026-03-10 13:16:54', '2026-03-10 13:16:54'),
(132, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Kontrol -> Tamamlandi)', NULL, '2026-03-10 13:17:01', '2026-03-10 13:17:01'),
(133, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-10 13:17:16', '2026-03-10 13:17:16'),
(134, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Final Onay -> Analiz)', NULL, '2026-03-10 13:17:16', '2026-03-10 13:17:16'),
(135, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 13:17:17', '2026-03-10 13:17:17'),
(136, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Cozum Merkezi -> Analiz)', NULL, '2026-03-10 13:17:17', '2026-03-10 13:17:17'),
(137, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 13:17:18', '2026-03-10 13:17:18'),
(138, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-10 13:17:27', '2026-03-10 13:17:27'),
(139, 9, 464, 'comment', 'beklemeye aldık.', NULL, '2026-03-10 13:17:45', '2026-03-10 13:17:45'),
(140, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-10 13:18:11', '2026-03-10 13:18:11'),
(141, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Final Onay -> Analiz)', NULL, '2026-03-10 13:26:21', '2026-03-10 13:26:21'),
(142, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-10 13:26:21', '2026-03-10 13:26:21'),
(143, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-10 13:26:22', '2026-03-10 13:26:22'),
(144, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-10 13:26:24', '2026-03-10 13:26:24'),
(145, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Final Onay -> Analiz)', NULL, '2026-03-10 13:37:41', '2026-03-10 13:37:41'),
(146, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Tamamlananlar (Asama: Analiz -> Tamamlandi)', NULL, '2026-03-10 13:37:46', '2026-03-10 13:37:46'),
(147, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Yapilacaklar (Asama: Tamamlandi -> Analiz)', NULL, '2026-03-10 13:37:52', '2026-03-10 13:37:52'),
(148, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-11 05:17:32', '2026-03-11 05:17:32'),
(149, 10, 726, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-11 08:37:22', '2026-03-11 08:37:22'),
(150, 11, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-11 12:23:48', '2026-03-11 12:23:48'),
(151, 11, 924, 'workflow', 'Atanan kisi guncellendi: Atanmadi -> AHMET TALAK', NULL, '2026-03-11 12:24:49', '2026-03-11 12:24:49'),
(152, 11, 924, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Cozum Merkezi)', NULL, '2026-03-11 12:24:56', '2026-03-11 12:24:56'),
(153, 11, 924, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Cozum Merkezi -> Analiz)', NULL, '2026-03-11 12:25:00', '2026-03-11 12:25:00'),
(154, 11, 924, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-11 12:25:01', '2026-03-11 12:25:01'),
(155, 11, 924, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-11 12:25:02', '2026-03-11 12:25:02'),
(156, 9, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-11 12:27:30', '2026-03-11 12:27:30'),
(157, 9, 464, 'system', 'Talep arsive gonderildi.', NULL, '2026-03-11 12:27:39', '2026-03-11 12:27:39'),
(158, 11, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-11 12:27:44', '2026-03-11 12:27:44'),
(159, 11, 464, 'system', 'Talep arsive gonderildi.', NULL, '2026-03-11 12:27:48', '2026-03-11 12:27:48'),
(160, 10, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Tamamlananlar (Asama: Yapilacaklar -> Tamamlananlar)', NULL, '2026-03-11 12:28:00', '2026-03-11 12:28:00'),
(161, 10, 464, 'system', 'Talep arsive gonderildi.', NULL, '2026-03-11 12:28:03', '2026-03-11 12:28:03'),
(162, 12, 727, 'system', 'Talep oluşturuldu ve görev sürecine alındı.', NULL, '2026-03-13 06:12:37', '2026-03-13 06:12:37'),
(163, 13, 727, 'system', 'Talep oluşturuldu ve görev sürecine alındı.', NULL, '2026-03-13 06:12:55', '2026-03-13 06:12:55'),
(164, 12, 464, 'workflow', 'Atanan kisi guncellendi: Atanmadı -> FATIH GUZEY', NULL, '2026-03-13 08:47:04', '2026-03-13 08:47:04'),
(165, 12, 464, 'workflow', 'Atanan kisi guncellendi: FATIH GUZEY -> Atanmadı', NULL, '2026-03-13 08:47:12', '2026-03-13 08:47:12'),
(166, 12, 464, 'workflow', 'Kart durum grubu güncellendi: Yapılacaklar -> İşlemdekiler (Aşama: Yapilacaklar -> Islemdekiler)', NULL, '2026-03-13 08:47:13', '2026-03-13 08:47:13'),
(167, 12, 464, 'workflow', 'Kart durum grubu güncellendi: Yapılacaklar -> Tamamlananlar (Aşama: Islemdekiler -> Tamamlananlar)', NULL, '2026-03-13 08:47:14', '2026-03-13 08:47:14'),
(168, 14, 924, 'system', 'Talep board uzerinden olusturuldu.', NULL, '2026-03-13 11:34:21', '2026-03-13 11:34:21'),
(169, 15, 924, 'system', 'Talep board uzerinden olusturuldu.', NULL, '2026-03-13 11:39:33', '2026-03-13 11:39:33'),
(170, 16, 924, 'system', 'Talep board uzerinden olusturuldu.', NULL, '2026-03-13 11:39:47', '2026-03-13 11:39:47'),
(171, 15, 464, 'workflow', 'Kart durum grubu güncellendi: İşlemdekiler -> Yapılacaklar (Aşama: Cozum Merkezi -> Analiz)', NULL, '2026-03-16 05:06:28', '2026-03-16 05:06:28'),
(172, 15, 464, 'workflow', 'Kart durum grubu güncellendi: İşlemdekiler -> İşlemdekiler (Aşama: Analiz -> Cozum Merkezi)', NULL, '2026-03-16 05:06:30', '2026-03-16 05:06:30'),
(173, 17, 727, 'system', 'Talep oluÅŸturuldu ve gÃ¶rev sÃ¼recine alÄ±ndÄ±.', NULL, '2026-03-16 05:18:33', '2026-03-16 05:18:33'),
(174, 13, 464, 'workflow', 'Termin guncellendi: - -> 16.03.2026', NULL, '2026-03-16 05:19:06', '2026-03-16 05:19:06'),
(175, 13, 464, 'workflow', 'Kart durum grubu gÃ¼ncellendi: YapÄ±lacaklar -> Tamamlananlar (AÅŸama: Yapilacaklar -> Tamamlananlar)', NULL, '2026-03-16 05:19:28', '2026-03-16 05:19:28'),
(176, 13, 464, 'workflow', 'Kart durum grubu gÃ¼ncellendi: Tamamlananlar -> YapÄ±lacaklar (AÅŸama: Tamamlananlar -> Yapilacaklar)', NULL, '2026-03-16 05:19:30', '2026-03-16 05:19:30'),
(177, 13, 464, 'workflow', 'Kart durum grubu gÃ¼ncellendi: YapÄ±lacaklar -> Tamamlananlar (AÅŸama: Yapilacaklar -> Tamamlananlar)', NULL, '2026-03-16 05:19:32', '2026-03-16 05:19:32'),
(178, 15, 464, 'workflow', 'Kart durum grubu gÃ¼ncellendi: Ä°ÅŸlemdekiler -> Ä°ÅŸlemdekiler (AÅŸama: Cozum Merkezi -> Reporter Onayi)', NULL, '2026-03-16 05:22:06', '2026-03-16 05:22:06'),
(179, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Reporter Onayi -> Analiz)', NULL, '2026-03-16 06:35:08', '2026-03-16 06:35:08'),
(180, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:35:16', '2026-03-16 06:35:16'),
(181, 17, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Tamamlananlar (Asama: Ortak Havuz -> Tamamlandi)', NULL, '2026-03-16 06:35:21', '2026-03-16 06:35:21'),
(182, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:35:26', '2026-03-16 06:35:26'),
(183, 17, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Yapilacaklar (Asama: Tamamlandi -> Analiz)', NULL, '2026-03-16 06:35:31', '2026-03-16 06:35:31'),
(184, 14, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Islemdekiler -> Yapilacaklar)', NULL, '2026-03-16 06:35:41', '2026-03-16 06:35:41'),
(185, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:35:46', '2026-03-16 06:35:46'),
(186, 13, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Yapilacaklar (Asama: Tamamlananlar -> Yapilacaklar)', NULL, '2026-03-16 06:35:56', '2026-03-16 06:35:56'),
(187, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Analiz -> Tamamlandi)', NULL, '2026-03-16 06:36:01', '2026-03-16 06:36:01'),
(188, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Yapilacaklar (Asama: Tamamlandi -> Analiz)', NULL, '2026-03-16 06:36:06', '2026-03-16 06:36:06'),
(189, 15, 924, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:43:11', '2026-03-16 06:43:11'),
(190, 15, 924, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:43:14', '2026-03-16 06:43:14'),
(191, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:43:38', '2026-03-16 06:43:38'),
(192, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:43:44', '2026-03-16 06:43:44'),
(193, 15, 924, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:44:24', '2026-03-16 06:44:24'),
(194, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Analiz -> Analiz)', NULL, '2026-03-16 06:47:44', '2026-03-16 06:47:44'),
(195, 14, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Yapilacaklar -> Tamamlananlar)', NULL, '2026-03-16 06:47:50', '2026-03-16 06:47:50'),
(196, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Tamamlananlar (Asama: Analiz -> Tamamlandi)', NULL, '2026-03-16 06:47:56', '2026-03-16 06:47:56'),
(197, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-16 06:48:02', '2026-03-16 06:48:02'),
(198, 14, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlananlar -> Islemdekiler)', NULL, '2026-03-16 06:48:06', '2026-03-16 06:48:06'),
(199, 16, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlananlar -> Islemdekiler)', NULL, '2026-03-16 06:48:08', '2026-03-16 06:48:08'),
(200, 16, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Islemdekiler -> Yapilacaklar)', NULL, '2026-03-16 06:48:16', '2026-03-16 06:48:16'),
(201, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Final Onay -> Analiz)', NULL, '2026-03-16 06:48:18', '2026-03-16 06:48:18'),
(202, 14, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Islemdekiler -> Yapilacaklar)', NULL, '2026-03-16 06:48:19', '2026-03-16 06:48:19'),
(203, 14, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Yapilacaklar -> Islemdekiler)', NULL, '2026-03-16 06:48:27', '2026-03-16 06:48:27'),
(204, 13, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Yapilacaklar -> Islemdekiler)', NULL, '2026-03-16 06:48:27', '2026-03-16 06:48:27'),
(205, 17, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-16 06:48:30', '2026-03-16 06:48:30'),
(206, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-16 06:48:31', '2026-03-16 06:48:31'),
(207, 16, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Yapilacaklar -> Islemdekiler)', NULL, '2026-03-16 06:48:31', '2026-03-16 06:48:31'),
(208, 13, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Islemdekiler -> Tamamlananlar)', NULL, '2026-03-16 06:48:42', '2026-03-16 06:48:42'),
(209, 15, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-16 06:48:43', '2026-03-16 06:48:43'),
(210, 16, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Islemdekiler -> Tamamlananlar)', NULL, '2026-03-16 06:48:44', '2026-03-16 06:48:44'),
(211, 17, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-16 06:48:45', '2026-03-16 06:48:45'),
(212, 14, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Islemdekiler -> Tamamlananlar)', NULL, '2026-03-16 06:48:46', '2026-03-16 06:48:46'),
(213, 14, 464, 'system', 'Talep arsive gonderildi.', NULL, '2026-03-16 06:54:43', '2026-03-16 06:54:43'),
(214, 18, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-16 10:04:02', '2026-03-16 10:04:02'),
(215, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Ortak Havuz -> Cozum Merkezi)', NULL, '2026-03-16 10:04:19', '2026-03-16 10:04:19'),
(216, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Tamamlananlar (Asama: Ortak Havuz -> Tamamlandi)', NULL, '2026-03-16 10:04:19', '2026-03-16 10:04:19'),
(217, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-16 10:04:24', '2026-03-16 10:04:24'),
(218, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Final Onay -> Analiz)', NULL, '2026-03-16 10:04:29', '2026-03-16 10:04:29'),
(219, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Analiz -> Cozum Merkezi)', NULL, '2026-03-16 10:04:33', '2026-03-16 10:04:33'),
(220, 19, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-16 10:07:05', '2026-03-16 10:07:05'),
(221, 19, 924, 'workflow', 'Termin guncellendi: - -> 22.03.2026', NULL, '2026-03-16 10:09:18', '2026-03-16 10:09:18'),
(222, 19, 924, 'workflow', 'Atanan kisi guncellendi: Atanmadi -> BURAK ERIS', NULL, '2026-03-16 10:09:18', '2026-03-16 10:09:18'),
(223, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Cozum Merkezi -> Tamamlandi)', NULL, '2026-03-16 10:33:09', '2026-03-16 10:33:09'),
(224, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Tamamlananlar -> Islemdekiler (Asama: Tamamlandi -> Final Onay)', NULL, '2026-03-16 10:33:11', '2026-03-16 10:33:11'),
(225, 19, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Yapilacaklar -> Islemdekiler)', NULL, '2026-03-16 10:33:32', '2026-03-16 10:33:32'),
(226, 19, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Islemdekiler -> Yapilacaklar)', NULL, '2026-03-16 10:33:39', '2026-03-16 10:33:39'),
(227, 18, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Tamamlananlar (Asama: Final Onay -> Tamamlandi)', NULL, '2026-03-16 11:43:52', '2026-03-16 11:43:52'),
(228, 19, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Yapilacaklar -> Islemdekiler)', NULL, '2026-03-16 11:43:53', '2026-03-16 11:43:53'),
(229, 19, 464, 'workflow', 'Kart durum grubu guncellendi: Islemdekiler -> Yapilacaklar (Asama: Islemdekiler -> Yapilacaklar)', NULL, '2026-03-16 11:44:01', '2026-03-16 11:44:01'),
(230, 19, 464, 'workflow', 'Kart durum grubu guncellendi: Yapilacaklar -> Islemdekiler (Asama: Yapilacaklar -> Islemdekiler)', NULL, '2026-03-17 05:56:14', '2026-03-17 05:56:14'),
(231, 20, 464, 'system', 'Talep olusturuldu ve gorev surecine alindi.', NULL, '2026-03-17 06:26:31', '2026-03-17 06:26:31');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_task_requests`
--

CREATE TABLE `talepler_task_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `request_key` varchar(30) NOT NULL,
  `unit_id` bigint(20) UNSIGNED NOT NULL,
  `category_id` bigint(20) UNSIGNED NOT NULL,
  `department_name` varchar(150) DEFAULT NULL,
  `position_name` varchar(150) DEFAULT NULL,
  `title_name` varchar(150) DEFAULT NULL,
  `responsibility_center_id` bigint(20) UNSIGNED DEFAULT NULL,
  `title` varchar(400) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(50) NOT NULL DEFAULT 'unassigned',
  `priority` enum('low','medium','high','critical') NOT NULL DEFAULT 'medium',
  `task_type` tinyint(3) UNSIGNED NOT NULL DEFAULT 1,
  `start_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `required_attachment_types` varchar(120) DEFAULT NULL,
  `meta_json` text DEFAULT NULL,
  `reporter_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `assignee_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `assignee_todo_state` tinyint(1) NOT NULL DEFAULT 0,
  `control_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `solution_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `approver_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `camunda_process_key` varchar(120) DEFAULT NULL,
  `camunda_process_instance_id` varchar(120) DEFAULT NULL,
  `camunda_business_key` varchar(120) DEFAULT NULL,
  `last_camunda_task_key` varchar(120) DEFAULT NULL,
  `last_camunda_task_id` varchar(120) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_archived` tinyint(1) NOT NULL DEFAULT 0,
  `archived_at` timestamp NULL DEFAULT NULL,
  `archived_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_task_requests`
--

INSERT INTO `talepler_task_requests` (`id`, `request_key`, `unit_id`, `category_id`, `department_name`, `position_name`, `title_name`, `responsibility_center_id`, `title`, `description`, `status`, `priority`, `task_type`, `start_date`, `due_date`, `required_attachment_types`, `meta_json`, `reporter_user_id`, `assignee_user_id`, `assignee_todo_state`, `control_user_id`, `solution_user_id`, `approver_user_id`, `camunda_process_key`, `camunda_process_instance_id`, `camunda_business_key`, `last_camunda_task_key`, `last_camunda_task_id`, `is_active`, `is_archived`, `archived_at`, `archived_by`, `created_at`, `updated_at`) VALUES
(1, 'TT-000001', 28, 1, NULL, NULL, NULL, NULL, 'test', 'test', 'done', 'medium', 1, NULL, '2026-03-06', NULL, NULL, 924, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', '776c04c8-194d-11f1-9bd1-005056976064', 'TALEPLER-TT-000001', NULL, NULL, 0, 1, '2026-03-09 10:33:17', 464, '2026-03-06 11:13:12', '2026-03-11 06:31:00'),
(2, 'TT-000002', 28, 1, NULL, NULL, NULL, NULL, 'test', 'test', 'done', 'medium', 1, NULL, '2026-03-10', NULL, NULL, 464, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-09 10:24:56', 464, '2026-03-09 05:45:58', '2026-03-11 06:31:00'),
(3, 'TT-000003', 28, 1, NULL, NULL, NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-09', '2026-03-10', NULL, NULL, 464, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-10 05:39:04', 464, '2026-03-09 07:51:18', '2026-03-11 06:31:00'),
(4, 'TT-000004', 28, 1, NULL, NULL, NULL, NULL, 'test', 'testt', 'done', 'medium', 1, '2026-03-09', '2026-03-11', NULL, NULL, 464, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-09 09:20:45', 464, '2026-03-09 08:05:50', '2026-03-11 06:31:00'),
(5, 'TT-000005', 28, 1, NULL, NULL, NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-10', '2026-03-11', NULL, NULL, 464, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-10 05:45:52', 464, '2026-03-10 05:42:21', '2026-03-11 06:31:00'),
(6, 'TT-000006', 28, 1, 'Peynirci Baba', 'peynirci_baba', NULL, NULL, 'test', 'test', 'solution_center', 'medium', 1, '2026-03-10', '2026-03-11', NULL, NULL, 464, 464, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-10 07:28:57', 464, '2026-03-10 05:46:19', '2026-03-17 05:16:49'),
(7, 'TT-000007', 28, 1, 'Peynirci Baba', 'peynirci_baba', NULL, NULL, 'tet', 'test', 'solution_center', 'medium', 1, '2026-03-10', '2026-03-11', NULL, NULL, 464, 915, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-10 07:29:07', 464, '2026-03-10 06:46:00', '2026-03-17 05:16:49'),
(8, 'TT-000008', 28, 1, 'Peynirci Baba', 'peynirci_baba', NULL, NULL, 'test', 'test', 'solution_center', 'medium', 1, '2026-03-10', NULL, NULL, NULL, 464, 915, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-10 07:54:52', 464, '2026-03-10 07:29:45', '2026-03-17 05:16:49'),
(9, 'TT-000009', 28, 1, 'Peynirci Baba', 'peynirci_baba', NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-10', '2026-03-11', NULL, NULL, 464, 924, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 1, 1, '2026-03-11 12:27:39', 464, '2026-03-10 07:55:09', '2026-03-11 12:27:39'),
(10, 'TT-000010', 3, 7, NULL, NULL, NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-11', NULL, NULL, NULL, 726, NULL, 0, 717, NULL, 717, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 1, 1, '2026-03-11 12:28:03', 464, '2026-03-11 08:37:22', '2026-03-11 12:28:03'),
(11, 'TT-000011', 28, 1, 'Peynirci Baba', 'peynirci_baba', NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-11', NULL, NULL, '{\"support_context_key\":\"peynirci_baba\",\"support_context_label\":\"Peynirci Baba\"}', 464, 915, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 1, 1, '2026-03-11 12:27:48', 464, '2026-03-11 12:23:48', '2026-03-11 12:27:48'),
(12, 'TT-000012', 28, 2, NULL, NULL, NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-13', NULL, NULL, NULL, 727, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-13 08:47:20', 464, '2026-03-13 06:12:36', '2026-03-13 08:47:20'),
(13, 'TT-000013', 28, 2, NULL, NULL, NULL, NULL, 'test', 'tes', 'done', 'medium', 1, '2026-03-13', '2026-03-16', NULL, '{\"board_lane_override\":\"done\",\"board_target_status\":\"done\"}', 727, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-16 06:48:49', 464, '2026-03-13 06:12:55', '2026-03-16 06:48:49'),
(14, 'TT-000014', 28, 2, NULL, NULL, NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-13', NULL, NULL, '{\"created_from\":\"board\",\"board_target_status\":\"done\",\"board_lane_override\":\"done\"}', 924, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 1, 1, '2026-03-16 06:54:43', 464, '2026-03-13 11:34:21', '2026-03-16 06:54:43'),
(15, 'TT-000015', 28, 1, 'Çanakkale Fabrika', 'canakkale', NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-13', NULL, NULL, '{\"support_context_key\":\"canakkale\",\"support_context_label\":\"Çanakkale Fabrika\",\"created_from\":\"board\",\"board_target_status\":\"done\",\"board_lane_override\":\"done\"}', 924, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-16 06:54:36', 464, '2026-03-13 11:39:33', '2026-03-16 06:54:36'),
(16, 'TT-000016', 28, 3, NULL, NULL, NULL, NULL, 'test', 'tes', 'done', 'medium', 1, '2026-03-13', NULL, NULL, '{\"created_from\":\"board\",\"board_target_status\":\"done\",\"board_lane_override\":\"done\"}', 924, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-16 06:49:11', 464, '2026-03-13 11:39:47', '2026-03-16 06:49:11'),
(17, 'TT-000017', 28, 1, 'Peynirci Baba', 'peynirci_baba', NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-16', NULL, NULL, '{\"support_context_key\":\"peynirci_baba\",\"support_context_label\":\"Peynirci Baba\",\"board_lane_override\":\"done\",\"board_target_status\":\"done\"}', 727, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 0, 1, '2026-03-16 06:49:04', 464, '2026-03-16 05:18:33', '2026-03-16 06:49:04'),
(18, 'TT-000018', 28, 1, 'Bursa Fabrika', 'bursa', NULL, NULL, 'test', 'test', 'done', 'medium', 1, '2026-03-16', NULL, NULL, '{\"support_context_key\":\"bursa\",\"support_context_label\":\"Bursa Fabrika\",\"board_lane_override\":\"done\",\"board_target_status\":\"done\"}', 464, NULL, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 1, 0, NULL, NULL, '2026-03-16 10:04:01', '2026-03-16 11:43:52'),
(19, 'TT-000019', 28, 2, NULL, NULL, NULL, NULL, 'ETİKET TASARIM TALEBİ', 'yeni ürünümüz için etiket tasarımı yapılacak', 'in_progress', 'medium', 1, '2026-03-16', '2026-03-22', NULL, '{\"board_lane_override\":\"doing\",\"board_target_status\":\"in_progress\"}', 464, 918, 0, 924, NULL, 924, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 1, 0, NULL, NULL, '2026-03-16 10:07:05', '2026-03-17 05:56:14'),
(20, 'TT-000020', 3, 7, NULL, NULL, NULL, NULL, 'test', 'test', 'todo', 'medium', 1, '2026-03-17', NULL, NULL, NULL, 464, 940, 0, 717, NULL, 717, 'test_support_assignment_flow', NULL, NULL, NULL, NULL, 1, 0, NULL, NULL, '2026-03-17 06:26:31', '2026-03-17 06:26:31');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_task_units`
--

CREATE TABLE `talepler_task_units` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `unit_key` varchar(80) NOT NULL,
  `unit_name` varchar(160) NOT NULL,
  `module_key` varchar(80) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `request_open_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_task_units`
--

INSERT INTO `talepler_task_units` (`id`, `unit_key`, `unit_name`, `module_key`, `is_active`, `request_open_enabled`, `sort_order`, `created_at`, `updated_at`) VALUES
(2, 'altyapi', 'Altyapi', 'assets', 1, 0, 1, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(3, 'bilgi_islem', 'Bilgi İşlem', 'assets', 1, 1, 2, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(4, 'butce_planlama', 'Bütçe Planlama', 'assets', 1, 0, 3, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(5, 'cagri_merkezi', 'Çağrı Merkezi', 'assets', 1, 0, 4, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(6, 'depo_lavarotuvar', 'Depo Lavarotuvar', 'assets', 1, 0, 5, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(7, 'depo_lojistik', 'Depo Lojistik', 'assets', 1, 0, 6, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(8, 'dis_ticaret', 'Dış Ticaret', 'assets', 1, 0, 7, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(9, 'e_ticaret', 'E-Ticaret', 'assets', 1, 0, 8, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(10, 'elektrik', 'Elektrik', 'assets', 1, 0, 9, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(11, 'finans', 'Finans', 'assets', 1, 0, 10, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(12, 'genel_muhasebe', 'Genel Muhasebe', 'assets', 1, 0, 11, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(13, 'idari_isler', 'İdari İşler', 'assets', 1, 0, 12, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(14, 'ihracat', 'Ihracat', 'assets', 1, 0, 13, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(15, 'ik', 'IK', 'assets', 1, 0, 14, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(16, 'insaat_birimi', 'İnşaat birimi', 'assets', 1, 0, 15, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(17, 'insan_kaynaklari', 'İnsan Kaynakları', 'assets', 1, 0, 16, '2026-03-11 06:26:06', '2026-03-17 06:22:53'),
(18, 'it', 'IT', 'assets', 1, 0, 17, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(19, 'kademe', 'Kademe', 'assets', 1, 0, 18, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(20, 'kalite', 'Kalite', 'assets', 1, 0, 19, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(21, 'kalite_birim', 'Kalite Birim', 'assets', 1, 0, 20, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(22, 'kamera_birimi', 'Kamera Birimi', 'assets', 1, 0, 21, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(23, 'kasa_birimi', 'Kasa Birimi', 'assets', 1, 0, 22, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(24, 'magaza_destek', 'Mağaza Destek', 'assets', 1, 0, 23, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(25, 'mali_isler', 'Mali İşler', 'assets', 1, 0, 24, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(26, 'musteri_hizmetleri', 'Müşteri Hizmetleri', 'assets', 1, 0, 25, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(27, 'on_muhasebe', 'Ön Muhasebe', 'assets', 1, 0, 26, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(28, 'pazarlama_birimi', 'Pazarlama Birimi', 'assets', 1, 1, 27, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(29, 'pb_e_ticaret', 'PB E-ticaret', 'assets', 1, 0, 28, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(30, 'peyba_pazarlama', 'Peyba Pazarlama', 'assets', 1, 0, 29, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(31, 'satinalma', 'Satınalma', 'assets', 1, 0, 30, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(32, 'sesba', 'Sesba', 'assets', 1, 0, 31, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(33, 'updigo', 'Updigo', 'assets', 1, 0, 32, '2026-03-11 06:26:06', '2026-03-17 06:22:54'),
(34, 'yonetim', 'Yönetim', 'assets', 1, 0, 33, '2026-03-11 06:26:06', '2026-03-17 06:22:54');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_task_unit_members`
--

CREATE TABLE `talepler_task_unit_members` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `unit_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `membership_role` varchar(20) NOT NULL DEFAULT 'member',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_task_unit_members`
--

INSERT INTO `talepler_task_unit_members` (`id`, `unit_id`, `user_id`, `membership_role`, `is_active`, `created_at`, `updated_at`) VALUES
(16876, 28, 915, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16877, 28, 916, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16878, 28, 918, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16879, 28, 919, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16880, 28, 921, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16881, 28, 924, 'manager', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16882, 28, 928, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16883, 28, 931, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16884, 28, 939, 'member', 1, '2026-03-11 06:31:00', '2026-03-17 06:27:01'),
(16885, 2, 727, 'manager', 0, '2026-03-11 07:19:05', '2026-03-11 08:47:52'),
(16886, 3, 717, 'member', 1, '2026-03-11 07:19:05', '2026-03-17 06:27:02'),
(16887, 3, 718, 'member', 1, '2026-03-11 07:19:05', '2026-03-17 06:27:02'),
(16888, 27, 926, 'member', 1, '2026-03-11 07:19:06', '2026-03-17 06:27:01'),
(16898, 30, 930, 'member', 1, '2026-03-11 07:19:06', '2026-03-17 06:27:02'),
(17769, 3, 727, 'manager', 0, '2026-03-11 08:47:52', '2026-03-13 05:14:44'),
(28394, 3, 940, 'member', 1, '2026-03-17 05:32:12', '2026-03-17 06:27:02');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_workflow_stages`
--

CREATE TABLE `talepler_workflow_stages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `template_id` bigint(20) UNSIGNED NOT NULL,
  `stage_key` varchar(80) NOT NULL,
  `stage_name` varchar(160) NOT NULL,
  `lane_group` enum('todo','doing','done') NOT NULL DEFAULT 'doing',
  `is_terminal` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_workflow_stages`
--

INSERT INTO `talepler_workflow_stages` (`id`, `template_id`, `stage_key`, `stage_name`, `lane_group`, `is_terminal`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 1, 'todo', 'Yapilacaklar', 'todo', 0, 1, 10, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(2, 1, 'in_progress', 'Islemdekiler', 'doing', 0, 1, 20, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(3, 1, 'done', 'Tamamlananlar', 'done', 1, 1, 30, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(6, 2, 'solution_center', 'Cozum Merkezi', 'doing', 0, 1, 30, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(8, 2, 'customer_review_reporter', 'Reporter Onayi', 'doing', 0, 1, 50, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(9, 2, 'customer_review_approver', 'Final Onay', 'doing', 0, 1, 60, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(10, 2, 'done', 'Tamamlandi', 'done', 1, 1, 70, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(11, 3, 'atanmamislar', 'Atanmamislar', 'todo', 0, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(12, 3, 'analiz', 'Analiz', 'doing', 0, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(13, 3, 'cozum_merkezi', 'Cozum Merkezi', 'doing', 0, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(14, 3, 'kontrol', 'Kontrol', 'doing', 0, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(15, 3, 'musteri_kontrolu', 'Musteri Kontrolu', 'doing', 0, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(16, 3, 'tamamlandi', 'Tamamlandi', 'done', 1, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(17, 4, 'yapilacaklar', 'Yapilacaklar', 'todo', 0, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(18, 4, 'islemde', 'Islemde', 'doing', 0, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(19, 4, 'onayda', 'Onayda', 'doing', 0, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(20, 4, 'askiya_alinmis', 'Askiya Alinmis', 'doing', 0, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(21, 4, 'yapildi', 'Yapildi', 'done', 1, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(22, 5, 'acik', 'Acik', 'todo', 0, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(23, 5, 'analiz', 'Analiz', 'doing', 0, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(24, 5, 'satis_muduru', 'Satis Muduru', 'doing', 0, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(25, 5, 'franchise_tamamlandi', 'Franchise Tamamlandi', 'doing', 0, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(26, 5, 'tamamlandi', 'Tamamlandi', 'done', 1, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(27, 6, 'brif', 'Brif', 'todo', 0, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(28, 6, 'to_do', 'To Do', 'todo', 0, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(29, 6, 'islemde', 'Islemde', 'doing', 0, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(30, 6, 'onay', 'Onay', 'doing', 0, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(31, 6, 'revize', 'Revize', 'doing', 0, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(32, 6, 'tamamlandi', 'Tamamlandi', 'done', 1, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(33, 7, 'acik', 'Acik', 'todo', 0, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(34, 7, 'analiz', 'Analiz', 'doing', 0, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(35, 7, 'ilgili_birim', 'Ilgili Birim', 'doing', 0, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(36, 7, 'tamamlandi', 'Tamamlandi', 'done', 1, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(37, 8, 'acik', 'Acik', 'todo', 0, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(38, 8, 'analiz', 'Analiz', 'doing', 0, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(39, 8, 'cozum_ortagi', 'Cozum Ortagi', 'doing', 0, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(40, 8, 'onay', 'Onay', 'doing', 0, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(41, 8, 'hukuk', 'Hukuk', 'doing', 0, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(42, 8, 'ok', 'OK', 'done', 1, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(43, 9, 'todo', 'Yapilacaklar', 'todo', 0, 1, 10, '2026-03-11 08:33:13', '2026-03-11 08:33:13'),
(44, 9, 'in_progress', 'Islemdekiler', 'doing', 0, 1, 20, '2026-03-11 08:33:13', '2026-03-11 08:33:13'),
(45, 9, 'done', 'Tamamlananlar', 'done', 1, 1, 30, '2026-03-11 08:33:13', '2026-03-11 08:33:13'),
(46, 2, 'kontrol', 'Kontrol', 'doing', 0, 1, 70, '2026-03-17 05:19:53', '2026-03-17 05:19:53'),
(48, 2, 'analiz', 'Analiz', 'doing', 0, 1, 80, '2026-03-17 05:20:14', '2026-03-17 05:20:14');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_workflow_templates`
--

CREATE TABLE `talepler_workflow_templates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `template_key` varchar(80) NOT NULL,
  `template_name` varchar(160) NOT NULL,
  `description` text DEFAULT NULL,
  `uses_camunda` tinyint(1) NOT NULL DEFAULT 0,
  `board_style` varchar(40) NOT NULL DEFAULT 'kanban_default',
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_workflow_templates`
--

INSERT INTO `talepler_workflow_templates` (`id`, `template_key`, `template_name`, `description`, `uses_camunda`, `board_style`, `is_default`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'basic_three_stage', 'Temel 3 Asama', 'Yapilacaklar -> Islemdekiler -> Tamamlananlar', 0, 'kanban_default', 1, 1, 10, '2026-03-06 12:35:22', '2026-03-06 12:52:21'),
(2, 'marketing_support_flow', 'Pazarlama Destek Akisi', 'Pazarlama destek icin genisletilmis akis', 0, 'kanban_default', 0, 1, 20, '2026-03-06 12:35:22', '2026-03-09 10:21:21'),
(3, 'marketing_destek_flow', 'Pazarlama Destek Akisi', 'Atanmamislar -> Analiz -> Cozum Merkezi -> Kontrol -> Musteri Kontrolu -> Tamamlandi', 0, 'kanban_default', 0, 1, 110, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(4, 'marketing_worklist_flow', 'Pazarlama Worklist Akisi', 'Yapilacaklar -> Islemde / Onayda / Askida -> Yapildi', 0, 'kanban_default', 0, 1, 120, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(5, 'franchise_flow', 'Franchise Akisi', 'Acik -> Analiz -> Satis Muduru -> Franchise Tamamlandi -> Tamamlandi', 0, 'kanban_default', 0, 1, 130, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(6, 'kreatif_surecler_flow', 'Kreatif Surecler Akisi', 'Brif -> To Do -> Islemde -> Onay -> Revize -> Tamamlandi', 0, 'kanban_default', 0, 1, 140, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(7, 'musteri_sikayetleri_flow', 'Musteri Sikayetleri Akisi', 'Acik -> Analiz -> Ilgili Birim -> Tamamlandi', 0, 'kanban_default', 0, 1, 150, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(8, 'marka_tescili_flow', 'Marka Tescili Akisi', 'Acik -> Analiz -> Cozum Ortagi -> Onay -> Hukuk -> OK', 0, 'kanban_default', 0, 1, 160, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(9, 'cat_7_test_akisi', 'TEST Akisi', 'Kategoriye ozel 3 asamali varsayilan akis', 0, 'kanban_default', 0, 1, 0, '2026-03-11 08:33:13', '2026-03-11 08:33:13');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `talepler_workflow_transitions`
--

CREATE TABLE `talepler_workflow_transitions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `template_id` bigint(20) UNSIGNED NOT NULL,
  `action_key` varchar(80) NOT NULL,
  `action_label` varchar(180) NOT NULL,
  `from_stage_key` varchar(80) NOT NULL,
  `to_stage_key` varchar(80) NOT NULL,
  `permission_scope` varchar(50) NOT NULL DEFAULT 'assignee_or_manager',
  `requires_user_select` tinyint(1) NOT NULL DEFAULT 0,
  `target_user_field` varchar(40) DEFAULT NULL,
  `candidate_unit_id` bigint(20) UNSIGNED DEFAULT NULL,
  `camunda_task_key` varchar(120) DEFAULT NULL,
  `camunda_variables_json` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `talepler_workflow_transitions`
--

INSERT INTO `talepler_workflow_transitions` (`id`, `template_id`, `action_key`, `action_label`, `from_stage_key`, `to_stage_key`, `permission_scope`, `requires_user_select`, `target_user_field`, `candidate_unit_id`, `camunda_task_key`, `camunda_variables_json`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 1, 'assign_from_pool', 'Havuzdan Ata', 'todo', 'todo', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(2, 1, 'claim_from_pool', 'Uzerime Al', 'todo', 'todo', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(3, 1, 'mark_done', 'Tamamla', 'in_progress', 'done', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 30, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(4, 1, 'reopen_task', 'Tekrar Ac', 'done', 'in_progress', 'unit_manager', 0, NULL, NULL, NULL, NULL, 1, 40, '2026-03-06 12:35:22', '2026-03-06 12:35:22'),
(5, 2, 'assign_from_pool', 'Havuzdan Ata', 'unassigned', 'unassigned', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(6, 2, 'claim_from_pool', 'Uzerime Al', 'unassigned', 'unassigned', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(7, 2, 'send_to_solution_center', 'Cozum Merkezine Gonder', 'assigned', 'solution_center', 'assignee_or_manager', 1, 'solution_user_id', NULL, 'analysis_task', '{\"analysis_action\":\"send_to_solution\"}', 0, 30, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(8, 2, 'return_to_control', 'Kontrole Gonder', 'solution_center', 'control', 'solution_or_manager', 1, 'control_user_id', NULL, 'solution_center_task', '{\"solution_action\":\"to_control\"}', 0, 40, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(9, 2, 'request_revision', 'Revizyon Iste', 'control', 'solution_center', 'control_or_manager', 1, 'solution_user_id', NULL, 'control_task', '{\"control_action\":\"revision\"}', 0, 50, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(10, 2, 'send_to_reporter_review', 'Musteri Kontrolune Gonder', 'control', 'customer_review_reporter', 'control_or_manager', 1, 'reporter_user_id', NULL, 'control_task', '{\"control_action\":\"to_reporter\"}', 0, 60, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(11, 2, 'reporter_approve', 'Onaya Gonder', 'customer_review_reporter', 'customer_review_approver', 'reporter_or_manager', 1, 'approver_user_id', NULL, 'reporter_review_task', '{\"reporter_action\":\"approve\"}', 0, 70, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(12, 2, 'reporter_revision', 'Revizyona Gonder', 'customer_review_reporter', 'solution_center', 'reporter_or_manager', 1, 'solution_user_id', NULL, 'reporter_review_task', '{\"reporter_action\":\"revision\"}', 0, 80, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(13, 2, 'approver_approve', 'Tamamla', 'customer_review_approver', 'done', 'approver_or_manager', 0, NULL, NULL, 'approver_review_task', '{\"approver_action\":\"approve\",\"final_status\":\"done\"}', 0, 90, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(14, 2, 'approver_revision', 'Revizyona Gonder', 'customer_review_approver', 'solution_center', 'approver_or_manager', 1, 'solution_user_id', NULL, 'approver_review_task', '{\"approver_action\":\"revision\"}', 0, 100, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(15, 2, 'analysis_to_control', 'Kontrole Gonder', 'assigned', 'control', 'assignee_or_manager', 1, 'control_user_id', NULL, 'analysis_task', '{\"analysis_action\":\"to_control\"}', 0, 35, '2026-03-09 08:54:21', '2026-03-09 10:21:21'),
(16, 2, 'goto_assigned_to_solution_center', 'Cozum Merkezi asamasina gec', 'assigned', 'solution_center', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 100, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(17, 2, 'goto_assigned_to_control', 'Kontrol asamasina gec', 'assigned', 'control', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 110, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(18, 2, 'goto_assigned_to_customer_review_reporter', 'Reporter Onayi asamasina gec', 'assigned', 'customer_review_reporter', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 120, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(19, 2, 'goto_assigned_to_customer_review_approver', 'Final Onay asamasina gec', 'assigned', 'customer_review_approver', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 130, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(20, 2, 'goto_assigned_to_done', 'Tamamlandi asamasina gec', 'assigned', 'done', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 140, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(21, 2, 'goto_solution_center_to_assigned', 'Analiz asamasina gec', 'solution_center', 'assigned', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 150, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(22, 2, 'goto_solution_center_to_control', 'Kontrol asamasina gec', 'solution_center', 'control', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 160, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(23, 2, 'goto_solution_center_to_customer_review_reporter', 'Reporter Onayi asamasina gec', 'solution_center', 'customer_review_reporter', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 170, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(24, 2, 'goto_solution_center_to_customer_review_approver', 'Final Onay asamasina gec', 'solution_center', 'customer_review_approver', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 180, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(25, 2, 'goto_solution_center_to_done', 'Tamamlandi asamasina gec', 'solution_center', 'done', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 190, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(26, 2, 'goto_control_to_assigned', 'Analiz asamasina gec', 'control', 'assigned', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 200, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(27, 2, 'goto_control_to_solution_center', 'Cozum Merkezi asamasina gec', 'control', 'solution_center', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 210, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(28, 2, 'goto_control_to_customer_review_reporter', 'Reporter Onayi asamasina gec', 'control', 'customer_review_reporter', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 220, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(29, 2, 'goto_control_to_customer_review_approver', 'Final Onay asamasina gec', 'control', 'customer_review_approver', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 230, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(30, 2, 'goto_control_to_done', 'Tamamlandi asamasina gec', 'control', 'done', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 240, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(31, 2, 'goto_customer_review_reporter_to_assigned', 'Analiz asamasina gec', 'customer_review_reporter', 'assigned', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 250, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(32, 2, 'goto_customer_review_reporter_to_solution_center', 'Cozum Merkezi asamasina gec', 'customer_review_reporter', 'solution_center', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 260, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(33, 2, 'goto_customer_review_reporter_to_control', 'Kontrol asamasina gec', 'customer_review_reporter', 'control', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 270, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(34, 2, 'goto_customer_review_reporter_to_customer_review_approver', 'Final Onay asamasina gec', 'customer_review_reporter', 'customer_review_approver', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 280, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(35, 2, 'goto_customer_review_reporter_to_done', 'Tamamlandi asamasina gec', 'customer_review_reporter', 'done', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 290, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(36, 2, 'goto_customer_review_approver_to_assigned', 'Analiz asamasina gec', 'customer_review_approver', 'assigned', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 300, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(37, 2, 'goto_customer_review_approver_to_solution_center', 'Cozum Merkezi asamasina gec', 'customer_review_approver', 'solution_center', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 310, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(38, 2, 'goto_customer_review_approver_to_control', 'Kontrol asamasina gec', 'customer_review_approver', 'control', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 320, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(39, 2, 'goto_customer_review_approver_to_customer_review_reporter', 'Reporter Onayi asamasina gec', 'customer_review_approver', 'customer_review_reporter', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 330, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(40, 2, 'goto_customer_review_approver_to_done', 'Tamamlandi asamasina gec', 'customer_review_approver', 'done', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 340, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(41, 2, 'reopen_done_to_assigned', 'Tekrar Ac (Analize Al)', 'done', 'assigned', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 1000, '2026-03-09 10:21:21', '2026-03-09 10:21:21'),
(42, 3, 'assign_to_analysis', 'Analize Ata', 'atanmamislar', 'analiz', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(43, 3, 'claim_to_analysis', 'Analizi Uzerime Al', 'atanmamislar', 'analiz', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(44, 3, 'analysis_to_solution', 'Cozum Merkezine Gonder', 'analiz', 'cozum_merkezi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(45, 3, 'solution_to_control', 'Kontrole Gonder', 'cozum_merkezi', 'kontrol', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(46, 3, 'control_to_customer', 'Musteri Kontrolune Gonder', 'kontrol', 'musteri_kontrolu', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(47, 3, 'customer_to_done', 'Tamamla', 'musteri_kontrolu', 'tamamlandi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(48, 3, 'customer_revision', 'Revizyona Gonder', 'musteri_kontrolu', 'cozum_merkezi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 70, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(49, 3, 'reopen_destek', 'Tekrar Ac', 'tamamlandi', 'kontrol', 'unit_manager', 0, NULL, NULL, NULL, NULL, 1, 80, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(50, 4, 'assign_to_working', 'Isleme Ata', 'yapilacaklar', 'islemde', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(51, 4, 'claim_to_working', 'Islemi Uzerime Al', 'yapilacaklar', 'islemde', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(52, 4, 'working_to_approval', 'Onaya Gonder', 'islemde', 'onayda', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(53, 4, 'working_to_hold', 'Askiya Al', 'islemde', 'askiya_alinmis', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(54, 4, 'hold_to_working', 'Askiyi Kaldir', 'askiya_alinmis', 'islemde', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(55, 4, 'approval_to_done', 'Yapildi Olarak Kapat', 'onayda', 'yapildi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(56, 4, 'approval_to_working', 'Revizeye Dondur', 'onayda', 'islemde', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 70, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(57, 4, 'reopen_worklist', 'Tekrar Isleme Al', 'yapildi', 'islemde', 'unit_manager', 0, NULL, NULL, NULL, NULL, 1, 80, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(58, 5, 'assign_to_franchise_analysis', 'Analize Ata', 'acik', 'analiz', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(59, 5, 'claim_to_franchise_analysis', 'Analizi Uzerime Al', 'acik', 'analiz', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(60, 5, 'analysis_to_sales_manager', 'Satis Mudurune Yonlendir', 'analiz', 'satis_muduru', 'assignee_or_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(61, 5, 'sales_to_franchise_done', 'Franchise Tamamlandi', 'satis_muduru', 'franchise_tamamlandi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(62, 5, 'franchise_to_done', 'Tamamla', 'franchise_tamamlandi', 'tamamlandi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(63, 5, 'franchise_revision', 'Analize Geri Dondur', 'satis_muduru', 'analiz', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(64, 5, 'reopen_franchise', 'Tekrar Ac', 'tamamlandi', 'franchise_tamamlandi', 'unit_manager', 0, NULL, NULL, NULL, NULL, 1, 70, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(65, 6, 'assign_to_kreatif_todo', 'To Do Alanina Ata', 'brif', 'to_do', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(66, 6, 'claim_to_kreatif_todo', 'To Do Uzerime Al', 'brif', 'to_do', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(67, 6, 'kreatif_todo_to_working', 'Isleme Basla', 'to_do', 'islemde', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(68, 6, 'kreatif_working_to_approval', 'Onaya Gonder', 'islemde', 'onay', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(69, 6, 'kreatif_approval_to_done', 'Tamamlandi Olarak Kapat', 'onay', 'tamamlandi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(70, 6, 'kreatif_approval_to_revision', 'Revizeye Gonder', 'onay', 'revize', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(71, 6, 'kreatif_revision_to_working', 'Revizeyi Isle', 'revize', 'islemde', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 70, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(72, 6, 'reopen_kreatif', 'Tekrar Ac', 'tamamlandi', 'islemde', 'unit_manager', 0, NULL, NULL, NULL, NULL, 1, 80, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(73, 7, 'assign_to_complaint_analysis', 'Analize Ata', 'acik', 'analiz', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(74, 7, 'claim_to_complaint_analysis', 'Analizi Uzerime Al', 'acik', 'analiz', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(75, 7, 'complaint_analysis_to_unit', 'Ilgili Birime Gonder', 'analiz', 'ilgili_birim', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(76, 7, 'complaint_unit_to_done', 'Sikayeti Kapat', 'ilgili_birim', 'tamamlandi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(77, 7, 'complaint_revision', 'Analize Geri Al', 'ilgili_birim', 'analiz', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(78, 7, 'reopen_complaint', 'Tekrar Ac', 'tamamlandi', 'analiz', 'unit_manager', 0, NULL, NULL, NULL, NULL, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(79, 8, 'assign_to_brand_analysis', 'Analize Ata', 'acik', 'analiz', 'unit_manager', 1, 'assignee_user_id', NULL, NULL, NULL, 1, 10, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(80, 8, 'claim_to_brand_analysis', 'Analizi Uzerime Al', 'acik', 'analiz', 'pool_member', 0, 'assignee_user_id', NULL, NULL, NULL, 1, 20, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(81, 8, 'brand_analysis_to_partner', 'Cozum Ortagina Gonder', 'analiz', 'cozum_ortagi', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 30, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(82, 8, 'brand_partner_to_approval', 'Onaya Gonder', 'cozum_ortagi', 'onay', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 40, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(83, 8, 'brand_approval_to_legal', 'Hukuka Gonder', 'onay', 'hukuk', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 50, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(84, 8, 'brand_legal_to_ok', 'OK ve Kapat', 'hukuk', 'ok', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 60, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(85, 8, 'brand_legal_revision', 'Analize Geri Dondur', 'hukuk', 'analiz', 'assignee_or_manager', 0, NULL, NULL, NULL, NULL, 1, 70, '2026-03-11 07:24:01', '2026-03-11 07:24:01'),
(86, 8, 'reopen_brand', 'Tekrar Ac', 'ok', 'onay', 'unit_manager', 0, NULL, NULL, NULL, NULL, 1, 80, '2026-03-11 07:24:01', '2026-03-11 07:24:01');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `tasks`
--

CREATE TABLE `tasks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `priority` varchar(20) NOT NULL DEFAULT 'normal',
  `task_type` tinyint(3) UNSIGNED NOT NULL DEFAULT 1,
  `status` varchar(20) NOT NULL DEFAULT 'open',
  `start_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `attachment_name` varchar(255) DEFAULT NULL,
  `attachment_size` bigint(20) UNSIGNED DEFAULT NULL,
  `required_attachment_types` varchar(255) DEFAULT NULL,
  `form_template_id` bigint(20) UNSIGNED DEFAULT NULL,
  `form_template_version` int(10) UNSIGNED DEFAULT NULL,
  `created_by_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `department_name` varchar(255) DEFAULT NULL,
  `position_name` varchar(255) DEFAULT NULL,
  `title_name` varchar(255) DEFAULT NULL,
  `responsibility_center_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `tasks`
--

INSERT INTO `tasks` (`id`, `title`, `description`, `priority`, `task_type`, `status`, `start_date`, `due_date`, `attachment_path`, `attachment_name`, `attachment_size`, `required_attachment_types`, `form_template_id`, `form_template_version`, `created_by_user_id`, `department_name`, `position_name`, `title_name`, `responsibility_center_id`, `created_at`, `updated_at`) VALUES
(1, 'BILGISAYAR FORMATLANACAK', '3 KATTA BILGISAYAR FORMATLANACAK', 'high', 1, 'completed', '2026-01-16', '2026-01-16', NULL, NULL, NULL, NULL, NULL, NULL, 464, 'BILGI ISLEM', NULL, NULL, NULL, '2026-01-15 13:56:18', '2026-01-15 14:43:10'),
(2, 'DENEME', 'DENEME', 'high', 1, 'completed', '2026-01-15', '2026-01-17', 'uploads/tasks/task-20260115173008-b64e0e85a0cf.pdf', 'performans-raporu-8915-20260115-130446.pdf', 916022, NULL, NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-15 14:30:08', '2026-01-15 14:43:03'),
(3, 'DENEME', 'deneme', 'normal', 1, 'completed', '2026-01-17', '2026-01-17', NULL, NULL, NULL, NULL, NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-16 05:38:34', '2026-01-19 08:40:55'),
(4, 'PROJE', 'TEST', 'high', 1, 'completed', '2026-01-16', '2026-01-18', NULL, NULL, NULL, 'pdf', NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-16 08:54:42', '2026-01-19 08:40:55'),
(5, 'deneme', 'deneme', 'normal', 1, 'completed', '2026-01-16', '2026-01-19', NULL, NULL, NULL, 'pdf', NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-16 08:59:36', '2026-01-16 09:00:39'),
(6, 'DENEME DENEME DENEME', 'TESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTEST', 'high', 1, 'completed', '2026-01-16', '2026-01-19', NULL, NULL, NULL, 'pdf,xls,xlsx,jpg,jpeg,png', NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-16 09:45:17', '2026-01-19 08:40:55'),
(7, 'DENEME1', 'exceli doldur', 'high', 1, 'completed', NULL, NULL, 'uploads/tasks/task-20260119113010-0340317b3870.xlsx', 'açılış fişi şablonu.xlsx', 9808, 'xls,xlsx', NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-16 10:07:09', '2026-01-19 08:40:55'),
(8, 'sfsfsfsd', 'fsfsfsdfs', 'high', 1, 'completed', '2026-01-16', '2026-01-19', NULL, NULL, NULL, NULL, NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-16 11:14:16', '2026-01-19 08:40:55'),
(9, 'SERVER', 'SERVER', 'normal', 1, 'completed', '2026-01-16', '2026-01-18', NULL, NULL, NULL, 'pdf,xls,xlsx,jpg,jpeg,png', NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-16 11:36:51', '2026-01-19 08:30:57'),
(10, 'EXCEL DOLDUR', 'EXCELI DOLDUR GÖNDER', 'high', 1, 'open', '2026-01-19', '2026-01-22', 'uploads/tasks/task-20260119115520-f1995e81eb67.xlsx', 'EXCEL.xlsx', 8464, 'xls,xlsx', NULL, NULL, 464, NULL, NULL, NULL, NULL, '2026-01-19 08:55:20', '2026-01-19 08:55:20'),
(11, 'DOLDUR FORMU GÖNDER', NULL, 'normal', 1, 'open', '2026-01-19', '2026-01-24', NULL, NULL, NULL, NULL, 1, 10, 464, NULL, NULL, NULL, NULL, '2026-01-19 14:16:53', '2026-01-19 14:16:53'),
(12, 'BILGI ISLEM TEST', NULL, 'normal', 1, 'open', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 464, 'BILGI ISLEM', NULL, NULL, NULL, '2026-01-26 06:47:14', '2026-01-26 06:47:14');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `task_assignments`
--

CREATE TABLE `task_assignments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `task_id` bigint(20) UNSIGNED NOT NULL,
  `employee_id` bigint(20) UNSIGNED DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'assigned',
  `responded_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `task_assignments`
--

INSERT INTO `task_assignments` (`id`, `task_id`, `employee_id`, `user_id`, `status`, `responded_at`, `created_at`, `updated_at`) VALUES
(1, 1, 15159, 718, 'completed', '2026-01-15 13:58:53', '2026-01-15 13:56:18', '2026-01-15 14:11:27'),
(2, 1, 15315, 717, 'completed', '2026-01-15 14:15:15', '2026-01-15 13:56:18', '2026-01-15 14:43:10'),
(3, 2, 15315, 717, 'completed', '2026-01-15 14:42:48', '2026-01-15 14:30:08', '2026-01-15 14:43:03'),
(4, 3, 15315, 717, 'completed', '2026-01-16 05:39:10', '2026-01-16 05:38:34', '2026-01-19 08:40:55'),
(5, 4, 15159, 718, 'completed', '2026-01-16 08:57:11', '2026-01-16 08:54:42', '2026-01-19 08:40:55'),
(6, 5, 15159, 718, 'completed', '2026-01-16 09:00:20', '2026-01-16 08:59:36', '2026-01-16 09:00:39'),
(7, 6, 15159, 718, 'completed', '2026-01-16 09:46:48', '2026-01-16 09:45:17', '2026-01-19 08:40:55'),
(8, 7, 15159, 718, 'completed', '2026-01-19 08:32:35', '2026-01-16 10:07:09', '2026-01-19 08:40:55'),
(9, 8, 15159, 718, 'completed', '2026-01-16 11:29:17', '2026-01-16 11:14:16', '2026-01-19 08:40:55'),
(10, 9, 15159, 718, 'completed', '2026-01-16 11:38:02', '2026-01-16 11:36:51', '2026-01-19 08:30:57'),
(11, 10, 15159, 718, 'in_progress', '2026-01-19 08:56:35', '2026-01-19 08:55:20', '2026-01-19 08:56:35'),
(12, 10, 15315, 717, 'in_progress', '2026-01-19 09:11:26', '2026-01-19 08:55:20', '2026-01-19 09:11:26'),
(13, 11, 15159, 718, 'assigned', NULL, '2026-01-19 14:16:53', '2026-01-19 14:16:53'),
(14, 12, 15159, 718, 'assigned', NULL, '2026-01-26 06:47:14', '2026-01-26 06:47:14');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `task_responses`
--

CREATE TABLE `task_responses` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `task_assignment_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `message` text NOT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `attachment_name` varchar(255) DEFAULT NULL,
  `attachment_size` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `task_responses`
--

INSERT INTO `task_responses` (`id`, `task_assignment_id`, `user_id`, `message`, `attachment_path`, `attachment_name`, `attachment_size`, `created_at`) VALUES
(1, 1, 718, 'BILGISAYAR FORMATLANDI', NULL, NULL, NULL, '2026-01-15 13:58:53'),
(2, 2, 717, 'SAÇMA SAPAN GÖREVLER ATAMA', NULL, NULL, NULL, '2026-01-15 14:15:15'),
(3, 3, 717, 'gssffdsfsdfsdf', NULL, NULL, NULL, '2026-01-15 14:42:48'),
(4, 4, 717, 'fhfhfhf', NULL, NULL, NULL, '2026-01-16 05:39:10'),
(5, 5, 718, 'SELAMUN ALEYKUM', 'uploads/task-responses/task-response-20260116115711-acec709251ce.pdf', 'performans-raporu-8052-20260115-105522.pdf', 914886, '2026-01-16 08:57:11'),
(6, 6, 718, 'ksdjfjsdjfvsdjv', 'uploads/task-responses/task-response-20260116120020-216dcb67ec1d.pdf', 'performans-raporu-8915-20260115-130446.pdf', 916022, '2026-01-16 09:00:20'),
(7, 7, 718, 'test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1test1', 'uploads/task-responses/task-response-20260116124648-aa41d612348f.pdf', 'performans-raporu-8915-20260115-130446.pdf', 916022, '2026-01-16 09:46:48'),
(8, 9, 718, 'dhdfhhghgh', 'uploads/task-responses/task-response-20260116142917-01c25f2c9e31.pdf', 'performans-raporu-8915-20260115-130446.pdf', 916022, '2026-01-16 11:29:17'),
(9, 10, 718, 'SERVER KURULDU', 'uploads/task-responses/task-response-20260116143802-c272a5dade1d.jpg', 'image2.JPG', 2501, '2026-01-16 11:38:02'),
(10, 8, 718, 'EXCEL DOLDURULMUŞTUR.', 'uploads/task-responses/task-response-20260119113235-e63c1c445ad8.xlsx', 'task-20260119113010-0340317b3870.xlsx', 10802, '2026-01-19 08:32:35'),
(11, 11, 718, 'EXCEL DOLDURULMUŞTUR.', 'uploads/task-responses/task-response-20260119115635-c5fa01c72cb1.xlsx', 'task-20260119115520-f1995e81eb67.xlsx', 8482, '2026-01-19 08:56:35'),
(12, 12, 717, 'DOLDURDUM', 'uploads/task-responses/task-response-20260119121126-b2babd9f78b3.xlsx', 'task-20260119115520-f1995e81eb67.xlsx', 8487, '2026-01-19 09:11:26');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `task_response_files`
--

CREATE TABLE `task_response_files` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `task_response_id` bigint(20) UNSIGNED NOT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `attachment_name` varchar(255) DEFAULT NULL,
  `attachment_size` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `task_response_files`
--

INSERT INTO `task_response_files` (`id`, `task_response_id`, `attachment_path`, `attachment_name`, `attachment_size`, `created_at`) VALUES
(1, 8, 'uploads/task-responses/task-response-20260116142917-01c25f2c9e31.pdf', 'performans-raporu-8915-20260115-130446.pdf', 916022, '2026-01-16 11:29:17'),
(2, 8, 'uploads/task-responses/task-response-20260116142917-d1015c4e17c1.png', 'logo.PNG', 23462, '2026-01-16 11:29:17'),
(3, 9, 'uploads/task-responses/task-response-20260116143802-c272a5dade1d.jpg', 'image2.JPG', 2501, '2026-01-16 11:38:02'),
(4, 9, 'uploads/task-responses/task-response-20260116143802-f82bdcc992bb.pdf', 'performans-raporu-8915-20260115-130446.pdf', 916022, '2026-01-16 11:38:02'),
(5, 9, 'uploads/task-responses/task-response-20260116143802-0026bfd03cfd.xlsx', 'sorular.xlsx', 9574, '2026-01-16 11:38:02'),
(6, 10, 'uploads/task-responses/task-response-20260119113235-e63c1c445ad8.xlsx', 'task-20260119113010-0340317b3870.xlsx', 10802, '2026-01-19 08:32:35'),
(7, 11, 'uploads/task-responses/task-response-20260119115635-c5fa01c72cb1.xlsx', 'task-20260119115520-f1995e81eb67.xlsx', 8482, '2026-01-19 08:56:35'),
(8, 12, 'uploads/task-responses/task-response-20260119121126-b2babd9f78b3.xlsx', 'task-20260119115520-f1995e81eb67.xlsx', 8487, '2026-01-19 09:11:26');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `titles`
--

CREATE TABLE `titles` (
  `id` int(11) NOT NULL,
  `name` varchar(120) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Tablo döküm verisi `titles`
--

INSERT INTO `titles` (`id`, `name`, `active`) VALUES
(93, 'MUDUR', 1),
(94, 'PERSONEL', 1),
(95, 'UZMAN YARDIMCISI', 1),
(96, 'MUDUR YARDIMCISI', 1),
(97, 'UZMAN', 1),
(98, 'STAJER', 1),
(99, 'KIDEMLI UZMAN', 1),
(100, 'BASKAN YARDIMCISI', 1),
(101, 'DIREKTOR YARDIMCISI', 1),
(102, 'DIREKTOR', 1),
(103, 'MAGAZA', 1);

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `user_menu_permissions`
--

CREATE TABLE `user_menu_permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` int(11) NOT NULL,
  `menu_permission_id` bigint(20) UNSIGNED NOT NULL,
  `can_view` tinyint(1) NOT NULL DEFAULT 1,
  `can_manage` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `user_menu_permissions`
--

INSERT INTO `user_menu_permissions` (`id`, `user_id`, `menu_permission_id`, `can_view`, `can_manage`, `created_at`, `updated_at`) VALUES
(165, 718, 1, 0, 0, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(166, 718, 2, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(167, 718, 3, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(168, 718, 4, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(169, 718, 5, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(170, 718, 6, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(171, 718, 7, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(172, 718, 8, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(173, 718, 9, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(174, 718, 10, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(175, 718, 11, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(176, 718, 12, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(177, 718, 13, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(178, 718, 14, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(180, 718, 16, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(181, 718, 17, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(182, 718, 18, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(183, 718, 19, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(184, 718, 20, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(185, 718, 21, 0, 0, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(186, 718, 22, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(187, 718, 23, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(188, 718, 24, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(189, 718, 25, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(190, 718, 26, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(191, 718, 27, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(192, 718, 28, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(193, 915, 42, 1, 0, '2026-03-04 06:43:13', '2026-03-04 06:43:13'),
(194, 916, 42, 1, 0, '2026-03-04 06:43:13', '2026-03-04 06:43:13'),
(195, 917, 42, 1, 0, '2026-03-04 06:43:14', '2026-03-04 06:43:14'),
(196, 918, 42, 1, 0, '2026-03-04 06:43:15', '2026-03-04 06:43:15'),
(197, 919, 42, 1, 0, '2026-03-04 06:43:15', '2026-03-04 06:43:15'),
(198, 920, 42, 1, 0, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(199, 921, 42, 1, 0, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(200, 922, 42, 1, 0, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(201, 923, 42, 1, 0, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(203, 925, 42, 1, 0, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(204, 926, 42, 1, 0, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(205, 927, 42, 1, 0, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(206, 928, 42, 1, 0, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(207, 929, 42, 1, 0, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(208, 930, 42, 1, 0, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(210, 932, 42, 1, 0, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(212, 934, 42, 1, 0, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(213, 935, 42, 1, 0, '2026-03-04 06:43:18', '2026-03-04 06:43:18'),
(214, 936, 42, 1, 0, '2026-03-04 06:43:18', '2026-03-04 06:43:18'),
(217, 939, 42, 1, 0, '2026-03-04 06:43:18', '2026-03-04 06:43:18'),
(409, 931, 1, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(410, 931, 2, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(411, 931, 3, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(412, 931, 4, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(413, 931, 5, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(414, 931, 6, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(415, 931, 7, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(416, 931, 8, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(417, 931, 9, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(418, 931, 10, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(419, 931, 11, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(420, 931, 12, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(421, 931, 13, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(422, 931, 14, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(423, 931, 16, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(424, 931, 17, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(425, 931, 18, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(426, 931, 19, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(427, 931, 20, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(428, 931, 21, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(429, 931, 22, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(430, 931, 23, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(431, 931, 24, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(432, 931, 25, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(433, 931, 26, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(434, 931, 27, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(435, 931, 28, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(436, 931, 29, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(437, 931, 31, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(438, 931, 32, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(439, 931, 33, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(440, 931, 34, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(441, 931, 35, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(442, 931, 36, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(443, 931, 37, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(444, 931, 38, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(445, 931, 39, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(446, 931, 40, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(447, 931, 41, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(448, 931, 42, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(449, 931, 43, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(450, 931, 44, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(451, 931, 45, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(452, 931, 46, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(453, 931, 47, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(454, 931, 48, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(455, 931, 49, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(456, 931, 50, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(457, 931, 51, 1, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(458, 931, 52, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(459, 931, 53, 0, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(512, 924, 1, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(513, 924, 2, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(514, 924, 3, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(515, 924, 4, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(516, 924, 5, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(517, 924, 6, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(518, 924, 7, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(519, 924, 8, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(520, 924, 9, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(521, 924, 10, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(522, 924, 11, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(523, 924, 12, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(524, 924, 13, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(525, 924, 14, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(526, 924, 16, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(527, 924, 17, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(528, 924, 18, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(529, 924, 19, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(530, 924, 20, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(531, 924, 21, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(532, 924, 22, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(533, 924, 23, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(534, 924, 24, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(535, 924, 25, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(536, 924, 26, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(537, 924, 27, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(538, 924, 28, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(539, 924, 29, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(540, 924, 31, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(541, 924, 32, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(542, 924, 33, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(543, 924, 34, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(544, 924, 35, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(545, 924, 36, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(546, 924, 37, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(547, 924, 38, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(548, 924, 39, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(549, 924, 40, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(550, 924, 41, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(551, 924, 42, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(552, 924, 43, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(553, 924, 44, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(554, 924, 45, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(555, 924, 46, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(556, 924, 47, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(557, 924, 48, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(558, 924, 49, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(559, 924, 50, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(560, 924, 51, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(561, 924, 52, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(562, 924, 53, 0, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(563, 924, 54, 1, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(564, 727, 1, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(565, 727, 2, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(566, 727, 3, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(567, 727, 4, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(568, 727, 5, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(569, 727, 6, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(570, 727, 7, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(571, 727, 8, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(572, 727, 9, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(573, 727, 10, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(574, 727, 11, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(575, 727, 12, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(576, 727, 13, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(577, 727, 14, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(578, 727, 16, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(579, 727, 17, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(580, 727, 18, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(581, 727, 19, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(582, 727, 20, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(583, 727, 21, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(584, 727, 22, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(585, 727, 23, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(586, 727, 24, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(587, 727, 25, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(588, 727, 26, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(589, 727, 27, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(590, 727, 28, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(591, 727, 29, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(592, 727, 31, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(593, 727, 32, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(594, 727, 33, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(595, 727, 34, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(596, 727, 35, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(597, 727, 36, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(598, 727, 37, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(599, 727, 38, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(600, 727, 39, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(601, 727, 40, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(602, 727, 41, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(603, 727, 42, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(604, 727, 43, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(605, 727, 44, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(606, 727, 45, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(607, 727, 46, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(608, 727, 47, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(609, 727, 48, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(610, 727, 49, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(611, 727, 50, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(612, 727, 51, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(613, 727, 52, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(614, 727, 53, 0, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(615, 727, 54, 1, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(617, 726, 1, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(618, 726, 2, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(619, 726, 3, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(620, 726, 4, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(621, 726, 5, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(622, 726, 6, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(623, 726, 7, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(624, 726, 8, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(625, 726, 9, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(626, 726, 10, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(627, 726, 11, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(628, 726, 12, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(629, 726, 13, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(630, 726, 14, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(631, 726, 16, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(632, 726, 17, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(633, 726, 18, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(634, 726, 19, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(635, 726, 20, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(636, 726, 21, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(637, 726, 22, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(638, 726, 23, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(639, 726, 24, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(640, 726, 25, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(641, 726, 26, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(642, 726, 27, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(643, 726, 28, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(644, 726, 29, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(645, 726, 31, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(646, 726, 32, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(647, 726, 33, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(648, 726, 34, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(649, 726, 35, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(650, 726, 36, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(651, 726, 37, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(652, 726, 38, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(653, 726, 39, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(654, 726, 40, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(655, 726, 41, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(656, 726, 42, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(657, 726, 43, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(658, 726, 44, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(659, 726, 45, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(660, 726, 46, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(661, 726, 47, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(662, 726, 48, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(663, 726, 49, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(664, 726, 50, 1, 1, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(665, 726, 51, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(666, 726, 52, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(667, 726, 53, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(668, 726, 54, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(669, 726, 56, 0, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(670, 940, 42, 1, 0, '2026-03-17 05:21:37', '2026-03-17 05:21:37');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `user_notifications`
--

CREATE TABLE `user_notifications` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `type` varchar(50) NOT NULL DEFAULT 'system',
  `title` varchar(180) NOT NULL,
  `message` text DEFAULT NULL,
  `target_url` varchar(500) DEFAULT NULL,
  `context_key` varchar(180) DEFAULT NULL,
  `is_read` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `user_notifications`
--

INSERT INTO `user_notifications` (`id`, `user_id`, `type`, `title`, `message`, `target_url`, `context_key`, `is_read`, `read_at`, `created_at`, `updated_at`) VALUES
(1, 727, 'asset_fault', 'Ariza talebi kapatildi', 'açılmıyor talebiniz kapatildi.', '/admin/assets/faults/1', 'asset_fault:1:resolved', 1, '2026-02-16 06:19:38', '2026-02-16 06:19:02', '2026-02-16 06:19:38'),
(2, 727, 'asset_fault', 'Ariza talebi kapatildi', 'test talebiniz kapatildi.', '/admin/assets/faults/2', 'asset_fault:2:resolved', 1, '2026-02-16 06:19:39', '2026-02-16 06:19:13', '2026-02-16 06:19:39'),
(3, 727, 'asset_fault', 'Ariza talebi kapatildi', 'te talebiniz kapatildi.', '/admin/assets/faults/3', 'asset_fault:3:resolved', 1, '2026-02-16 06:36:31', '2026-02-16 06:20:01', '2026-02-16 06:36:31'),
(4, 727, 'asset_fault', 'Ariza talebi isleme alindi', 'te talebiniz isleme alindi.', '/admin/assets/faults/3', 'asset_fault:3:in_progress', 1, '2026-02-16 06:36:29', '2026-02-16 06:21:42', '2026-02-16 06:36:29'),
(5, 464, 'asset_fault_assignment', 'Yeni ariza talebi', 'test icin yeni ariza talebi atandi.', '/admin/camunda/tasks', 'asset_fault_assignment:4:464', 1, '2026-02-16 06:42:55', '2026-02-16 06:42:40', '2026-02-16 06:42:55'),
(6, 727, 'asset_fault', 'Ariza talebi isleme alindi', 'test talebiniz isleme alindi.', '/admin/assets/faults/4', 'asset_fault:4:in_progress', 1, '2026-02-16 06:45:17', '2026-02-16 06:43:39', '2026-02-16 06:45:17'),
(7, 727, 'asset_fault', 'Ariza talebi kapatildi', 'test talebiniz kapatildi.', '/admin/assets/faults/4', 'asset_fault:4:resolved', 1, '2026-02-16 06:45:10', '2026-02-16 06:43:54', '2026-02-16 06:45:10'),
(8, 464, 'asset_fault_assignment', 'Yeni ariza talebi', 'test icin yeni ariza talebi atandi.', '/admin/assets/faults/5', 'asset_fault_assignment:5:464', 1, '2026-02-16 07:55:55', '2026-02-16 07:55:38', '2026-02-16 07:55:55'),
(9, 727, 'asset_fault', 'Ariza talebi isleme alindi', 'test talebiniz isleme alindi.', '/admin/assets/faults/5', 'asset_fault:5:in_progress', 1, '2026-02-16 07:56:50', '2026-02-16 07:56:02', '2026-02-16 07:56:50'),
(10, 727, 'asset_fault', 'Ariza talebi kapatildi', 'test talebiniz kapatildi.', '/admin/assets/faults/5', 'asset_fault:5:resolved', 1, '2026-02-16 07:56:49', '2026-02-16 07:56:11', '2026-02-16 07:56:49'),
(11, 464, 'asset_fault_assignment', 'Yeni ariza talebi', 'tes icin yeni ariza talebi atandi.', '/admin/assets/faults/6', 'asset_fault_assignment:6:464', 1, '2026-02-16 10:15:30', '2026-02-16 10:15:24', '2026-02-16 10:15:30'),
(12, 464, 'asset_fault', 'Ariza talebi reddedildi', 'tes talebiniz reddedildi.', '/admin/assets/faults/6', 'asset_fault:6:rejected', 1, '2026-02-16 10:23:48', '2026-02-16 10:19:52', '2026-02-16 10:23:48'),
(13, 727, 'asset_fault_assignment', 'Yeni ariza talebi', 'bozuk icin yeni ariza talebi atandi.', '/admin/assets/faults/7', 'asset_fault_assignment:7:727', 1, '2026-02-16 10:24:34', '2026-02-16 10:24:16', '2026-02-16 10:24:34'),
(14, 726, 'asset_fault_assignment', 'Ariza talebi size atandi', 'bozuk talebi size atandi.', '/admin/assets/faults/7', 'asset_fault_assignment:7:726', 1, '2026-02-16 10:27:37', '2026-02-16 10:27:28', '2026-02-16 10:27:37'),
(15, 464, 'asset_fault', 'Ariza talebi kapatildi', 'bozuk talebiniz kapatildi.', '/admin/assets/faults/7', 'asset_fault:7:resolved', 1, '2026-02-16 10:38:50', '2026-02-16 10:37:56', '2026-02-16 10:38:50'),
(16, 727, 'asset_fault_assignment', 'Yeni ariza talebi', 'test icin yeni ariza talebi atandi.', '/admin/assets/faults/8', 'asset_fault_assignment:8:727', 1, '2026-02-16 13:23:43', '2026-02-16 13:11:52', '2026-02-16 13:23:43'),
(17, 801, 'asset_fault', 'Ariza talebi reddedildi', 'test talebiniz reddedildi.', '/admin/assets/faults/8', 'asset_fault:8:rejected', 1, '2026-02-16 13:16:41', '2026-02-16 13:14:16', '2026-02-16 13:16:41'),
(18, 727, 'asset_fault_assignment', 'Yeni ariza talebi', 'hata icin yeni ariza talebi atandi.', '/admin/assets/faults/9', 'asset_fault_assignment:9:727', 1, '2026-02-16 14:32:55', '2026-02-16 14:21:28', '2026-02-16 14:32:55'),
(19, 726, 'asset_fault_assignment', 'Ariza talebi size atandi', 'hata talebi size atandi.', '/admin/assets/faults/9', 'asset_fault_assignment:9:726', 1, '2026-02-16 14:34:36', '2026-02-16 14:34:25', '2026-02-16 14:34:36'),
(20, 801, 'asset_fault', 'Ariza talebi isleme alindi', 'hata talebiniz isleme alindi.', '/admin/assets/faults/9', 'asset_fault:9:in_progress', 1, '2026-02-16 14:42:11', '2026-02-16 14:39:56', '2026-02-16 14:42:11'),
(21, 727, 'asset_fault_assignment', 'Yeni ariza talebi', 'test icin yeni ariza talebi atandi.', '/admin/assets/faults/10', 'asset_fault_assignment:10:727', 1, '2026-02-18 14:39:18', '2026-02-18 10:11:16', '2026-02-18 14:39:18'),
(22, 801, 'asset_fault', 'Ariza talebi isleme alindi', 'test talebiniz isleme alindi.', '/admin/assets/faults/10', 'asset_fault:10:in_progress', 1, '2026-02-18 10:13:14', '2026-02-18 10:12:05', '2026-02-18 10:13:14'),
(23, 726, 'asset_fault_assignment', 'Ariza talebi size atandi', 'test talebi size atandi.', '/admin/assets/faults/10', 'asset_fault_assignment:10:726', 1, '2026-02-18 10:12:14', '2026-02-18 10:12:05', '2026-02-18 10:12:14'),
(24, 801, 'asset_fault', 'Ariza talebi kapatildi', 'test talebiniz kapatildi.', '/admin/assets/faults/10', 'asset_fault:10:resolved', 1, '2026-02-18 10:12:52', '2026-02-18 10:12:43', '2026-02-18 10:12:52'),
(25, 727, 'asset_fault_assignment', 'Yeni ariza talebi', 'test icin yeni ariza talebi atandi.', '/admin/assets/faults/11', 'asset_fault_assignment:11:727', 1, '2026-02-18 14:38:17', '2026-02-18 10:28:10', '2026-02-18 14:38:17'),
(26, 726, 'asset_fault_assignment', 'Ariza talebi size atandi', 'test talebi size atandi.', '/admin/assets/faults/11', 'asset_fault_assignment:11:726', 1, '2026-02-18 10:28:55', '2026-02-18 10:28:41', '2026-02-18 10:28:55'),
(27, 801, 'asset_fault', 'Ariza talebi kapatildi', 'test talebiniz kapatildi.', '/admin/assets/faults/11', 'asset_fault:11:resolved', 0, NULL, '2026-02-18 10:29:11', '2026-02-18 10:29:11'),
(28, 727, 'asset_fault_assignment', 'Yeni ariza talebi', 'bozuk icin yeni ariza talebi atandi.', '/admin/assets/faults/12', 'asset_fault_assignment:12:727', 1, '2026-02-18 14:39:21', '2026-02-18 14:37:14', '2026-02-18 14:39:21'),
(29, 727, 'asset_fault_assignment', 'Yeni ariza talebi', 'test icin yeni ariza talebi atandi.', '/admin/assets/faults/13', 'asset_fault_assignment:13:727', 1, '2026-02-18 14:38:15', '2026-02-18 14:38:06', '2026-02-18 14:38:15'),
(30, 801, 'asset_fault', 'Ariza talebi kapatildi', 'test talebiniz kapatildi.', '/admin/assets/faults/13', 'asset_fault:13:resolved', 0, NULL, '2026-02-18 14:39:03', '2026-02-18 14:39:03'),
(31, 726, 'asset_fault_assignment', 'Ariza talebi size atandi', 'test talebi size atandi.', '/admin/assets/faults/13', 'asset_fault_assignment:13:726', 1, '2026-03-03 08:00:38', '2026-02-18 14:39:03', '2026-03-03 08:00:38'),
(32, 915, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:915', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(33, 916, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:916', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(34, 918, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:918', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(35, 919, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:919', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(36, 921, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:921', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(37, 924, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:924', 1, '2026-03-06 05:52:07', '2026-03-04 13:15:41', '2026-03-06 05:52:07'),
(38, 928, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:928', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(39, 931, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:931', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(40, 939, 'marketing_destek_pool', 'PD-0010 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:10:939', 0, NULL, '2026-03-04 13:15:41', '2026-03-04 13:37:06'),
(41, 924, 'marketing_destek', 'PD-0010 size atandi', 'test. Admin tarafindan size yonlendirildi. Durum: Atanmış', '/admin/marketing/destek/talep/10', 'marketing_destek_assignment:10:924:assigned', 1, '2026-03-04 13:29:52', '2026-03-04 13:25:30', '2026-03-04 13:29:52'),
(42, 918, 'marketing_destek', 'PD-0010 size atandi', 'test. Admin tarafindan size yonlendirildi. Durum: Atanmış', '/admin/marketing/destek/talep/10', 'marketing_destek_assignment:10:918:assigned', 0, NULL, '2026-03-04 13:36:53', '2026-03-04 13:36:53'),
(43, 915, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:915', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(44, 916, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:916', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(45, 918, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:918', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(46, 919, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:919', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(47, 921, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:921', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(48, 924, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:924', 1, '2026-03-06 05:52:06', '2026-03-05 09:13:17', '2026-03-06 05:52:06'),
(49, 928, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:928', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(50, 931, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:931', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(51, 939, 'marketing_destek_pool', 'PD-0011 ortak havuza dustu', 'test. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:11:939', 0, NULL, '2026-03-05 09:13:17', '2026-03-05 09:13:17'),
(52, 915, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:915', 0, NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(53, 916, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:916', 0, NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(54, 918, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:918', 0, NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(55, 919, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:919', 0, NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(56, 921, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:921', 0, NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(57, 924, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:924', 1, '2026-03-06 05:46:14', '2026-03-06 05:45:49', '2026-03-06 05:46:14'),
(58, 928, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:928', 0, NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(59, 931, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:931', 1, '2026-03-06 05:49:16', '2026-03-06 05:45:49', '2026-03-06 05:49:16'),
(60, 939, 'marketing_destek_pool', 'PD-0012 ortak havuza dustu', 'revize. Ortak havuzda yeni bir talep sizi bekliyor', '/admin/marketing/destek/queue?tab=unassigned', 'marketing_destek_pool:12:939', 0, NULL, '2026-03-06 05:45:49', '2026-03-06 05:45:49'),
(61, 915, 'marketing_destek', 'PD-0012 size atandi', 'revize. FATIH GUZEY tarafindan size yonlendirildi. Durum: Atanmış', '/admin/marketing/destek/talep/12', 'marketing_destek_assignment:12:915:assigned', 0, NULL, '2026-03-06 05:49:52', '2026-03-06 05:49:52'),
(62, 916, 'marketing_destek', 'PD-0012 size atandi', 'revize. FATIH GUZEY tarafindan size yonlendirildi. Durum: Çözüm Merkezi', '/admin/marketing/destek/talep/12', 'marketing_destek_assignment:12:916:solution_center', 0, NULL, '2026-03-06 06:04:16', '2026-03-06 06:04:16'),
(63, 918, 'talepler_assignment', 'TT-000019 size atandi', 'ETİKET TASARIM TALEBİ. FATIH GUZEY tarafindan size yonlendirildi. Durum: Yapilacaklar', '/admin/talepler/tasks/19', 'talepler_assignment:19:918:todo', 0, NULL, '2026-03-16 10:09:18', '2026-03-16 10:09:18');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `user_permissions`
--

CREATE TABLE `user_permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` int(11) NOT NULL,
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `is_allowed` tinyint(1) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `user_permissions`
--

INSERT INTO `user_permissions` (`id`, `user_id`, `permission_id`, `is_allowed`, `created_at`, `updated_at`) VALUES
(31, 718, 9, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(32, 718, 10, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(33, 718, 1, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(34, 718, 2, 0, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(35, 718, 7, 1, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(36, 718, 8, 0, '2026-02-02 14:08:54', '2026-02-02 14:08:54'),
(37, 915, 13, 1, '2026-03-04 06:43:13', '2026-03-04 06:43:13'),
(38, 916, 13, 1, '2026-03-04 06:43:13', '2026-03-04 06:43:13'),
(39, 917, 13, 1, '2026-03-04 06:43:14', '2026-03-04 06:43:14'),
(40, 918, 13, 1, '2026-03-04 06:43:15', '2026-03-04 06:43:15'),
(41, 919, 13, 1, '2026-03-04 06:43:15', '2026-03-04 06:43:15'),
(42, 920, 13, 1, '2026-03-04 06:43:15', '2026-03-04 06:43:16'),
(43, 921, 13, 1, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(44, 922, 13, 1, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(45, 923, 13, 1, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(47, 925, 13, 1, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(48, 926, 13, 1, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(49, 927, 13, 1, '2026-03-04 06:43:16', '2026-03-04 06:43:16'),
(50, 928, 13, 1, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(51, 929, 13, 1, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(52, 930, 13, 1, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(54, 932, 13, 1, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(56, 934, 13, 1, '2026-03-04 06:43:17', '2026-03-04 06:43:17'),
(57, 935, 13, 1, '2026-03-04 06:43:18', '2026-03-04 06:43:18'),
(58, 936, 13, 1, '2026-03-04 06:43:18', '2026-03-04 06:43:18'),
(61, 939, 13, 1, '2026-03-04 06:43:18', '2026-03-04 06:43:18'),
(102, 931, 11, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(103, 931, 12, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(104, 931, 9, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(105, 931, 10, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(106, 931, 13, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(107, 931, 14, 1, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(108, 931, 1, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(109, 931, 2, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(110, 931, 7, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(111, 931, 8, 0, '2026-03-06 05:48:57', '2026-03-06 05:48:57'),
(124, 924, 11, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(125, 924, 12, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(126, 924, 9, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(127, 924, 10, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(128, 924, 13, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(129, 924, 14, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(130, 924, 1, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(131, 924, 2, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(132, 924, 15, 1, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(133, 924, 16, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(134, 924, 7, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(135, 924, 8, 0, '2026-03-09 05:39:34', '2026-03-09 05:39:34'),
(136, 727, 11, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(137, 727, 12, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(138, 727, 9, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(139, 727, 10, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(140, 727, 13, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(141, 727, 14, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(142, 727, 1, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(143, 727, 2, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(144, 727, 15, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(145, 727, 16, 1, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(146, 727, 7, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(147, 727, 8, 0, '2026-03-09 12:31:29', '2026-03-09 12:31:29'),
(148, 726, 11, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(149, 726, 12, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(150, 726, 9, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(151, 726, 10, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(152, 726, 13, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(153, 726, 14, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(154, 726, 1, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(155, 726, 2, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(156, 726, 15, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(157, 726, 16, 0, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(158, 726, 7, 1, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(159, 726, 8, 1, '2026-03-12 13:21:35', '2026-03-12 13:21:35'),
(160, 940, 13, 1, '2026-03-17 05:21:37', '2026-03-17 05:21:37');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `user_roles`
--

CREATE TABLE `user_roles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(60) NOT NULL,
  `label` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `user_roles`
--

INSERT INTO `user_roles` (`id`, `name`, `label`, `created_at`, `updated_at`) VALUES
(1, 'admin', 'Admin', '2026-01-26 14:29:02', '2026-01-26 14:29:02'),
(2, 'manager', 'Manager', '2026-01-26 14:29:02', '2026-01-26 14:29:02'),
(3, 'hr', 'Hr', '2026-01-26 14:29:02', '2026-01-26 14:29:02'),
(4, 'bolgemuduru', 'BolgeMuduru', '2026-01-26 14:30:55', '2026-01-26 14:30:55');

-- --------------------------------------------------------

--
-- Tablo için tablo yapısı `user_role_assignments`
--

CREATE TABLE `user_role_assignments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Tablo döküm verisi `user_role_assignments`
--

INSERT INTO `user_role_assignments` (`id`, `user_id`, `role_id`, `created_at`, `updated_at`) VALUES
(1, 464, 1, '2026-02-02 08:41:51', '2026-02-02 08:41:51');

--
-- Dökümü yapılmış tablolar için indeksler
--

--
-- Tablo için indeksler `app_settings`
--
ALTER TABLE `app_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `setting_key` (`setting_key`);

--
-- Tablo için indeksler `assets`
--
ALTER TABLE `assets`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `assets_asset_code_unique` (`asset_code`),
  ADD KEY `assets_name_index` (`name`),
  ADD KEY `assets_category_index` (`category`),
  ADD KEY `assets_is_active_index` (`is_active`),
  ADD KEY `assets_total_quantity_index` (`total_quantity`),
  ADD KEY `assets_group_id_idx` (`group_id`),
  ADD KEY `assets_depo_no_index` (`depo_no`);

--
-- Tablo için indeksler `asset_assignments`
--
ALTER TABLE `asset_assignments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `asset_assignments_user_id_is_active_index` (`user_id`,`is_active`),
  ADD KEY `asset_assignments_asset_id_is_active_index` (`asset_id`,`is_active`),
  ADD KEY `asset_assignments_quantity_index` (`quantity`),
  ADD KEY `asset_assignments_assignee_type_is_active_idx` (`assignee_type`,`is_active`),
  ADD KEY `asset_assignments_shared_area_id_idx` (`shared_area_id`),
  ADD KEY `asset_assignments_active_asset_quantity_idx` (`is_active`,`asset_id`,`quantity`),
  ADD KEY `asset_assignments_lookup_idx` (`asset_id`,`is_active`,`user_id`,`assignee_type`,`shared_area_id`);

--
-- Tablo için indeksler `asset_fault_logs`
--
ALTER TABLE `asset_fault_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `asset_fault_logs_asset_fault_request_id_index` (`asset_fault_request_id`);

--
-- Tablo için indeksler `asset_fault_notes`
--
ALTER TABLE `asset_fault_notes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `asset_fault_notes_asset_fault_request_id_index` (`asset_fault_request_id`),
  ADD KEY `asset_fault_notes_user_id_index` (`user_id`),
  ADD KEY `asset_fault_notes_is_visible_to_requester_index` (`is_visible_to_requester`);

--
-- Tablo için indeksler `asset_fault_requests`
--
ALTER TABLE `asset_fault_requests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `asset_fault_requests_asset_id_foreign` (`asset_id`),
  ADD KEY `asset_fault_requests_requested_by_user_id_status_index` (`requested_by_user_id`,`status`),
  ADD KEY `asset_fault_requests_camunda_process_instance_id_index` (`camunda_process_instance_id`),
  ADD KEY `asset_fault_requests_camunda_business_key_index` (`camunda_business_key`),
  ADD KEY `asset_fault_requests_group_id_idx` (`group_id`),
  ADD KEY `asset_fault_requests_assigned_to_user_id_idx` (`assigned_to_user_id`);

--
-- Tablo için indeksler `asset_fault_workflow_settings`
--
ALTER TABLE `asset_fault_workflow_settings`
  ADD PRIMARY KEY (`id`);

--
-- Tablo için indeksler `asset_groups`
--
ALTER TABLE `asset_groups`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `asset_groups_name_unique` (`name`),
  ADD KEY `asset_groups_is_active_index` (`is_active`);

--
-- Tablo için indeksler `asset_group_members`
--
ALTER TABLE `asset_group_members`
  ADD PRIMARY KEY (`id`),
  ADD KEY `asset_group_members_group_type_active_idx` (`asset_group_id`,`member_type`,`is_active`),
  ADD KEY `asset_group_members_user_active_idx` (`user_id`,`is_active`),
  ADD KEY `asset_group_members_employee_active_idx` (`employee_id`,`is_active`);

--
-- Tablo için indeksler `asset_lookups`
--
ALTER TABLE `asset_lookups`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `asset_lookups_type_value_unique` (`lookup_type`,`lookup_value_normalized`),
  ADD KEY `asset_lookups_type_active_idx` (`lookup_type`,`is_active`);

--
-- Tablo için indeksler `asset_shared_areas`
--
ALTER TABLE `asset_shared_areas`
  ADD PRIMARY KEY (`id`),
  ADD KEY `asset_shared_areas_type_active_idx` (`area_type`,`is_active`),
  ADD KEY `asset_shared_areas_name_active_idx` (`name`,`is_active`);

--
-- Tablo için indeksler `auto_assignment_rules`
--
ALTER TABLE `auto_assignment_rules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_auto_rules_period` (`period_id`),
  ADD KEY `idx_auto_rules_active` (`is_active`);

--
-- Tablo için indeksler `auto_assignment_rule_sets`
--
ALTER TABLE `auto_assignment_rule_sets`
  ADD PRIMARY KEY (`rule_id`,`set_id`),
  ADD KEY `idx_auto_rule_sets_set` (`set_id`);

--
-- Tablo için indeksler `camunda_role_mappings`
--
ALTER TABLE `camunda_role_mappings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `camunda_role_mappings_role_unique` (`role`),
  ADD UNIQUE KEY `camunda_role_mappings_camunda_group_id_unique` (`camunda_group_id`);

--
-- Tablo için indeksler `camunda_user_mappings`
--
ALTER TABLE `camunda_user_mappings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `camunda_user_mappings_user_id_foreign` (`user_id`);

--
-- Tablo için indeksler `camunda_user_tasks`
--
ALTER TABLE `camunda_user_tasks`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `camunda_user_tasks_camunda_task_id_unique` (`camunda_task_id`),
  ADD KEY `camunda_user_tasks_assignee_user_id_index` (`assignee_user_id`),
  ADD KEY `camunda_user_tasks_candidate_group_index` (`candidate_group`),
  ADD KEY `camunda_user_tasks_camunda_process_instance_id_index` (`camunda_process_instance_id`),
  ADD KEY `camunda_user_tasks_form_response_id_index` (`form_response_id`);

--
-- Tablo için indeksler `departments`
--
ALTER TABLE `departments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_department_name` (`name`);

--
-- Tablo için indeksler `employees`
--
ALTER TABLE `employees`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_employee_code_company` (`employee_code`,`company`),
  ADD KEY `employees_name_employee_code_idx` (`name`,`employee_code`);

--
-- Tablo için indeksler `erp_sync_logs`
--
ALTER TABLE `erp_sync_logs`
  ADD PRIMARY KEY (`id`);

--
-- Tablo için indeksler `evaluation_answers`
--
ALTER TABLE `evaluation_answers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_answer` (`assignment_id`,`evaluator_level`,`question_id`),
  ADD KEY `question_id` (`question_id`);

--
-- Tablo için indeksler `evaluation_assignments`
--
ALTER TABLE `evaluation_assignments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_period_employee` (`period_id`,`employee_id`),
  ADD KEY `idx_eval1` (`evaluator1_user_id`),
  ADD KEY `idx_eval2` (`evaluator2_user_id`),
  ADD KEY `employee_id` (`employee_id`);

--
-- Tablo için indeksler `evaluation_assignment_sets`
--
ALTER TABLE `evaluation_assignment_sets`
  ADD PRIMARY KEY (`assignment_id`,`set_id`),
  ADD KEY `idx_assignment_sets_set` (`set_id`);

--
-- Tablo için indeksler `evaluation_periods`
--
ALTER TABLE `evaluation_periods`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_period_rule_set` (`rule_set_id`),
  ADD KEY `fk_period_performance_type` (`performance_type_id`);

--
-- Tablo için indeksler `evaluation_results`
--
ALTER TABLE `evaluation_results`
  ADD PRIMARY KEY (`assignment_id`);

--
-- Tablo için indeksler `evaluation_rule_sets`
--
ALTER TABLE `evaluation_rule_sets`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_rule_set_name` (`name`);

--
-- Tablo için indeksler `evaluation_rule_set_items`
--
ALTER TABLE `evaluation_rule_set_items`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_rule_set_item` (`rule_set_id`,`set_id`),
  ADD KEY `idx_rule_set` (`rule_set_id`),
  ADD KEY `idx_rule_set_question` (`set_id`);

--
-- Tablo için indeksler `form_approval_logs`
--
ALTER TABLE `form_approval_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_approval_logs_form_response_id_index` (`form_response_id`);

--
-- Tablo için indeksler `form_files`
--
ALTER TABLE `form_files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_files_form_response_id_field_key_index` (`form_response_id`,`field_key`);

--
-- Tablo için indeksler `form_menu_groups`
--
ALTER TABLE `form_menu_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_menu_groups_module_key_is_active_index` (`module_key`,`is_active`);

--
-- Tablo için indeksler `form_menu_links`
--
ALTER TABLE `form_menu_links`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_menu_links_menu_group_is_active_index` (`menu_group`,`is_active`),
  ADD KEY `form_menu_links_form_template_id_index` (`form_template_id`),
  ADD KEY `form_menu_links_form_menu_group_id_index` (`form_menu_group_id`);

--
-- Tablo için indeksler `form_responses`
--
ALTER TABLE `form_responses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_responses_module_key_entity_id_index` (`module_key`,`entity_id`),
  ADD KEY `form_responses_form_template_id_template_version_index` (`form_template_id`,`template_version`),
  ADD KEY `form_responses_camunda_process_instance_id_index` (`camunda_process_instance_id`),
  ADD KEY `form_responses_camunda_business_key_index` (`camunda_business_key`);

--
-- Tablo için indeksler `form_response_fields`
--
ALTER TABLE `form_response_fields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_response_fields_form_response_id_field_key_index` (`form_response_id`,`field_key`);

--
-- Tablo için indeksler `form_templates`
--
ALTER TABLE `form_templates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_templates_module_key_status_index` (`module_key`,`status`),
  ADD KEY `form_templates_camunda_process_key_index` (`camunda_process_key`);

--
-- Tablo için indeksler `form_template_versions`
--
ALTER TABLE `form_template_versions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_template_versions_form_template_id_version_index` (`form_template_id`,`version`);

--
-- Tablo için indeksler `marketing_projects`
--
ALTER TABLE `marketing_projects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `marketing_projects_name_index` (`name`),
  ADD KEY `marketing_projects_is_active_index` (`is_active`);

--
-- Tablo için indeksler `marketing_tasks`
--
ALTER TABLE `marketing_tasks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `marketing_tasks_project_id_status_index` (`project_id`,`status`),
  ADD KEY `marketing_tasks_is_active_status_index` (`is_active`,`status`),
  ADD KEY `marketing_tasks_owner_user_id_index` (`owner_user_id`);

--
-- Tablo için indeksler `marketing_task_activities`
--
ALTER TABLE `marketing_task_activities`
  ADD PRIMARY KEY (`id`),
  ADD KEY `marketing_task_activities_task_id_id_index` (`task_id`,`id`),
  ADD KEY `marketing_task_activities_activity_type_index` (`activity_type`);

--
-- Tablo için indeksler `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Tablo için indeksler `mkt_destek_attachments`
--
ALTER TABLE `mkt_destek_attachments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mkt_destek_attachments_request_id_index` (`request_id`);

--
-- Tablo için indeksler `mkt_destek_comments`
--
ALTER TABLE `mkt_destek_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mkt_destek_comments_request_id_index` (`request_id`);

--
-- Tablo için indeksler `mkt_destek_requests`
--
ALTER TABLE `mkt_destek_requests`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mkt_destek_requests_request_key_unique` (`request_key`),
  ADD KEY `mkt_destek_requests_status_is_active_index` (`status`,`is_active`),
  ADD KEY `mkt_destek_requests_assignee_user_id_index` (`assignee_user_id`),
  ADD KEY `mkt_destek_requests_category_key_index` (`category_key`);

--
-- Tablo için indeksler `performance_types`
--
ALTER TABLE `performance_types`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_performance_type_name` (`name`);

--
-- Tablo için indeksler `positions`
--
ALTER TABLE `positions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_position_name` (`name`);

--
-- Tablo için indeksler `questions`
--
ALTER TABLE `questions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_question_set` (`set_id`);

--
-- Tablo için indeksler `question_sets`
--
ALTER TABLE `question_sets`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_question_set_name` (`name`);

--
-- Tablo için indeksler `responsibility_centers`
--
ALTER TABLE `responsibility_centers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_center_no` (`center_no`);

--
-- Tablo için indeksler `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_unique` (`name`);

--
-- Tablo için indeksler `role_menu_permissions`
--
ALTER TABLE `role_menu_permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `role_menu_permissions_role_menu_permission_id_unique` (`role`,`menu_permission_id`),
  ADD KEY `role_menu_permissions_menu_permission_id_foreign` (`menu_permission_id`);

--
-- Tablo için indeksler `role_permissions`
--
ALTER TABLE `role_permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `rp_role_perm_unique` (`role_id`,`permission_id`),
  ADD KEY `role_permissions_new_permission_id_foreign` (`permission_id`);

--
-- Tablo için indeksler `sessions`
--
ALTER TABLE `sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sessions_user_id_index` (`user_id`),
  ADD KEY `sessions_last_activity_index` (`last_activity`);

--
-- Tablo için indeksler `talepler_request_access_rules`
--
ALTER TABLE `talepler_request_access_rules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `talepler_request_access_target_idx` (`target_unit_id`,`target_category_id`,`is_active`),
  ADD KEY `talepler_request_access_source_idx` (`source_type`,`source_unit_id`,`source_user_id`);

--
-- Tablo için indeksler `talepler_task_attachments`
--
ALTER TABLE `talepler_task_attachments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `test_task_attachments_request_id_id_index` (`request_id`,`id`);

--
-- Tablo için indeksler `talepler_task_categories`
--
ALTER TABLE `talepler_task_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `test_task_categories_unit_key_unique` (`unit_id`,`category_key`),
  ADD KEY `test_task_categories_unit_id_is_active_index` (`unit_id`,`is_active`),
  ADD KEY `test_task_categories_template_active_idx` (`workflow_template_id`,`is_active`),
  ADD KEY `talepler_task_categories_default_assignee_idx` (`default_assignee_user_id`);

--
-- Tablo için indeksler `talepler_task_category_form_fields`
--
ALTER TABLE `talepler_task_category_form_fields`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `talepler_task_category_form_fields_unique` (`category_id`,`field_key`),
  ADD KEY `talepler_task_category_form_fields_category_active_idx` (`category_id`,`is_active`),
  ADD KEY `talepler_task_category_form_fields_category_sort_idx` (`category_id`,`sort_order`);

--
-- Tablo için indeksler `talepler_task_comments`
--
ALTER TABLE `talepler_task_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `test_task_comments_request_id_created_at_index` (`request_id`,`created_at`);

--
-- Tablo için indeksler `talepler_task_requests`
--
ALTER TABLE `talepler_task_requests`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `test_task_requests_request_key_unique` (`request_key`),
  ADD KEY `test_task_requests_status_is_active_index` (`status`,`is_active`),
  ADD KEY `test_task_requests_unit_id_status_index` (`unit_id`,`status`),
  ADD KEY `test_task_requests_assignee_user_id_index` (`assignee_user_id`),
  ADD KEY `test_task_requests_reporter_user_id_index` (`reporter_user_id`),
  ADD KEY `test_task_requests_camunda_process_instance_id_index` (`camunda_process_instance_id`),
  ADD KEY `test_task_requests_archived_status_idx` (`is_archived`,`status`);

--
-- Tablo için indeksler `talepler_task_units`
--
ALTER TABLE `talepler_task_units`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `test_task_units_unit_key_unique` (`unit_key`),
  ADD KEY `test_task_units_is_active_sort_order_index` (`is_active`,`sort_order`),
  ADD KEY `test_task_units_request_open_active_idx` (`request_open_enabled`,`is_active`);

--
-- Tablo için indeksler `talepler_task_unit_members`
--
ALTER TABLE `talepler_task_unit_members`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `test_task_unit_members_unit_user_unique` (`unit_id`,`user_id`),
  ADD KEY `test_task_unit_members_unit_id_is_active_index` (`unit_id`,`is_active`),
  ADD KEY `test_task_unit_members_user_id_is_active_index` (`user_id`,`is_active`);

--
-- Tablo için indeksler `talepler_workflow_stages`
--
ALTER TABLE `talepler_workflow_stages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `test_workflow_stages_template_stage_unique` (`template_id`,`stage_key`),
  ADD KEY `test_workflow_stages_template_active_sort_idx` (`template_id`,`is_active`,`sort_order`);

--
-- Tablo için indeksler `talepler_workflow_templates`
--
ALTER TABLE `talepler_workflow_templates`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `test_workflow_templates_template_key_unique` (`template_key`);

--
-- Tablo için indeksler `talepler_workflow_transitions`
--
ALTER TABLE `talepler_workflow_transitions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `test_workflow_transitions_template_action_unique` (`template_id`,`action_key`),
  ADD KEY `test_workflow_transitions_template_from_active_idx` (`template_id`,`from_stage_key`,`is_active`);

--
-- Tablo için indeksler `tasks`
--
ALTER TABLE `tasks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `tasks_created_by_user_id_index` (`created_by_user_id`),
  ADD KEY `tasks_responsibility_center_id_index` (`responsibility_center_id`);

--
-- Tablo için indeksler `task_assignments`
--
ALTER TABLE `task_assignments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `task_assignments_task_id_index` (`task_id`),
  ADD KEY `task_assignments_employee_id_index` (`employee_id`),
  ADD KEY `task_assignments_user_id_index` (`user_id`),
  ADD KEY `task_assignments_user_status_responded_idx` (`user_id`,`status`,`responded_at`,`id`),
  ADD KEY `task_assignments_employee_status_responded_idx` (`employee_id`,`status`,`responded_at`,`id`);

--
-- Tablo için indeksler `task_responses`
--
ALTER TABLE `task_responses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `task_responses_task_assignment_id_index` (`task_assignment_id`);

--
-- Tablo için indeksler `task_response_files`
--
ALTER TABLE `task_response_files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `task_response_files_task_response_id_index` (`task_response_id`);

--
-- Tablo için indeksler `titles`
--
ALTER TABLE `titles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uniq_title_name` (`name`);

--
-- Tablo için indeksler `user_menu_permissions`
--
ALTER TABLE `user_menu_permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `user_menu_permissions_user_id_menu_permission_id_unique` (`user_id`,`menu_permission_id`),
  ADD KEY `user_menu_permissions_menu_permission_id_foreign` (`menu_permission_id`);

--
-- Tablo için indeksler `user_notifications`
--
ALTER TABLE `user_notifications`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `user_notifications_user_context_unique` (`user_id`,`context_key`),
  ADD KEY `user_notifications_user_id_is_read_index` (`user_id`,`is_read`),
  ADD KEY `user_notifications_user_read_id_idx` (`user_id`,`is_read`,`id`);

--
-- Tablo için indeksler `user_permissions`
--
ALTER TABLE `user_permissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_permissions_user_id_foreign` (`user_id`),
  ADD KEY `user_permissions_permission_id_foreign` (`permission_id`),
  ADD KEY `up_user_allowed_idx` (`user_id`,`is_allowed`);

--
-- Tablo için indeksler `user_roles`
--
ALTER TABLE `user_roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `user_roles_name_unique` (`name`);

--
-- Tablo için indeksler `user_role_assignments`
--
ALTER TABLE `user_role_assignments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `user_role_unique` (`user_id`,`role_id`),
  ADD KEY `user_role_assignments_role_id_foreign` (`role_id`);

--
-- Dökümü yapılmış tablolar için AUTO_INCREMENT değeri
--

--
-- Tablo için AUTO_INCREMENT değeri `app_settings`
--
ALTER TABLE `app_settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=458;

--
-- Tablo için AUTO_INCREMENT değeri `assets`
--
ALTER TABLE `assets`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=928;

--
-- Tablo için AUTO_INCREMENT değeri `asset_assignments`
--
ALTER TABLE `asset_assignments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3032;

--
-- Tablo için AUTO_INCREMENT değeri `asset_fault_logs`
--
ALTER TABLE `asset_fault_logs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- Tablo için AUTO_INCREMENT değeri `asset_fault_notes`
--
ALTER TABLE `asset_fault_notes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- Tablo için AUTO_INCREMENT değeri `asset_fault_requests`
--
ALTER TABLE `asset_fault_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- Tablo için AUTO_INCREMENT değeri `asset_fault_workflow_settings`
--
ALTER TABLE `asset_fault_workflow_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- Tablo için AUTO_INCREMENT değeri `asset_groups`
--
ALTER TABLE `asset_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- Tablo için AUTO_INCREMENT değeri `asset_group_members`
--
ALTER TABLE `asset_group_members`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=116;

--
-- Tablo için AUTO_INCREMENT değeri `asset_lookups`
--
ALTER TABLE `asset_lookups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- Tablo için AUTO_INCREMENT değeri `asset_shared_areas`
--
ALTER TABLE `asset_shared_areas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=54;

--
-- Tablo için AUTO_INCREMENT değeri `auto_assignment_rules`
--
ALTER TABLE `auto_assignment_rules`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- Tablo için AUTO_INCREMENT değeri `camunda_role_mappings`
--
ALTER TABLE `camunda_role_mappings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- Tablo için AUTO_INCREMENT değeri `camunda_user_mappings`
--
ALTER TABLE `camunda_user_mappings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=135;

--
-- Tablo için AUTO_INCREMENT değeri `camunda_user_tasks`
--
ALTER TABLE `camunda_user_tasks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Tablo için AUTO_INCREMENT değeri `departments`
--
ALTER TABLE `departments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=292;

--
-- Tablo için AUTO_INCREMENT değeri `employees`
--
ALTER TABLE `employees`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15797;

--
-- Tablo için AUTO_INCREMENT değeri `erp_sync_logs`
--
ALTER TABLE `erp_sync_logs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;

--
-- Tablo için AUTO_INCREMENT değeri `evaluation_answers`
--
ALTER TABLE `evaluation_answers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=552;

--
-- Tablo için AUTO_INCREMENT değeri `evaluation_assignments`
--
ALTER TABLE `evaluation_assignments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8925;

--
-- Tablo için AUTO_INCREMENT değeri `evaluation_periods`
--
ALTER TABLE `evaluation_periods`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- Tablo için AUTO_INCREMENT değeri `evaluation_rule_sets`
--
ALTER TABLE `evaluation_rule_sets`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- Tablo için AUTO_INCREMENT değeri `evaluation_rule_set_items`
--
ALTER TABLE `evaluation_rule_set_items`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- Tablo için AUTO_INCREMENT değeri `form_approval_logs`
--
ALTER TABLE `form_approval_logs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- Tablo için AUTO_INCREMENT değeri `form_files`
--
ALTER TABLE `form_files`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Tablo için AUTO_INCREMENT değeri `form_menu_groups`
--
ALTER TABLE `form_menu_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- Tablo için AUTO_INCREMENT değeri `form_menu_links`
--
ALTER TABLE `form_menu_links`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- Tablo için AUTO_INCREMENT değeri `form_responses`
--
ALTER TABLE `form_responses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=74;

--
-- Tablo için AUTO_INCREMENT değeri `form_response_fields`
--
ALTER TABLE `form_response_fields`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=568;

--
-- Tablo için AUTO_INCREMENT değeri `form_templates`
--
ALTER TABLE `form_templates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- Tablo için AUTO_INCREMENT değeri `form_template_versions`
--
ALTER TABLE `form_template_versions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=72;

--
-- Tablo için AUTO_INCREMENT değeri `marketing_projects`
--
ALTER TABLE `marketing_projects`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- Tablo için AUTO_INCREMENT değeri `marketing_tasks`
--
ALTER TABLE `marketing_tasks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- Tablo için AUTO_INCREMENT değeri `marketing_task_activities`
--
ALTER TABLE `marketing_task_activities`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=151;

--
-- Tablo için AUTO_INCREMENT değeri `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=98;

--
-- Tablo için AUTO_INCREMENT değeri `mkt_destek_attachments`
--
ALTER TABLE `mkt_destek_attachments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- Tablo için AUTO_INCREMENT değeri `mkt_destek_comments`
--
ALTER TABLE `mkt_destek_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- Tablo için AUTO_INCREMENT değeri `mkt_destek_requests`
--
ALTER TABLE `mkt_destek_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- Tablo için AUTO_INCREMENT değeri `performance_types`
--
ALTER TABLE `performance_types`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- Tablo için AUTO_INCREMENT değeri `positions`
--
ALTER TABLE `positions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=757;

--
-- Tablo için AUTO_INCREMENT değeri `questions`
--
ALTER TABLE `questions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=203;

--
-- Tablo için AUTO_INCREMENT değeri `question_sets`
--
ALTER TABLE `question_sets`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- Tablo için AUTO_INCREMENT değeri `responsibility_centers`
--
ALTER TABLE `responsibility_centers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=805;

--
-- Tablo için AUTO_INCREMENT değeri `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- Tablo için AUTO_INCREMENT değeri `role_menu_permissions`
--
ALTER TABLE `role_menu_permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=167;

--
-- Tablo için AUTO_INCREMENT değeri `role_permissions`
--
ALTER TABLE `role_permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=86;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_request_access_rules`
--
ALTER TABLE `talepler_request_access_rules`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_task_attachments`
--
ALTER TABLE `talepler_task_attachments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_task_categories`
--
ALTER TABLE `talepler_task_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_task_category_form_fields`
--
ALTER TABLE `talepler_task_category_form_fields`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_task_comments`
--
ALTER TABLE `talepler_task_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=232;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_task_requests`
--
ALTER TABLE `talepler_task_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_task_units`
--
ALTER TABLE `talepler_task_units`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_task_unit_members`
--
ALTER TABLE `talepler_task_unit_members`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28988;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_workflow_stages`
--
ALTER TABLE `talepler_workflow_stages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_workflow_templates`
--
ALTER TABLE `talepler_workflow_templates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- Tablo için AUTO_INCREMENT değeri `talepler_workflow_transitions`
--
ALTER TABLE `talepler_workflow_transitions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;

--
-- Tablo için AUTO_INCREMENT değeri `tasks`
--
ALTER TABLE `tasks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- Tablo için AUTO_INCREMENT değeri `task_assignments`
--
ALTER TABLE `task_assignments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- Tablo için AUTO_INCREMENT değeri `task_responses`
--
ALTER TABLE `task_responses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- Tablo için AUTO_INCREMENT değeri `task_response_files`
--
ALTER TABLE `task_response_files`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- Tablo için AUTO_INCREMENT değeri `titles`
--
ALTER TABLE `titles`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=104;

--
-- Tablo için AUTO_INCREMENT değeri `user_menu_permissions`
--
ALTER TABLE `user_menu_permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=671;

--
-- Tablo için AUTO_INCREMENT değeri `user_notifications`
--
ALTER TABLE `user_notifications`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64;

--
-- Tablo için AUTO_INCREMENT değeri `user_permissions`
--
ALTER TABLE `user_permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=161;

--
-- Tablo için AUTO_INCREMENT değeri `user_roles`
--
ALTER TABLE `user_roles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- Tablo için AUTO_INCREMENT değeri `user_role_assignments`
--
ALTER TABLE `user_role_assignments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- Dökümü yapılmış tablolar için kısıtlamalar
--

--
-- Tablo kısıtlamaları `assets`
--
ALTER TABLE `assets`
  ADD CONSTRAINT `assets_group_id_fk` FOREIGN KEY (`group_id`) REFERENCES `asset_groups` (`id`) ON DELETE SET NULL;

--
-- Tablo kısıtlamaları `asset_assignments`
--
ALTER TABLE `asset_assignments`
  ADD CONSTRAINT `asset_assignments_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `asset_fault_logs`
--
ALTER TABLE `asset_fault_logs`
  ADD CONSTRAINT `asset_fault_logs_request_fk` FOREIGN KEY (`asset_fault_request_id`) REFERENCES `asset_fault_requests` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `asset_fault_notes`
--
ALTER TABLE `asset_fault_notes`
  ADD CONSTRAINT `asset_fault_notes_request_fk` FOREIGN KEY (`asset_fault_request_id`) REFERENCES `asset_fault_requests` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `asset_fault_requests`
--
ALTER TABLE `asset_fault_requests`
  ADD CONSTRAINT `asset_fault_requests_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `asset_fault_requests_group_id_fk` FOREIGN KEY (`group_id`) REFERENCES `asset_groups` (`id`) ON DELETE SET NULL;

--
-- Tablo kısıtlamaları `asset_group_members`
--
ALTER TABLE `asset_group_members`
  ADD CONSTRAINT `asset_group_members_group_fk` FOREIGN KEY (`asset_group_id`) REFERENCES `asset_groups` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `auto_assignment_rules`
--
ALTER TABLE `auto_assignment_rules`
  ADD CONSTRAINT `auto_assignment_rules_ibfk_1` FOREIGN KEY (`period_id`) REFERENCES `evaluation_periods` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `auto_assignment_rule_sets`
--
ALTER TABLE `auto_assignment_rule_sets`
  ADD CONSTRAINT `auto_assignment_rule_sets_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `auto_assignment_rules` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `auto_assignment_rule_sets_ibfk_2` FOREIGN KEY (`set_id`) REFERENCES `question_sets` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `camunda_user_mappings`
--
ALTER TABLE `camunda_user_mappings`
  ADD CONSTRAINT `camunda_user_mappings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `evaluation_answers`
--
ALTER TABLE `evaluation_answers`
  ADD CONSTRAINT `evaluation_answers_ibfk_1` FOREIGN KEY (`assignment_id`) REFERENCES `evaluation_assignments` (`id`),
  ADD CONSTRAINT `evaluation_answers_ibfk_2` FOREIGN KEY (`question_id`) REFERENCES `questions` (`id`);

--
-- Tablo kısıtlamaları `evaluation_assignments`
--
ALTER TABLE `evaluation_assignments`
  ADD CONSTRAINT `evaluation_assignments_ibfk_1` FOREIGN KEY (`period_id`) REFERENCES `evaluation_periods` (`id`),
  ADD CONSTRAINT `evaluation_assignments_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`),
  ADD CONSTRAINT `evaluation_assignments_ibfk_3` FOREIGN KEY (`evaluator1_user_id`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `evaluation_assignments_ibfk_4` FOREIGN KEY (`evaluator2_user_id`) REFERENCES `users` (`id`);

--
-- Tablo kısıtlamaları `evaluation_assignment_sets`
--
ALTER TABLE `evaluation_assignment_sets`
  ADD CONSTRAINT `evaluation_assignment_sets_ibfk_1` FOREIGN KEY (`assignment_id`) REFERENCES `evaluation_assignments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `evaluation_assignment_sets_ibfk_2` FOREIGN KEY (`set_id`) REFERENCES `question_sets` (`id`);

--
-- Tablo kısıtlamaları `evaluation_periods`
--
ALTER TABLE `evaluation_periods`
  ADD CONSTRAINT `fk_period_performance_type` FOREIGN KEY (`performance_type_id`) REFERENCES `performance_types` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_period_rule_set` FOREIGN KEY (`rule_set_id`) REFERENCES `evaluation_rule_sets` (`id`) ON DELETE SET NULL;

--
-- Tablo kısıtlamaları `evaluation_results`
--
ALTER TABLE `evaluation_results`
  ADD CONSTRAINT `evaluation_results_ibfk_1` FOREIGN KEY (`assignment_id`) REFERENCES `evaluation_assignments` (`id`);

--
-- Tablo kısıtlamaları `evaluation_rule_set_items`
--
ALTER TABLE `evaluation_rule_set_items`
  ADD CONSTRAINT `evaluation_rule_set_items_ibfk_1` FOREIGN KEY (`rule_set_id`) REFERENCES `evaluation_rule_sets` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `evaluation_rule_set_items_ibfk_2` FOREIGN KEY (`set_id`) REFERENCES `question_sets` (`id`);

--
-- Tablo kısıtlamaları `form_approval_logs`
--
ALTER TABLE `form_approval_logs`
  ADD CONSTRAINT `form_approval_logs_form_response_id_foreign` FOREIGN KEY (`form_response_id`) REFERENCES `form_responses` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `marketing_tasks`
--
ALTER TABLE `marketing_tasks`
  ADD CONSTRAINT `marketing_tasks_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `marketing_projects` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `marketing_task_activities`
--
ALTER TABLE `marketing_task_activities`
  ADD CONSTRAINT `marketing_task_activities_task_id_foreign` FOREIGN KEY (`task_id`) REFERENCES `marketing_tasks` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `questions`
--
ALTER TABLE `questions`
  ADD CONSTRAINT `fk_questions_set` FOREIGN KEY (`set_id`) REFERENCES `question_sets` (`id`) ON DELETE SET NULL;

--
-- Tablo kısıtlamaları `role_menu_permissions`
--
ALTER TABLE `role_menu_permissions`
  ADD CONSTRAINT `role_menu_permissions_menu_permission_id_foreign` FOREIGN KEY (`menu_permission_id`) REFERENCES `menu_permissions` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `role_permissions`
--
ALTER TABLE `role_permissions`
  ADD CONSTRAINT `role_permissions_new_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `module_permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_permissions_new_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `user_menu_permissions`
--
ALTER TABLE `user_menu_permissions`
  ADD CONSTRAINT `user_menu_permissions_menu_permission_id_foreign` FOREIGN KEY (`menu_permission_id`) REFERENCES `menu_permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_menu_permissions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `user_permissions`
--
ALTER TABLE `user_permissions`
  ADD CONSTRAINT `user_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `module_permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_permissions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Tablo kısıtlamaları `user_role_assignments`
--
ALTER TABLE `user_role_assignments`
  ADD CONSTRAINT `user_role_assignments_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
COMMIT;

