From c85eb2f3d2d3867d7afba2d597c6794995b0ec19 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 17 Mar 2023 16:08:43 +0100 Subject: [PATCH] Migrations: Fix migration name --- ...0000_fix_email_messages_migration_name.php | 25 +++++++++++++++++++ ..._add_email_messages_to_users_settings.php} | 0 2 files changed, 25 insertions(+) create mode 100644 db/migrations/2023_02_25_000000_fix_email_messages_migration_name.php rename db/migrations/{2023_02_26_000000_AddEmailMessagesToUsersSettings.php => 2023_02_26_000000_add_email_messages_to_users_settings.php} (100%) diff --git a/db/migrations/2023_02_25_000000_fix_email_messages_migration_name.php b/db/migrations/2023_02_25_000000_fix_email_messages_migration_name.php new file mode 100644 index 00000000..4acfb4e1 --- /dev/null +++ b/db/migrations/2023_02_25_000000_fix_email_messages_migration_name.php @@ -0,0 +1,25 @@ +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 +} diff --git a/db/migrations/2023_02_26_000000_AddEmailMessagesToUsersSettings.php b/db/migrations/2023_02_26_000000_add_email_messages_to_users_settings.php similarity index 100% rename from db/migrations/2023_02_26_000000_AddEmailMessagesToUsersSettings.php rename to db/migrations/2023_02_26_000000_add_email_messages_to_users_settings.php