Corrections on the migration algorithm.
This commit is contained in:
parent
23fc9e1846
commit
39401b2e27
6 changed files with 50 additions and 14 deletions
|
@ -1,8 +1,9 @@
|
||||||
VERSION 1.0
|
VERSION 0.7.1 Beta
|
||||||
===========
|
==================
|
||||||
The first major release will include translated interface (English,
|
This beta release contains fixes in JavaScript that occured
|
||||||
Greek, German) and the user will also be able to select a specific
|
with Firefox. It is also the first version that localization
|
||||||
calendar for synchronization.
|
is applied and the ability to select a specific google calendar
|
||||||
|
for synchronizatioan.
|
||||||
|
|
||||||
|
|
||||||
Official Easy!Appointments Website:
|
Official Easy!Appointments Website:
|
||||||
|
@ -14,4 +15,6 @@ https://plus.google.com/communities/105333709485142846840
|
||||||
Visit the Support Group for any help on the project:
|
Visit the Support Group for any help on the project:
|
||||||
http://groups.google.com/group/easy-appointments
|
http://groups.google.com/group/easy-appointments
|
||||||
|
|
||||||
|
E!A Blog for news and information:
|
||||||
|
http://easyappointments.wordpress.com
|
||||||
|
|
|
@ -87,7 +87,7 @@ $config['url_suffix'] = '';
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['language'] = 'english'; // default language
|
$config['language'] = 'english'; // default language
|
||||||
$config['available_languages'] = array('english', 'german', 'greek', 'hungarian');
|
$config['available_languages'] = array('english', 'german', 'greek');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
13
src/application/language/german/migration_lang.php
Normal file
13
src/application/language/german/migration_lang.php
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$lang['migration_none_found'] = "No migrations were found.";
|
||||||
|
$lang['migration_not_found'] = "This migration could not be found.";
|
||||||
|
$lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d.";
|
||||||
|
$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could not be found.";
|
||||||
|
$lang['migration_missing_up_method'] = "The migration class \"%s\" is missing an 'up' method.";
|
||||||
|
$lang['migration_missing_down_method'] = "The migration class \"%s\" is missing an 'down' method.";
|
||||||
|
$lang['migration_invalid_filename'] = "Migration \"%s\" has an invalid filename.";
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file migration_lang.php */
|
||||||
|
/* Location: ./system/language/english/migration_lang.php */
|
13
src/application/language/greek/migration_lang.php
Normal file
13
src/application/language/greek/migration_lang.php
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$lang['migration_none_found'] = "No migrations were found.";
|
||||||
|
$lang['migration_not_found'] = "This migration could not be found.";
|
||||||
|
$lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d.";
|
||||||
|
$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could not be found.";
|
||||||
|
$lang['migration_missing_up_method'] = "The migration class \"%s\" is missing an 'up' method.";
|
||||||
|
$lang['migration_missing_down_method'] = "The migration class \"%s\" is missing an 'down' method.";
|
||||||
|
$lang['migration_invalid_filename'] = "Migration \"%s\" has an invalid filename.";
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file migration_lang.php */
|
||||||
|
/* Location: ./system/language/english/migration_lang.php */
|
13
src/application/language/hungarian/migration_lang.php
Normal file
13
src/application/language/hungarian/migration_lang.php
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$lang['migration_none_found'] = "No migrations were found.";
|
||||||
|
$lang['migration_not_found'] = "This migration could not be found.";
|
||||||
|
$lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d.";
|
||||||
|
$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could not be found.";
|
||||||
|
$lang['migration_missing_up_method'] = "The migration class \"%s\" is missing an 'up' method.";
|
||||||
|
$lang['migration_missing_down_method'] = "The migration class \"%s\" is missing an 'down' method.";
|
||||||
|
$lang['migration_invalid_filename'] = "Migration \"%s\" has an invalid filename.";
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file migration_lang.php */
|
||||||
|
/* Location: ./system/language/english/migration_lang.php */
|
|
@ -7,7 +7,7 @@ class Migration_Specific_calendar_sync extends CI_Migration {
|
||||||
'google_calendar' => array(
|
'google_calendar' => array(
|
||||||
'type' => 'VARCHAR',
|
'type' => 'VARCHAR',
|
||||||
'constraint' => '128',
|
'constraint' => '128',
|
||||||
'default' => 'null')
|
'null' => TRUE)
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dbforge->add_column('ea_user_settings', $fields);
|
$this->dbforge->add_column('ea_user_settings', $fields);
|
||||||
|
@ -16,10 +16,4 @@ class Migration_Specific_calendar_sync extends CI_Migration {
|
||||||
public function down() {
|
public function down() {
|
||||||
$this->dbforge->drop_column('ea_user_settings', 'google_calendar');
|
$this->dbforge->drop_column('ea_user_settings', 'google_calendar');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* This migration class adds the "google_calendar" field to the database
|
|
||||||
* "user_settings" table in order to be able to select a specific calendar
|
|
||||||
* for google synchronization.
|
|
||||||
*/
|
|
Loading…
Reference in a new issue