modified episodes_description to be longvarchar aka text

This commit is contained in:
Robbt 2019-04-02 20:12:20 -04:00
parent adb8d8c01d
commit 0cbeb07e19
6 changed files with 19 additions and 4 deletions

View file

@ -0,0 +1 @@
ALTER TABLE podcast_episodes ALTER COLUMN episode_description TYPE VARCHAR(4096);

View file

@ -0,0 +1 @@
ALTER TABLE podcast_episodes ALTER COLUMN episode_description TYPE text;

View file

@ -46,7 +46,7 @@ class PodcastEpisodesTableMap extends TableMap
$this->addColumn('download_url', 'DbDownloadUrl', 'VARCHAR', true, 4096, null);
$this->addColumn('episode_guid', 'DbEpisodeGuid', 'VARCHAR', true, 4096, null);
$this->addColumn('episode_title', 'DbEpisodeTitle', 'VARCHAR', true, 4096, null);
$this->addColumn('episode_description', 'DbEpisodeDescription', 'VARCHAR', true, 4096, null);
$this->addColumn('episode_description', 'DbEpisodeDescription', 'LONGVARCHAR', true, null, null);
// validators
} // initialize()

View file

@ -589,3 +589,16 @@ class AirtimeUpgrader300alpha7_2 extends AirtimeUpgrader
return '3.0.0-alpha.7.2';
}
}
class AirtimeUpgrader300alpha7_3 extends AirtimeUpgrader
{
protected function getSupportedSchemaVersions() {
return array(
'3.0.0-alpha.7.2'
);
}
public function getNewVersion() {
return '3.0.0-alpha.7.3';
}
}