Store more commit info in db

This commit is contained in:
Joscha 2023-08-06 10:45:27 +02:00
parent 0f3cf296f1
commit 0d3cd15b03
9 changed files with 82 additions and 43 deletions

View file

@ -1,7 +1,12 @@
CREATE TABLE commits (
hash TEXT NOT NULL PRIMARY KEY,
new INT NOT NULL DEFAULT 1,
tracked INT NOT NULL DEFAULT 0
hash TEXT NOT NULL PRIMARY KEY,
author TEXT NOT NULL,
author_date TEXT NOT NULL,
committer TEXT NOT NULL,
committer_date TEXT NOT NULL,
message TEXT NOT NULL,
reachable INT NOT NULL DEFAULT 0,
new INT NOT NULL DEFAULT 1
) STRICT;
CREATE TABLE commit_links (