Skip to content

Commit

Permalink
Update src/Migration/MailerTransportMigration.php
Browse files Browse the repository at this point in the history
Co-authored-by: Fritz Michael Gschwantner <[email protected]>
  • Loading branch information
aschempp and fritzmg authored Dec 3, 2024
1 parent 8f619e2 commit 0e7e5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Migration/MailerTransportMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function shouldRun(): bool

public function run(): MigrationResult
{
$this->connection->executeStatement("ALTER TABLE tl_nc_gateway CHANGE mailerTransport mailterTransport varchar(64) DEFAULT NULL");
$this->connection->executeStatement("ALTER TABLE tl_nc_gateway CHANGE mailerTransport mailerTransport varchar(64) DEFAULT NULL");
$this->connection->executeStatement("UPDATE tl_nc_gateway SET mailerTransport = NULL WHERE mailerTransport = ''");

return $this->createResult(true);
Expand Down

0 comments on commit 0e7e5a1

Please sign in to comment.