mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 07:19:03 +02:00
parent
daa11eb9c1
commit
82013c9cde
1 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ class AddFullTextSearchIndexes extends BaseMigration
|
|||
$prefix = $this->db->getPrefix();
|
||||
|
||||
$createQuery = <<<SQL
|
||||
ALTER TABLE {$prefix}episodes DROP INDEX IF EXISTS title;
|
||||
ALTER TABLE {$prefix}episodes DROP INDEX title;
|
||||
SQL;
|
||||
|
||||
$this->db->query($createQuery);
|
||||
|
|
@ -37,14 +37,14 @@ class AddFullTextSearchIndexes extends BaseMigration
|
|||
|
||||
$createQuery = <<<SQL
|
||||
ALTER TABLE {$prefix}episodes
|
||||
DROP INDEX IF EXISTS episodes_search;
|
||||
DROP INDEX episodes_search;
|
||||
SQL;
|
||||
|
||||
$this->db->query($createQuery);
|
||||
|
||||
$createQuery = <<<SQL
|
||||
ALTER TABLE {$prefix}podcasts
|
||||
DROP INDEX IF EXISTS podcasts_search;
|
||||
DROP INDEX podcasts_search;
|
||||
SQL;
|
||||
|
||||
$this->db->query($createQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue