feat(db): added function to convert sqlite output to struct
This commit is contained in:
parent
31e903ebeb
commit
4f32dec5b5
3 changed files with 29 additions and 9 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Reference in a new issue