Author: sevein Date: Thu Jul 5 17:26:04 2012 New Revision: 11867 Log: Add skeleton for the new SQL 1.1-1.2 migration class
Added: trunk/lib/task/migrate/arUpgrader110.class.php Added: trunk/lib/task/migrate/arUpgrader110.class.php ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/lib/task/migrate/arUpgrader110.class.php Thu Jul 5 17:26:04 2012 (r11867) @@ -0,0 +1,97 @@ +<?php + +/* + * This file is part of Qubit Toolkit. + * + * Qubit Toolkit is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Qubit Toolkit is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Qubit Toolkit. If not, see <http://www.gnu.org/licenses/>. + */ + +/** + * Upgrade Qubit data from Release 1.1 + * + * @package qubit + * @subpackage migration + * @version svn: $Id$ + */ +class arUpgrader110 +{ + const + MILESTONE = '1.1', + INIT_VERSION = 62; + + public function up($version, $configuration) + { + switch ($version) + { + case 62: + + break; + + case 63: + + break; + + case 64: + + break; + + case 65: + + break; + + case 66: + + break; + + case 67: + + break; + + case 68: + + break; + + case 69: + + break; + + case 70: + + break; + + case 71: + + break; + + case 72: + + break; + + case 73: + + break; + + case 74: + + break; + + // Return false if no upgrade available + default: + + return false; + } + + return true; + } +} -- You received this message because you are subscribed to the Google Groups "Qubit Toolkit Commits" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/qubit-commits?hl=en.
