sql: add repos_history table

This commit is contained in:
Stefano Zacchiroli 2015-04-30 12:39:32 +02:00
parent c093e81c23
commit 5bd3ab91f3

View file

@ -16,3 +16,10 @@ CREATE INDEX ix_trgm_repos_description ON
CREATE INDEX ix_trgm_repos_full_name ON
repos USING gin (full_name gin_trgm_ops);
CREATE TABLE repos_history (
ts timestamp DEFAULT current_timestamp,
repos integer NOT NULL,
fork_repos integer,
orig_repos integer
);