HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/dmstechonline/crm.dmstech.online/application/migrations/294_version_294.php
<?php

defined('BASEPATH') or exit('No direct script access allowed');

/**
 * @property-read CI_DB_mysql_driver $db
 */
class Migration_Version_294 extends CI_Migration
{
    public function up()
    {
        add_option('show_project_on_proposal', '1');
        add_option('show_pdf_signature_proposal', '0');
        add_option('enable_honeypot_spam_validation', '0');
        add_option('staff_related_ticket_notification_to_assignee_only', '0');
        if (!$this->db->field_exists('project_id', db_prefix() . 'proposals')) {
            $this->db->query('ALTER TABLE `' . db_prefix() . 'proposals` ADD `project_id` INT NULL DEFAULT NULL AFTER `proposal_to`;');
        }
    }
}