The same migration names need to be used so that existing installations do not have problems with multiple migration numbers laying on the server.
This commit is contained in:
parent
6578b32dc8
commit
df031fa5a1
3 changed files with 9 additions and 6 deletions
|
@ -12,12 +12,15 @@
|
||||||
* ---------------------------------------------------------------------------- */
|
* ---------------------------------------------------------------------------- */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Migration_Initial_database_structure
|
* Class Migration_Specific_calendar_sync
|
||||||
|
*
|
||||||
|
* 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_query_builder db
|
||||||
* @property CI_DB_forge dbforge
|
* @property CI_DB_forge dbforge
|
||||||
*/
|
*/
|
||||||
class Migration_Initial_database_structure extends CI_Migration {
|
class Migration_Specific_calendar_sync extends CI_Migration {
|
||||||
/**
|
/**
|
||||||
* Upgrade method.
|
* Upgrade method.
|
||||||
*/
|
*/
|
|
@ -12,12 +12,12 @@
|
||||||
* ---------------------------------------------------------------------------- */
|
* ---------------------------------------------------------------------------- */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Migration_Add_availabilities_type_to_services_table
|
* Class Migration_Add_service_availabilities_type
|
||||||
*
|
*
|
||||||
* @property CI_DB_query_builder db
|
* @property CI_DB_query_builder db
|
||||||
* @property CI_DB_forge dbforge
|
* @property CI_DB_forge dbforge
|
||||||
*/
|
*/
|
||||||
class Migration_Add_availabilities_type_to_services_table extends CI_Migration {
|
class Migration_Add_service_availabilities_type extends CI_Migration {
|
||||||
/**
|
/**
|
||||||
* Upgrade method.
|
* Upgrade method.
|
||||||
*/
|
*/
|
|
@ -12,12 +12,12 @@
|
||||||
* ---------------------------------------------------------------------------- */
|
* ---------------------------------------------------------------------------- */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Migration_Add_attendants_number_to_services_table
|
* Class Migration_Add_service_attendants_number
|
||||||
*
|
*
|
||||||
* @property CI_DB_query_builder db
|
* @property CI_DB_query_builder db
|
||||||
* @property CI_DB_forge dbforge
|
* @property CI_DB_forge dbforge
|
||||||
*/
|
*/
|
||||||
class Migration_Add_attendants_number_to_services_table extends CI_Migration {
|
class Migration_Add_service_attendants_number extends CI_Migration {
|
||||||
/**
|
/**
|
||||||
* Upgrade method.
|
* Upgrade method.
|
||||||
*/
|
*/
|
Loading…
Reference in a new issue