Add scan queue execution and listing endpoint.
Run scans in background with progress/status updates and store scan metrics in memory or PostgreSQL. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package store
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
//go:embed sql/001_init.sql
|
||||
var initSQL string
|
||||
|
||||
func RunMigrations(db *sql.DB) error {
|
||||
_, err := db.Exec(initSQL)
|
||||
return err
|
||||
}
|
||||
Reference in New Issue
Block a user