keep db changes in alpha.1

This commit is contained in:
Robb Ebright 2017-03-31 11:17:26 -04:00
parent b42dd20e09
commit 8e3076190c
5 changed files with 4 additions and 15 deletions

View File

@ -1,3 +1,5 @@
ALTER TABLE imported_podcast DROP COLUMN IF EXISTS album_override;
ALTER TABLE third_party_track_references ALTER COLUMN file_id DROP DEFAULT;
ALTER TABLE third_party_track_references ALTER COLUMN file_id SET NOT NULL;
ALTER TABLE cc_show DROP COLUMN IF EXISTS autoplaylist_repeat;

View File

@ -1 +0,0 @@
ALTER TABLE cc_show DROP COLUMN IF EXISTS autoplaylist_repeat;

View File

@ -1,3 +1,4 @@
ALTER TABLE imported_podcast ADD COLUMN album_override boolean default 'f' NOT NULL;
ALTER TABLE third_party_track_references ALTER COLUMN file_id SET DEFAULT 0;
ALTER TABLE third_party_track_references ALTER COLUMN file_id DROP NOT NULL;
ALTER TABLE cc_show ADD COLUMN autoplaylist_repeat boolean default 'f' NOT NULL;

View File

@ -1 +0,0 @@
ALTER TABLE cc_show ADD COLUMN autoplaylist_repeat boolean default 'f' NOT NULL;

View File

@ -518,16 +518,4 @@ class AirtimeUpgrader300alpha1 extends AirtimeUpgrader
public function getNewVersion() {
return '3.0.0-alpha.1';
}
}
class AirtimeUpgrader300alpha2 extends AirtimeUpgrader
{
protected function getSupportedSchemaVersions() {
return array(
'3.0.0-alpha'
);
}
public function getNewVersion() {
return '3.0.0-alpha.2';
}
}
}