Skip to content

Getting error when replaying past events #448

Discussion options

You must be logged in to vote

Anyone who is looking for the answer:

I resolved this by adding a public method to my TransactionCount Model

public function getKeyName()
    {
        return 'account_uuid';
    }

The Projection wrapper interfere whenever you try to save the model. By default, it considers the uuid column name as uuid But in my case, it was named as account_uuid. So by using that method, I instructed the Projection to use account_uuid as uuid name

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@vikasguptadev
Comment options

@vikasguptadev
Comment options

@vikasguptadev
Comment options

Comment options

You must be logged in to vote
1 reply
@vikasguptadev
Comment options

Answer selected by vikasguptadev
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants