Migrations: Fix migration name

This commit is contained in:
Igor Scheller 2023-03-17 16:08:43 +01:00
parent 1292722ac3
commit c85eb2f3d2
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace Engelsystem\Migrations;
use Engelsystem\Database\Migration\Migration;
class FixEmailMessagesMigrationName extends Migration
{
/**
* Run the migration
*/
public function up(): void
{
$this->schema->getConnection()
->table('migrations')
->where('migration', '2023_02_26_000000_AddEmailMessagesToUsersSettings')
->update([
'migration' => '2023_02_26_000000_add_email_messages_to_users_settings',
]);
}
// Down migration not needed when on same version
}