Skip to content

Commit 7cf40e9

Browse files
committed
Rubocop fixes
1 parent a7c5ed6 commit 7cf40e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

db/migrate/20250905163813_change_duration_minutes_to_integer_in_better_together_events.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
# Changes duration_minutes from decimal to integer. Don't need high precision for minutes.
4+
# Also rounds any existing decimal values to nearest integer.
15
class ChangeDurationMinutesToIntegerInBetterTogetherEvents < ActiveRecord::Migration[7.2]
26
def up
37
# First, convert any existing decimal values to integers

0 commit comments

Comments
 (0)