CREATE TABLE IF NOT EXISTS osh.gitscans (
    id SERIAL,
    build_system_type VARCHAR(80),
    repository VARCHAR(150),
    reference VARCHAR(100),
    commit_id VARCHAR(100),
    -- SHA256 has a length of 256 bits, so 256 bits would represent 64 hex characters
    hashsum VARCHAR(64),
    PRIMARY KEY(id)
);

INSERT INTO osh.gitscans (id,build_system_type,repository,reference,commit_id)
  VALUES(1, 'git', 'http://github.com/rpms/kubevirt-cpaas-mvp', '9fd87a76beaba5cd6b93cb6f02bf1d88c4855a45','1c1007b8');
INSERT INTO osh.gitscans (id,build_system_type,repository,reference,commit_id)
  VALUES(2, 'git', 'http://github.com/rpms/kubevirt-cpaas-mvp', '9fd87a76beaba5cd6b93cb6f02bf1d88c4855a45','1c1007b8');
INSERT INTO osh.gitscans (id,build_system_type,repository,reference,commit_id)
  VALUES(3, 'git', 'http://github.com/rpms/kubevirt-cpaas-mvp', '9fd87a76beaba5cd6b93cb6f02bf1d88c4855a45','1c1007b8');
INSERT INTO osh.gitscans (id,build_system_type,repository,reference,commit_id)
  VALUES(4, 'git', 'http://github.com/rpms/kubevirt-cpaas-mvp', '9fd87a76beaba5cd6b93cb6f02bf1d88c4855a45','1c1007b8');
INSERT INTO osh.gitscans (id,build_system_type,repository,reference,commit_id)
  VALUES(5, 'git', 'http://github.com/rpms/kubevirt-cpaas-mvp', '9fd87a76beaba5cd6b93cb6f02bf1d88c4855a45','1c1007b8');
