start sqlite migrations

This commit is contained in:
adlerhurst
2020-09-30 10:00:05 +02:00
parent 7da344be26
commit e4d8478b04
36 changed files with 2044 additions and 180 deletions

View File

@@ -1,22 +0,0 @@
package eventstore
//AggregateType is the object name
type AggregateType string
//Aggregate represents an object
type Aggregate struct {
//ID id is the unique identifier of the aggregate
// the client must generate it by it's own
ID string
//Type describes the meaning of this aggregate
// it could an object like user
Type AggregateType
//ResourceOwner is the organisation which owns this aggregate
// an aggregate can only be managed by one organisation
// use the ID of the org
ResourceOwner string
//Events describe all the changes made on an aggregate
Events []*Event
}