Bugfix/fix voice call active text
This commit is contained in:
@@ -7,13 +7,13 @@ final class AddVoiceCallHistoryStartIndex extends AbstractMigration {
|
||||
public function up(): void {
|
||||
if ($this->getEnvironment() == "thetool") {
|
||||
//VoiceCallHistory Table add start index
|
||||
$this->table("VoiceCallHistory")->addIndex(["start"]);
|
||||
$this->table("VoiceCallHistory")->addIndex(["start"])->save();
|
||||
}
|
||||
}
|
||||
|
||||
public function down(): void {
|
||||
if ($this->getEnvironment() == "thetool") {
|
||||
$this->table("VoiceCallHistory")->removeIndex(["start"]);
|
||||
$this->table("VoiceCallHistory")->removeIndex(["start"])->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user