Event Sourcing/CQRS Database constraints on Read Only Side

Viewed 487

Our company would like to implement Event Sourcing/CQRS for our financial systems.

For the Read Only Model, should we apply Database constraints? I know constraints should Not be on the Write event store side. How about the Read only Model side?

Including:

  • Unique Constraints
  • Foreign Key Constraints
  • Check Constraints
  • Default Constraints
  • Referential Integrity
2 Answers
Related