mirror of
https://github.com/itflow-org/itflow
synced 2026-08-05 07:07:14 +00:00
Phase 2 of ticket attachements by agents
This commit is contained in:
16
admin/database_updates/2.5.7.php
Normal file
16
admin/database_updates/2.5.7.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* ITFlow - Database update to version 2.5.7 (from 2.5.6)
|
||||
* Included by admin/database_updates.php - do not access directly
|
||||
*/
|
||||
|
||||
defined('FROM_DB_UPDATER') || die("Direct file access is not allowed");
|
||||
|
||||
// Queued mail can now carry file attachments. The column holds a JSON manifest
|
||||
// of app-root-relative paths and display names rather than file contents, so
|
||||
// the queue table stays small and the files stay in uploads/ where the ticket
|
||||
// attachment endpoints already serve them from. It is scrubbed on delivery
|
||||
// alongside the body, like email_cal_str.
|
||||
mysqli_query($mysqli, "ALTER TABLE `email_queue`
|
||||
ADD COLUMN `email_attachments` text DEFAULT NULL AFTER `email_cal_str`");
|
||||
Reference in New Issue
Block a user