Update about the relation column "User" for the images
and begin to add a column in "Aircraft"
This commit is contained in:
@@ -14,6 +14,7 @@ namespace skydiveLogs_api.Data
|
||||
BsonMapper.Global.Entity<Jump>().DbRef(x => x.Aircraft, "Aircraft");
|
||||
BsonMapper.Global.Entity<Jump>().DbRef(x => x.DropZone, "DropZone");
|
||||
BsonMapper.Global.Entity<Jump>().DbRef(x => x.Gear, "Gear");
|
||||
BsonMapper.Global.Entity<Jump>().DbRef(x => x.User, "User");
|
||||
|
||||
BsonMapper.Global.Entity<Image>().DbRef(x => x.User, "User");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user