-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove not null constraint on some control_anteriority columns
- Loading branch information
1 parent
b8dca81
commit 5ce7f87
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
backend/src/main/resources/db/migration/internal/V0.42__Update_control_anteriority_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ALTER TABLE public.control_anteriority | ||
ADD COLUMN number_controls_last_5_years SMALLINT NOT NULL, | ||
ADD COLUMN infraction_rate REAL NOT NULL, | ||
ADD COLUMN diversion_rate REAL NOT NULL, | ||
ADD COLUMN seizure_rate REAL NOT NULL, | ||
ADD COLUMN escort_to_quay_rate REAL NOT NULL; | ||
ADD COLUMN number_controls_last_5_years SMALLINT, | ||
ADD COLUMN infraction_rate REAL, | ||
ADD COLUMN diversion_rate REAL, | ||
ADD COLUMN seizure_rate REAL, | ||
ADD COLUMN escort_to_quay_rate REAL; |