From 95f118b2dc6f281890048e7142d40653750b1097 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 13 May 2023 07:01:26 -0600 Subject: [PATCH] Add migration --- ...nused_columns_from_notifications_table.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 database/migrations/2023_05_13_045228_remove_unused_columns_from_notifications_table.php diff --git a/database/migrations/2023_05_13_045228_remove_unused_columns_from_notifications_table.php b/database/migrations/2023_05_13_045228_remove_unused_columns_from_notifications_table.php new file mode 100644 index 000000000..1c450f920 --- /dev/null +++ b/database/migrations/2023_05_13_045228_remove_unused_columns_from_notifications_table.php @@ -0,0 +1,31 @@ +dropColumn('message'); + } + + if(Schema::hasColumn('notifications', 'rendered')) { + $table->dropColumn('rendered'); + } + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + } +};