Skip to content

Commit

Permalink
[MODORGSTOR-153] - Allow optimistic locking for new tables
Browse files Browse the repository at this point in the history
  • Loading branch information
imerabishvili committed Oct 30, 2023
1 parent 8d94e48 commit f2f3075
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mod-orgs/schemas/banking_information.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"description": "The unique id of this banking information",
"$ref": "../../common/schemas/uuid.json"
},
"_version": {
"type": "integer",
"description": "Record version for optimistic locking"
},
"organizationId": {
"description": "The unique id of organization",
"$ref": "../../common/schemas/uuid.json"
Expand Down
4 changes: 4 additions & 0 deletions mod-orgs/schemas/contact.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"description": "The unique id of this contact",
"$ref": "../../common/schemas/uuid.json"
},
"_version": {
"type": "integer",
"description": "Record version for optimistic locking"
},
"prefix": {
"description": "The prefix for this contact person",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions mod-orgs/schemas/organization_type.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"description": "The unique id of this organization type",
"$ref": "../../common/schemas/uuid.json"
},
"_version": {
"type": "integer",
"description": "Record version for optimistic locking"
},
"name": {
"description": "The name of this organization type",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions mod-orgs/schemas/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"description": "The unique id of this setting",
"$ref": "../../common/schemas/uuid.json"
},
"_version": {
"type": "integer",
"description": "Record version for optimistic locking"
},
"key": {
"description": "The key of this setting",
"type": "string"
Expand Down

0 comments on commit f2f3075

Please sign in to comment.