Introduce structs/interfacess for new storage units

This commit simply splits the interfaces but introduces no new structs

     - Introduce the QueryPackStore, mrvacommander/pkg/qpstore
     - Introduce the CodeQL database store, pkg/qldbstore/interfaces.go
This commit is contained in:
Michael Hohn
2024-06-11 14:16:41 -07:00
committed by =Michael Hohn
parent fc29fc5653
commit 2d88b351ff
8 changed files with 176 additions and 31 deletions

View File

@@ -99,6 +99,18 @@ These are simple steps using a single container.
### Manually create needed postgres databases
This is still necessary after `docker-compose up` to avoid
[error] failed to initialize database, got error failed to connect to
`user=exampleuser database=server_db`: 172.25.0.3:5432 (postgres): server
error: FATAL: database "server_db" does not exist (SQLSTATE 3D000)
from
./server -loglevel=debug -mode=container
The steps:
# on the host
psql -h localhost -p 5432 -U exampleuser -d postgres