Merge pull request #776 from Robbt/fix-release-sql-schema-changes

merged database schema changes to alpha.7 release
This commit is contained in:
Kyle Robbertze 2019-04-02 09:02:19 +02:00 committed by GitHub
commit adb8d8c01d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 50 additions and 5 deletions

View file

@ -1,2 +1,3 @@
ALTER TABLE podcast_episodes DROP COLUMN IF EXISTS episode_title;
ALTER TABLE podcast_episodes DROP COLUMN IF EXISTS episode_description;

View file

@ -1,2 +1,3 @@
ALTER TABLE podcast_episodes ADD COLUMN episode_title VARCHAR(4096);
ALTER TABLE podcast_episodes ADD COLUMN episode_description VARCHAR(4096);

View file

@ -532,6 +532,12 @@ class AirtimeUpgrader300alpha6 extends AirtimeUpgrader
return '3.0.0-alpha.6';
}
}
/**
* Class AirtimeUpgrader300alpha7
*
* GH-#636 - https://github.com/LibreTime/libretime/pull/636 - Change dynamic smartblock to be default smartblock type
*/
class AirtimeUpgrader300alpha7 extends AirtimeUpgrader
{
@ -540,9 +546,46 @@ class AirtimeUpgrader300alpha7 extends AirtimeUpgrader
'3.0.0-alpha.6'
);
}
public function getNewVersion() {
return '3.0.0-alpha.7';
}
}
}
/**
* Class AirtimeUpgrader300alpha7-1
*
* GH-#659 - https://github.com/LibreTime/libretime/pull/659/ - Add description and title to podcast episodes database table
*/
class AirtimeUpgrader300alpha7_1 extends AirtimeUpgrader
{
protected function getSupportedSchemaVersions() {
return array(
'3.0.0-alpha.7'
);
}
public function getNewVersion() {
return '3.0.0-alpha.7.1';
}
}
/**
* Class AirtimeUpgrader300alpha7-2
*
* GH-#704 - https://github.com/LibreTime/libretime/pull/704/ - Add criteria group to smartblock table to enable database to store separately
*/
class AirtimeUpgrader300alpha7_2 extends AirtimeUpgrader
{
protected function getSupportedSchemaVersions() {
return array(
'3.0.0-alpha.7.1'
);
}
public function getNewVersion() {
return '3.0.0-alpha.7.2';
}
}