diff --git a/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php b/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php index ac708cf34..0bbba5a4a 100644 --- a/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php +++ b/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php @@ -11,7 +11,7 @@ class AirtimeDatabaseUpgrade{ } private static function task0(){ - UpgradeCommon::MigrateTablesToVersion(__DIR__, '20120405114454'); + UpgradeCommon::MigrateTablesToVersion(__DIR__, '20120410115311'); $sql = "INSERT INTO cc_pref(\"keystr\", \"valstr\") VALUES('scheduled_play_switch', 'on')"; UpgradeCommon::nonSelectQueryDb($sql); } diff --git a/install_minimal/upgrades/airtime-2.1.0/common/Version20120410104441.php b/install_minimal/upgrades/airtime-2.1.0/common/Version20120410104441.php index 7ad9994c8..2c08f8276 100644 --- a/install_minimal/upgrades/airtime-2.1.0/common/Version20120410104441.php +++ b/install_minimal/upgrades/airtime-2.1.0/common/Version20120410104441.php @@ -14,9 +14,6 @@ class Version20120410104441 extends AbstractMigration $cc_files->addColumn('temp_br', 'integer'); $cc_files->addColumn('temp_sr', 'integer'); - $this->_addSql("UPDATE cc_files SET temp_br = bit_rate::integer"); - $this->_addSql("UPDATE cc_files SET temp_sr = sample_rate::integer"); - //end changes to cc_files } diff --git a/install_minimal/upgrades/airtime-2.1.0/common/Version20120410115311.php b/install_minimal/upgrades/airtime-2.1.0/common/Version20120410115311.php new file mode 100644 index 000000000..aefadbff7 --- /dev/null +++ b/install_minimal/upgrades/airtime-2.1.0/common/Version20120410115311.php @@ -0,0 +1,20 @@ +_addSql("UPDATE cc_files SET temp_br = bit_rate::integer"); + $this->_addSql("UPDATE cc_files SET temp_sr = sample_rate::integer"); + } + + public function down(Schema $schema) + { + + } +} \ No newline at end of file