Fix DB schema, write a basic unittest for the DB operations

This commit is contained in:
Arturo Filastò 2018-09-06 15:34:56 +02:00
commit a518ca79da
6 changed files with 183 additions and 124 deletions

View file

@ -122,6 +122,7 @@ func CreateMeasurement(sess sqlbuilder.Database, m Measurement, i string) (*Meas
// XXX Do we want to have this be part of something else?
m.StartTime = time.Now().UTC()
m.TestKeys = ""
// XXX insert also the URL and stuff
//m.Input = i