revoframework / Revo

Event Sourcing, CQRS and DDD framework for C#/.NET Core.
https://docs.revoframework.net/
MIT License
644 stars 70 forks source link

[Question] Can I create read model without tableprefix ? #30

Closed RustamGulamov closed 3 years ago

RustamGulamov commented 3 years ago

Why need tableprefix and ColumnPrefix ? It makes hard to read.

RustamGulamov commented 3 years ago

@martinzima

martinzima commented 3 years ago

Indeed, this is a certain limitation at this moment stemming from the fact that the internal Revo tables (event store, queues, etc.) have hardcoded names in the SQL migrations files. I'm looking to tackle this limitation in some of the upcoming versions - I guess I will just explicitly specify names for all Revo tables and columns directly in its code (not relying on the conventions), unless I find a more flexible solution.

In the meantime, you can either adopt the naming conventions used by Revo, or you can turn off the conventions and rename its tables (manually or using a migration).