After fixing the initial data.
In the Hearing table made the changes 1. Unique constraint on next_hearing_date & case_id 2. Made case_id non nullable as without it the data is garbage 3. Made the court_status_id in hearing non nullable
This commit is contained in:
@ -5,7 +5,7 @@ export class Hearing {
|
||||
courtNumber: string;
|
||||
itemNumber: string;
|
||||
bench: string;
|
||||
courtStatus: CourtStatus | null;
|
||||
courtStatus: CourtStatus;
|
||||
proceedings: string;
|
||||
complianceDate: string | null;
|
||||
nextHearingDate: string | null;
|
||||
@ -15,7 +15,7 @@ export class Hearing {
|
||||
this.courtNumber = '';
|
||||
this.itemNumber = '';
|
||||
this.bench = '';
|
||||
this.courtStatus = null;
|
||||
this.courtStatus = new CourtStatus();
|
||||
this.proceedings = '';
|
||||
this.complianceDate = null;
|
||||
this.nextHearingDate = null;
|
||||
|
||||
Reference in New Issue
Block a user