• File: 234_version_234.php
  • Full Path: /var/www/crm_set/application/migrations/234_version_234.php
  • Date Modified: 09/21/2026 4:19 AM
  • File size: 596 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

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

class Migration_Version_234 extends CI_Migration
{
    public function __construct()
    {
        parent::__construct();
    }

    public function up()
    {
        $eventTemplateMessage = 'Hi {staff_firstname}! <br /><br />This is a reminder for event <a href=\"{event_link}\">{event_title}</a> scheduled at {event_start_date}. <br /><br />Regards.';
        create_email_template('Upcoming Event - {event_title}', $eventTemplateMessage, 'staff', 'Event Notification (Calendar)', 'event-notification-to-staff');
    }
}