add remote resource support #81
Annotations
2 errors
SIL.Harmony.Tests.DbContextTests.VerifyModel
VerifyException : Directory: /home/runner/work/harmony/harmony/src/SIL.Harmony.Tests
NotEqual:
- Received: DbContextTests.VerifyModel.received.txt
Verified: DbContextTests.VerifyModel.verified.txt
FileContent:
NotEqual:
Received: DbContextTests.VerifyModel.received.txt
Verified: DbContextTests.VerifyModel.verified.txt
Compare Result:
Model:
EntityType: Commit
Properties:
Id (Guid) Required PK AfterSave:Throw ValueGenerated.OnAdd
ClientId (Guid) Required
Hash (string) Required
Metadata (CommitMetadata) Required
Annotations:
Relational:ColumnType: jsonb
ParentHash (string) Required
Navigations:
ChangeEntities (List<ChangeEntity<IChange>>) Collection ToDependent ChangeEntity<IChange>
Snapshots (List<ObjectSnapshot>) Collection ToDependent ObjectSnapshot Inverse: Commit
Complex properties:
HybridDateTime (HybridDateTime) Required
ComplexType: Commit.HybridDateTime#HybridDateTime
Properties:
Counter (long) Required
Annotations:
Relational:ColumnName: Counter
DateTime (DateTimeOffset) Required
Annotations:
Relational:ColumnName: DateTime
Keys:
Id PK
Annotations:
DiscriminatorProperty:
Relational:FunctionName:
Relational:Schema:
Relational:SqlQuery:
Relational:TableName: Commits
Relational:ViewName:
Relational:ViewSchema:
EntityType: ChangeEntity<IChange>
Properties:
CommitId (Guid) Required PK FK AfterSave:Throw
Index (int) Required PK AfterSave:Throw
Change (IChange)
Annotations:
Relational:ColumnType: jsonb
EntityId (Guid) Required
Keys:
CommitId, Index PK
Foreign keys:
ChangeEntity<IChange> {'CommitId'} -> Commit {'Id'} Required Cascade ToDependent: ChangeEntities
Annotations:
DiscriminatorProperty:
Relational:FunctionName:
Relational:Schema:
Relational:SqlQuery:
Relational:TableName: ChangeEntities
Relational:ViewName:
Relational:ViewSchema:
EntityType: ObjectSnapshot
Properties:
Id (Guid) Required PK AfterSave:Throw ValueGenerated.OnAdd
CommitId (Guid) Required FK Index
Entity (IObjectBase) Required
Annotations:
Relational:ColumnType: jsonb
EntityId (Guid) Required Index
EntityIsDeleted (bool) Required
IsRoot (bool) Required
References (Guid[]) Required Element type: Guid Required
Annotations:
ElementType: Element type: Guid Required
TypeName (string) Required
Navigations:
Commit (Commit) ToPrincipal Commit Inverse: Snapshots
Keys:
Id PK
Foreign keys:
ObjectSnapshot {'CommitId'} -> Commit {'Id'} Required Cascade ToDependent: Snapshots ToPrincipal: Commit
Indexes:
CommitId, EntityId Unique
Annotations:
DiscriminatorProperty:
Relational:FunctionName:
Relational:Schema:
Relational:SqlQuery:
Relational:TableName: Snapshots
Relational:ViewName:
Relational:ViewSchema:
EntityType: LocalResource
Properties:
Id (Guid) Required PK AfterSave:Throw ValueGenerated.OnAdd
LocalPath (string) Required
Keys:
Id PK
Annotations:
DiscriminatorProperty:
Relational:FunctionName:
Relational:Schema:
Relational:SqlQuery:
Relational:TableName: LocalResource
Relational:ViewName:
Relational:ViewSchema:
EntityType: RemoteResource
Properties:
Id (Guid) Required PK AfterSave:Throw ValueGenerated.OnAdd
DeletedAt (DateTimeOffset?)
RemoteId (string)
SnapshotId (no field, Guid?) Shadow FK Index
Keys:
Id PK
Foreign keys:
RemoteResource {'SnapshotId
|
build
Process completed with exit code 1.
|