Skip to content

Commit

Permalink
inheritance column setter needs to be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
desheikh committed Dec 9, 2024
1 parent 41efdf1 commit 881cf8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/eventsimple/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def drives_events_for(aggregate_klass, aggregate_id:, events_namespace: nil)
class_attribute :_on_invalid_transition
self._on_invalid_transition = ->(error) { raise error }

self.inheritance_column = :type
self.inheritance_column = 'type'
self.store_full_sti_class = false

attribute :metadata, MetadataType.new
Expand Down

0 comments on commit 881cf8e

Please sign in to comment.