Fixed upgrades

This commit is contained in:
drigato 2014-11-04 13:33:20 -05:00
parent f147fb34bb
commit 2f16385b53
3 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ class UpgradeController extends Zend_Controller_Action
array_push($upgraders, new AirtimeUpgrader253()); array_push($upgraders, new AirtimeUpgrader253());
array_push($upgraders, new AirtimeUpgrader254()); array_push($upgraders, new AirtimeUpgrader254());
array_push($upgraders, new AirtimeUpgrader255()); array_push($upgraders, new AirtimeUpgrader255());
array_push($upgraders, new AirtimeUpgrader259());
$didWePerformAnUpgrade = false; $didWePerformAnUpgrade = false;
try try

View File

@ -1,7 +1,7 @@
CREATE TABLE cloud_file CREATE TABLE cloud_file
( (
id serial NOT NULL, id serial NOT NULL,
resource_id text NOT NULL, resource_id text NOT NULL default nextval('cloud_file_id_seq'::regclass),
cc_file_id integer, cc_file_id integer,
CONSTRAINT cloud_file_pkey PRIMARY KEY (id), CONSTRAINT cloud_file_pkey PRIMARY KEY (id),
CONSTRAINT "cloud_file_FK_1" FOREIGN KEY (cc_file_id) CONSTRAINT "cloud_file_FK_1" FOREIGN KEY (cc_file_id)

View File

@ -260,7 +260,7 @@ class AirtimeUpgrader259 extends AirtimeUpgrader {
); );
} }
protected function getNewVersion() { public function getNewVersion() {
return '2.5.9'; return '2.5.9';
} }