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 8ce4674 commit 602eb0b
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.0]
def change
remove_column :friendly_promotion_actions, :deleted_at, :datetime, null: true
end
end

0 comments on commit 602eb0b

Please sign in to comment.