feat: persist versioned organization needs
This commit is contained in:
1 parent
f81cd0ae09
commit
ee3738ee73
14 files changed
+2388
No files matched your search
@@ -396,6 +396,22 @@ type OrganizationCreationResult struct {
|
||||
Snapshot []byte
|
||||
}
|
||||
|
||||
type OrganizationNeed struct {
|
||||
ID pgtype.UUID
|
||||
OrganizationID pgtype.UUID
|
||||
CurrentVersion int64
|
||||
RequirementsVersion int64
|
||||
CreatedAt pgtype.Timestamptz
|
||||
UpdatedAt pgtype.Timestamptz
|
||||
}
|
||||
|
||||
type OrganizationNeedVersion struct {
|
||||
OrganizationID pgtype.UUID
|
||||
NeedID pgtype.UUID
|
||||
Version int64
|
||||
Snapshot []byte
|
||||
}
|
||||
|
||||
type OrganizationRepresentative struct {
|
||||
OrganizationID pgtype.UUID
|
||||
Ordinal int16
|
||||
|
||||
Reference in new issue
Block a user