Small changes

This commit is contained in:
2023-09-04 01:53:54 +02:00
parent 2aea0c6b40
commit 2f63c3202a
2 changed files with 2 additions and 2 deletions

View File

@ -435,7 +435,7 @@ CREATE TABLE area_commitment (
CREATE TABLE season (
year INTEGER NOT NULL CHECK (year >= 1000 AND year <= 9999),
currency TEXT NOT NULL,
precision INTEGER NOT NULL DEFAULT 2,
precision INTEGER NOT NULL DEFAULT 4,
start_date TEXT CHECK (start_date REGEXP '^[1-9][0-9]{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$'),
end_date TEXT CHECK (end_date REGEXP '^[1-9][0-9]{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$'),