Add db up/downgrade script for album_override field
This commit is contained in:
parent
a2eb4b2297
commit
d68c95b144
3 changed files with 15 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE imported_podcast DROP COLUMN IF EXISTS album_override;
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE imported_podcast ADD COLUMN album_override boolean default 'f' NOT NULL;
|
|
@ -506,3 +506,16 @@ class AirtimeUpgrader300alpha extends AirtimeUpgrader
|
||||||
return '3.0.0-alpha';
|
return '3.0.0-alpha';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class AirtimeUpgrader300alpha1 extends AirtimeUpgrader
|
||||||
|
{
|
||||||
|
protected function getSupportedSchemaVersions() {
|
||||||
|
return array(
|
||||||
|
'3.0.0-alpha'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getNewVersion() {
|
||||||
|
return '3.0.0-alpha.1';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue