feat(db): added function to convert sqlite output to struct

This commit is contained in:
Jef Roosens 2022-05-28 22:22:55 +02:00 committed by Chewing_Bever
parent 31e903ebeb
commit 4f32dec5b5
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 29 additions and 9 deletions

View file

@ -3,7 +3,7 @@ module models
import time
pub struct BuildLog {
pub:
pub mut:
id int [primary; sql: serial]
repo_id int [nonull]
start_time time.Time [nonull]