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]); } /**