Skip to content

Commit

Permalink
Drop deleted_at from promotion actions
Browse files Browse the repository at this point in the history
We don't need soft-delete on promotion actions when we have soft-delete
on promotions.
  • Loading branch information
mamhoff committed Jan 25, 2024
1 parent c00aa0d commit 5bc903c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DropDeletedAtFromPromotionActions < ActiveRecord::Migration[7.1]
def change
remove_column :friendly_promotion_actions, :deleted_at, :datetime, null: true
end
end

0 comments on commit 5bc903c

Please sign in to comment.