Skip to content

Instantly share code, notes, and snippets.

@mikecann
Created September 4, 2018 02:53
Show Gist options
  • Save mikecann/12709c60c92d9c36d6ebd0d83d33bc0d to your computer and use it in GitHub Desktop.
Save mikecann/12709c60c92d9c36d6ebd0d83d33bc0d to your computer and use it in GitHub Desktop.
{
commitId: {
type: String,
required: true,
index: {
global: true,
name: commitIdIndexName,
project: true
}
},
aggregateId: {
type: String,
hashKey: true,
required: true
},
version: {
type: Number,
rangeKey: true,
required: true
},
events: {
type: Array,
required: true
},
ownerId: {
type: String
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment