6 lines
310 B
MySQL
6 lines
310 B
MySQL
|
|
-- Document bytes can originate from Documents or email attachments.
|
||
|
|
ALTER TABLE vtiger_archive_files
|
||
|
|
ADD COLUMN IF NOT EXISTS source_module VARCHAR(80) NOT NULL DEFAULT 'Documents';
|
||
|
|
CREATE INDEX IF NOT EXISTS idx_vtiger_archive_files_source
|
||
|
|
ON vtiger_archive_files(source_module, document_vtiger_id);
|