Skip to content

Commit

Permalink
Combine the column drops
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Ullyott <kevin.ullyott@canyongbs.com>
  • Loading branch information
Orrison committed Oct 16, 2024
1 parent 96f4d51 commit c67d6e4
Showing 1 changed file with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,20 @@ public function up(): void
public function down(): void
{
Schema::table('service_request_types', function (Blueprint $table) {
$table->dropColumn('is_managers_service_request_created_email_enabled');
$table->dropColumn('is_managers_service_request_created_notification_enabled');
$table->dropColumn('is_managers_service_request_assigned_email_enabled');
$table->dropColumn('is_managers_service_request_assigned_notification_enabled');
$table->dropColumn('is_managers_service_request_resolved_email_enabled');
$table->dropColumn('is_managers_service_request_resolved_notification_enabled');

$table->dropColumn('is_auditors_service_request_created_email_enabled');
$table->dropColumn('is_auditors_service_request_created_notification_enabled');
$table->dropColumn('is_auditors_service_request_assigned_email_enabled');
$table->dropColumn('is_auditors_service_request_assigned_notification_enabled');
$table->dropColumn('is_auditors_service_request_resolved_email_enabled');
$table->dropColumn('is_auditors_service_request_resolved_notification_enabled');
$table->dropColumn([
'is_managers_service_request_created_email_enabled',
'is_managers_service_request_created_notification_enabled',
'is_managers_service_request_assigned_email_enabled',
'is_managers_service_request_assigned_notification_enabled',
'is_managers_service_request_resolved_email_enabled',
'is_managers_service_request_resolved_notification_enabled',
'is_auditors_service_request_created_email_enabled',
'is_auditors_service_request_created_notification_enabled',
'is_auditors_service_request_assigned_email_enabled',
'is_auditors_service_request_assigned_notification_enabled',
'is_auditors_service_request_resolved_email_enabled',
'is_auditors_service_request_resolved_notification_enabled',
]);
});
}
};

0 comments on commit c67d6e4

Please sign in to comment.