2021-10-29 11:19:10 +03:00
|
|
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Easy!Appointments - Open Source Web Scheduler
|
|
|
|
*
|
|
|
|
* @package EasyAppointments
|
|
|
|
* @author A.Tselegidis <alextselegidis@gmail.com>
|
2021-12-18 19:43:45 +03:00
|
|
|
* @copyright Copyright (c) Alex Tselegidis
|
2021-10-29 11:19:10 +03:00
|
|
|
* @license https://opensource.org/licenses/GPL-3.0 - GPLv3
|
|
|
|
* @link https://easyappointments.org
|
|
|
|
* @since v1.4.0
|
|
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
|
2021-11-06 13:15:32 +03:00
|
|
|
require_once __DIR__ . '/../../system/libraries/Migration.php';
|
|
|
|
|
2021-10-29 11:19:10 +03:00
|
|
|
/**
|
|
|
|
* Easy!Appointments migration.
|
|
|
|
*
|
2021-10-29 14:04:26 +03:00
|
|
|
* @property EA_Benchmark $benchmark
|
|
|
|
* @property EA_Cache $cache
|
|
|
|
* @property EA_Calendar $calendar
|
|
|
|
* @property EA_Config $config
|
|
|
|
* @property EA_DB_forge $dbforge
|
|
|
|
* @property EA_DB_query_builder $db
|
|
|
|
* @property EA_DB_utility $dbutil
|
|
|
|
* @property EA_Email $email
|
|
|
|
* @property EA_Encrypt $encrypt
|
|
|
|
* @property EA_Encryption $encryption
|
|
|
|
* @property EA_Exceptions $exceptions
|
|
|
|
* @property EA_Hooks $hooks
|
2021-10-29 13:54:49 +03:00
|
|
|
* @property EA_Input $input
|
2021-10-29 14:04:26 +03:00
|
|
|
* @property EA_Lang $lang
|
|
|
|
* @property EA_Loader $load
|
|
|
|
* @property EA_Log $log
|
|
|
|
* @property EA_Migration $migration
|
|
|
|
* @property EA_Output $output
|
|
|
|
* @property EA_Profiler $profiler
|
|
|
|
* @property EA_Router $router
|
|
|
|
* @property EA_Security $security
|
|
|
|
* @property EA_Session $session
|
|
|
|
* @property EA_Upload $upload
|
|
|
|
* @property EA_URI $uri
|
2021-10-29 11:19:10 +03:00
|
|
|
*/
|
|
|
|
class EA_Migration extends CI_Migration {
|
2021-11-06 17:17:03 +03:00
|
|
|
/**
|
|
|
|
* Get the current migration version.
|
|
|
|
*
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function current_version(): int
|
|
|
|
{
|
|
|
|
return $this->_get_version();
|
|
|
|
}
|
2021-10-29 11:19:10 +03:00
|
|
|
}
|