Passing rubocop
This commit is contained in:
parent
6cd1de21dd
commit
cb6e5ce29f
4 changed files with 3 additions and 7 deletions
|
|
@ -12,7 +12,6 @@ class CreateVisits < ActiveRecord::Migration
|
|||
t.integer :visitor_id
|
||||
end
|
||||
|
||||
|
||||
# the rest are recommended but optional
|
||||
# simply remove the columns you don't want
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ class SplitTicketPriceInPriceAndCurrency < ActiveRecord::Migration
|
|||
add_money :tickets, :price
|
||||
end
|
||||
|
||||
|
||||
TempTicket.all.each do |ticket|
|
||||
# Replace currency symbol with ISO Code
|
||||
if ticket.ticket_price
|
||||
|
|
|
|||
|
|
@ -10,7 +10,5 @@ class ChangeVisitIdTypeOfAhoyEventsToInteger < ActiveRecord::Migration[5.0]
|
|||
else
|
||||
change_column :ahoy_events, :visit_id, :integer, limit: nil
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue