From 9a920bd4e90f8a3a18d19987eccb43db8e04406f Mon Sep 17 00:00:00 2001 From: Constantin Graf Date: Thu, 13 Jun 2024 16:24:52 +0200 Subject: [PATCH] Fixed migration --- ...24_06_10_161831_reset_billable_rates_with_zero_as_value.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/database/migrations/2024_06_10_161831_reset_billable_rates_with_zero_as_value.php b/database/migrations/2024_06_10_161831_reset_billable_rates_with_zero_as_value.php index 39b4c006..cb6d189a 100644 --- a/database/migrations/2024_06_10_161831_reset_billable_rates_with_zero_as_value.php +++ b/database/migrations/2024_06_10_161831_reset_billable_rates_with_zero_as_value.php @@ -23,6 +23,9 @@ return new class extends Migration DB::table('members') ->where('billable_rate', '=', 0) ->update(['billable_rate' => null]); + DB::table('time_entries') + ->where('billable_rate', '=', 0) + ->update(['billable_rate' => null]); } /**