-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed _id type to Text. In PostgreSQL this should be almost equally the same indexable. Of course it'll take a bit more storage, but let's live with that for now. We can in the future allow as Marten does to use different definition of collection table. Changing from uuid to text will allow more sophisticated key strategies. Most importantly it'll reuse the stream id as document id for Emmett projections. Besides that added columns for future concepts: - _version - for optimistic concurrency handling, - _partition - for built-in PostgreSQL partitioning, - _created, _modified - for timestamp metadata, - metadata - for technical additional data, - _archived - for soft deletion and also partitioning
- Loading branch information
1 parent
4bd5dea
commit 37f4ae6
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters