mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-08 17:12:25 +03:00
The EA_Migration class is not part of the core and cannot be extended directly.
This commit is contained in:
parent
46d604f5e6
commit
87fdb2ae5c
21 changed files with 80 additions and 68 deletions
|
@ -1,48 +0,0 @@
|
|||
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Easy!Appointments - Open Source Web Scheduler
|
||||
*
|
||||
* @package EasyAppointments
|
||||
* @author A.Tselegidis <alextselegidis@gmail.com>
|
||||
* @copyright Copyright (c) 2013 - 2020, Alex Tselegidis
|
||||
* @license https://opensource.org/licenses/GPL-3.0 - GPLv3
|
||||
* @link https://easyappointments.org
|
||||
* @since v1.4.0
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
/**
|
||||
* Class MY_Migration
|
||||
*
|
||||
* @property CI_Loader $load
|
||||
* @property CI_Input $input
|
||||
* @property CI_Output $output
|
||||
* @property CI_Config $config
|
||||
* @property CI_Lang $lang
|
||||
* @property CI_Cache $cache
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_Session $session
|
||||
* @property CI_Security $security
|
||||
* @property CI_Migration $migration
|
||||
*
|
||||
* @property Admins_model $admins_model
|
||||
* @property Appointments_model $appointments_model
|
||||
* @property Consents_model $consents_model
|
||||
* @property Customers_model $customers_model
|
||||
* @property Providers_model $providers_model
|
||||
* @property Roles_model $roles_model
|
||||
* @property Secretaries_model $secretaries_model
|
||||
* @property Services_model $services_model
|
||||
* @property Settings_model $settings_model
|
||||
* @property User_model $user_model
|
||||
*
|
||||
* @property Availability $availability
|
||||
* @property Google_Sync $google_sync
|
||||
* @property Ics_file $ics_file
|
||||
* @property Notifications $notifications
|
||||
* @property Synchronization $synchronization
|
||||
* @property Timezones $timezones
|
||||
*/
|
||||
class EA_Migration extends CI_Model {
|
||||
//
|
||||
}
|
|
@ -16,8 +16,11 @@
|
|||
*
|
||||
* Notice: This first migration got altered to include the creation of the initial database structure so that external
|
||||
* SQL are not required.
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Specific_calendar_sync extends EA_Migration {
|
||||
class Migration_Specific_calendar_sync extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_google_analytics_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_google_analytics_setting extends EA_Migration {
|
||||
class Migration_Add_google_analytics_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_customer_notifications_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_customer_notifications_setting extends EA_Migration {
|
||||
class Migration_Add_customer_notifications_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_date_format_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_date_format_setting extends EA_Migration {
|
||||
class Migration_Add_date_format_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_require_captcha_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_require_captcha_setting extends EA_Migration {
|
||||
class Migration_Add_require_captcha_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_calendar_view_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_calendar_view_setting extends EA_Migration {
|
||||
class Migration_Add_calendar_view_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_service_availabilities_type
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_service_availabilities_type extends EA_Migration {
|
||||
class Migration_Add_service_availabilities_type extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_service_attendants_number
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_service_attendants_number extends EA_Migration {
|
||||
class Migration_Add_service_attendants_number extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Change_column_types
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Change_column_types extends EA_Migration {
|
||||
class Migration_Change_column_types extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_time_format_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_time_format_setting extends EA_Migration {
|
||||
class Migration_Add_time_format_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Remove_prefix_from_foreign_keys
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Remove_prefix_from_fkey_constraints extends EA_Migration {
|
||||
class Migration_Remove_prefix_from_fkey_constraints extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Create_consents_table
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Legal_contents extends EA_Migration {
|
||||
class Migration_Legal_contents extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_weekday_start_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_weekday_start_setting extends EA_Migration {
|
||||
class Migration_Add_weekday_start_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Create_appointment_location_column
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Create_appointment_location_column extends EA_Migration {
|
||||
class Migration_Create_appointment_location_column extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_working_plan_exceptions_to_user_settings
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_working_plan_exceptions_to_user_settings extends EA_Migration {
|
||||
class Migration_Add_working_plan_exceptions_to_user_settings extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_require_phone_number_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_require_phone_number_setting extends EA_Migration {
|
||||
class Migration_Add_require_phone_number_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_api_token_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_api_token_setting extends EA_Migration {
|
||||
class Migration_Add_api_token_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_timezone_to_users
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_timezone_to_users extends EA_Migration {
|
||||
class Migration_Add_timezone_to_users extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_display_any_provider_setting
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_display_any_provider_setting extends EA_Migration {
|
||||
class Migration_Add_display_any_provider_setting extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
/**
|
||||
* Class Migration_Add_language_to_users
|
||||
*
|
||||
* @property CI_DB_query_builder $db
|
||||
* @property CI_DB_forge $dbforge
|
||||
*/
|
||||
class Migration_Add_language_to_users extends EA_Migration {
|
||||
class Migration_Add_language_to_users extends CI_Migration {
|
||||
/**
|
||||
* Upgrade method.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue