From 9347665baa1820ed0875c6b2dd22b14fbc2768e7 Mon Sep 17 00:00:00 2001 From: Ian Morland Date: Mon, 24 Oct 2022 10:07:25 +0100 Subject: [PATCH] remove unneeded migration --- ...rrent_timestamp_on_post_mentions_group.php | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 extensions/mentions/migrations/2022_10_21_000001_alter_created_at_set_current_timestamp_on_post_mentions_group.php diff --git a/extensions/mentions/migrations/2022_10_21_000001_alter_created_at_set_current_timestamp_on_post_mentions_group.php b/extensions/mentions/migrations/2022_10_21_000001_alter_created_at_set_current_timestamp_on_post_mentions_group.php deleted file mode 100644 index 08d23aeb0..000000000 --- a/extensions/mentions/migrations/2022_10_21_000001_alter_created_at_set_current_timestamp_on_post_mentions_group.php +++ /dev/null @@ -1,23 +0,0 @@ - function (Builder $schema) { - // do this manually because dbal doesn't recognize timestamp columns - $connection = $schema->getConnection(); - $prefix = $connection->getTablePrefix(); - $connection->statement("ALTER TABLE `${prefix}post_mentions_group` MODIFY created_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP"); - }, - - 'down' => function (Builder $schema) { - // Nothing to do. - } -];