Skip to content

Commit

Permalink
chore: add ref column
Browse files Browse the repository at this point in the history
  • Loading branch information
namnhce committed Jul 18, 2023
1 parent 88b1a97 commit e5a41a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ CREATE TABLE IF NOT EXISTS delivery_metrics (
effort DECIMAL NOT NULL DEFAULT 0,
effectiveness DECIMAL NOT NULL DEFAULT 0,
date DATE NOT NULL,
employee_id UUID NOT NULL,
project_id UUID NOT NULL
employee_id UUID NULL DEFAULT NULL,
project_id UUID NULL DEFAULT NULL,
ref INT NOT NULL DEFAULT 0
);

ALTER TABLE delivery_metrics
Expand Down
1 change: 1 addition & 0 deletions pkg/model/delivery_metrict.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ type DeliveryMetric struct {
Effectiveness decimal.Decimal
EmployeeID UUID
ProjectID UUID
Ref int
}

0 comments on commit e5a41a5

Please sign in to comment.