Skip to content

Commit

Permalink
Make flat statistics history columns mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 16, 2024
1 parent 5c1ee20 commit 8dfc3bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sql.d/schema/create_schema_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,10 @@ DROP TABLE IF EXISTS statistics_history CASCADE;
CREATE TABLE statistics_history (
ts timestamp with time zone NOT NULL PRIMARY KEY,
snapshot jsonb NOT NULL,
num_packages integer,
num_projects integer,
num_problems integer,
num_maintainers integer
num_packages integer NOT NULL,
num_projects integer NOT NULL,
num_problems integer NOT NULL,
num_maintainers integer NOT NULL
);

--------------------------------------------------------------------------------
Expand Down

0 comments on commit 8dfc3bc

Please sign in to comment.