Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: updated agreement details #266

Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
- [Summary](#summary)
- [v1.8.0](#v180)
- [Agreements - ENHANCED](#agreements---enhanced)
- [v1.7.0](#v170)
- [PostgreSQL - Upgrade](#postgresql---upgrade)
- [Company Service Account - FIX](#company-service-account---fix)
Expand Down Expand Up @@ -28,6 +30,49 @@ Each section includes the respective change details, impact on existing data and

> **_INFO:_** inside the detailed descriptions below, the definition 'migration script' refers to the term 'migrations' as it is defined by the ef-core framework: https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations

### v1.8.0

#### Agreements - ENHANCED

- NEW: table portal.agreement_statuses
- ENHANCED: table portal.agreements "agreement_status_id" added
- ENHANCED: table portal.agreements "mandatory" added
- REMOVED: table portal.agreements "agreement_type" removed

New agreement_statuses table released to manage agreement status by supporting a new label ACTIVE/INACTIVE.

###### Impact on existing data:
As part of the migration, for all existing records inside the table portal.agreements the "mandatory" (true/false flag) is getting set with default value as `true` and "agreement_status_id" set with default value as `1` i.e. ACTIVE

```mermaid
%%{init: {
"theme": "default",
"themeCSS": [
"[id^=entity-agreements] .er.entityBox { fill: #92A2BD; }",
"[id^=entity-agreementstatuses] .er.entityBox { fill : #DF9A9B; }"
]
}}%%
erDiagram
agreements ||--o{ agreement_statuses : has
agreements {
uuid id PK
int agreement_category_id
timestamp date_created
timestamp date_last_changed
char name
uuid issuer_company_id
uuid use_case_id
uuid document_id
text agreement_link
int agreement_status_id FK "New Field"
bool mandatory "New Field"
}
agreement_statuses{
int id PK
char label
}
```

### v1.7.0

#### PostgreSQL - Upgrade
Expand Down
Loading