Register and reversion update, add downgrade
This commit is contained in:
parent
32a1a66378
commit
a7d25e1960
|
@ -1 +1 @@
|
||||||
ALTER TABLE third_party_track_references ALTER COLUMN file_id SET NOT NULL;
|
ALTER TABLE third_party_track_references ALTER COLUMN file_id SET NOT NULL;
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE cc_show_instances DROP COLUMN IF EXISTS autoplaylist_built;
|
||||||
|
ALTER TABLE cc_show DROP COLUMN IF EXISTS has_autoplaylist;
|
||||||
|
ALTER TABLE cc_show DROP COLUMN IF EXISTS autoplaylist_id;
|
|
@ -1,3 +1,3 @@
|
||||||
ALTER TABLE cc_show ADD COLUMN has_autoplaylist boolean default 'f' NOT NULL
|
ALTER TABLE cc_show ADD COLUMN has_autoplaylist boolean default 'f' NOT NULL;
|
||||||
ALTER TABLE cc_show ADD COLUMN autoplaylist_id integer DEFAULT NULL
|
ALTER TABLE cc_show ADD COLUMN autoplaylist_id integer DEFAULT NULL;
|
||||||
ALTER TABLE cc_show_instances ADD COLUMN autoplaylist_built boolean default 'f' NOT NULL
|
ALTER TABLE cc_show_instances ADD COLUMN autoplaylist_built boolean default 'f' NOT NULL;
|
|
@ -501,3 +501,16 @@ class AirtimeUpgrader2516 extends AirtimeUpgrader
|
||||||
return '2.5.16';
|
return '2.5.16';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class AirtimeUpgrader300alpha extends AirtimeUpgrader
|
||||||
|
{
|
||||||
|
protected function getSupportedSchemaVersions() {
|
||||||
|
return array(
|
||||||
|
'2.5.16'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getNewVersion() {
|
||||||
|
return '3.0.0-alpha';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue