diff --git a/data/migrations/1_create_msmt_results.sql b/data/migrations/1_create_msmt_results.sql index dbe2d39..0110441 100644 --- a/data/migrations/1_create_msmt_results.sql +++ b/data/migrations/1_create_msmt_results.sql @@ -24,18 +24,19 @@ CREATE TABLE `measurements` ( `id` INTEGER PRIMARY KEY AUTOINCREMENT, `name` VARCHAR(255), `start_time` DATETIME, - `end_time` DATETIME, + `runtime` INTEGER, `summary` JSON, `ip` VARCHAR(255), - `asn` INTEGER, + `asn` VARCHAR(16), `country` VARCHAR(2), `network_name` VARCHAR(255), `state` TEXT, `failure` VARCHAR(255), + `upload_failure` VARCHAR(255), + `uploaded` TINYINT(1), `report_file` VARCHAR(255), `report_id` VARCHAR(255), `input` VARCHAR(255), - `measurement_id` VARCHAR(255), `result_id` INTEGER REFERENCES `results` (`id`) ON DELETE SET NULL ON UPDATE CASCADE ); diff --git a/internal/bindata/bindata.go b/internal/bindata/bindata.go index e18f02c..f8fba7e 100644 --- a/internal/bindata/bindata.go +++ b/internal/bindata/bindata.go @@ -130,19 +130,20 @@ func bindataDataDefaultconfigjson() (*asset, error) { } var _bindataDataMigrations1createmsmtresultssql = []byte( - "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x93\x4f\x6f\xf2\x30\x0c\xc6\xef\xfd\x14\x3e\x82\xde\x97\xc3\x26\x71" + - "\xe2\x14\x5a\x6f\xeb\x56\x52\x94\xa6\xd3\x38\xb5\xd1\x1a\x50\x34\x9a\x56\x69\x22\xb4\x6f\x3f\x85\x7f\x2a\xac\x70" + - "\xde\xd5\xbf\xc7\x8e\xfd\xd8\x99\x4c\xe0\x5f\xad\x36\x46\x58\x09\x51\xb3\xd3\x41\x3f\x90\x59\x61\x65\x2d\xb5\x9d" + - "\xcb\x8d\xd2\x41\x10\xb1\x74\x09\x9c\xcc\x13\x84\xd2\xc8\xce\x6d\x6d\x57\xce\x2e\xa2\xb5\x14\x9d\x33\xfb\x1c\x8f" + - "\x86\xab\xa1\xae\x2e\x49\xde\xde\x7d\x36\x64\x48\x38\x5e\x3f\x0c\xa3\x00\x00\xa0\x54\x55\x09\x31\xe5\xf8\x8c\x0c" + - "\x96\x2c\x5e\x10\xb6\x82\x37\x5c\x01\xc9\x79\x1a\xd3\x90\xe1\x02\x29\xff\x7f\xd0\x6a\x51\xcb\x12\xde\x09\x0b\x5f" + - "\x08\x1b\x3d\x4e\xa7\xe3\x23\xe8\xac\x30\xb6\xb0\xca\xe3\x88\x70\xe4\xf1\x02\x8f\x48\xea\x6a\x18\x74\xae\xae\x85" + - "\xf9\x2e\xe1\x35\x4b\xe9\x31\x56\x35\x5a\x96\xc0\x63\xba\x8a\x29\x1f\x3d\x9c\xca\x57\xc2\x8a\xc2\x75\x62\x23\x0b" + - "\xd7\x9e\xdb\xfd\x0d\xab\x66\xa7\xcf\x38\x18\xcf\xae\x67\xbf\xb0\xf7\x4f\x1a\xa0\xda\xc1\xf2\xa2\xd3\xd7\x63\x7f" + - "\x36\x4e\x5b\x9f\x7d\x96\x9f\xc4\x5a\xda\x5d\x63\xbe\x8a\x7b\xcd\x5a\x6f\x33\x7e\x9c\xe6\x5a\x0b\xb5\x75\x66\x58" + - "\x6d\x64\xdb\x18\x5b\xac\xd5\xf6\x2e\xf7\x36\x0e\x50\xa5\x5b\x67\x07\x49\x6f\x19\xb7\x92\x0f\xb7\x5a\xf4\x37\xc4" + - "\xf0\x09\x19\xd2\x10\xb3\xfe\x29\xfb\x25\x8e\x21\xa5\x10\x61\x82\x1c\x21\x43\x0e\x34\x4f\x12\x1f\xca\x97\xde\x77" + - "\x08\x49\x16\x92\x08\xf7\x57\x71\xf3\x5b\xfd\x04\x00\x00\xff\xff\xc4\x16\x0a\x20\xcf\x03\x00\x00") + "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x93\xc1\x6e\xdb\x30\x0c\x86\xef\x7e\x0a\x1e\x13\x6c\x3d\x74\x40\x77" + + "\xe9\x49\xb5\xb9\xcd\x9b\x23\x07\xb2\x3c\x2c\x27\x5b\x98\xd4\x40\x98\x2d\x1b\xb2\x84\x60\x6f\x3f\xa8\xb5\xb3\xb8" + + "\x53\xb3\x5b\xaf\xff\x47\x52\x24\x7f\xea\xe6\x06\xde\xf5\xfa\x68\x85\x53\x90\x0d\x27\x93\x5c\x0a\x95\x13\x4e\xf5" + + "\xca\xb8\x07\x75\xd4\x26\x49\x32\x56\xee\x81\x93\x87\x02\xa1\xb5\x6a\xf2\x9d\x9b\xda\xfb\x95\xda\x2b\x31\x79\xfb" + + "\x94\x13\x50\xbc\x1a\x1a\xb9\x26\xf5\x78\xf5\xd9\x94\x21\xe1\xf8\xf2\x61\xd8\x24\x00\x00\xad\x96\x2d\xe4\x94\xe3" + + "\x67\x64\xb0\x67\xf9\x8e\xb0\x03\x7c\xc3\x03\x90\x9a\x97\x39\x4d\x19\xee\x90\xf2\xf7\xcf\xb1\x46\xf4\xaa\x85\xef" + + "\x84\xa5\x5f\x08\xdb\x7c\xb8\xbb\xdb\xce\x60\x72\xc2\xba\xc6\xe9\x80\x33\xc2\x91\xe7\x3b\x9c\x91\x32\x32\x0e\x26" + + "\xdf\xf7\xc2\xfe\x6e\xe1\x6b\x55\xd2\x59\x93\x83\x51\x2d\xf0\x9c\x1e\x72\xca\x37\xb7\x4b\x79\x29\x9c\x68\xfc\x24" + + "\x8e\xaa\xf1\xe3\xb9\xdd\x7f\xa1\x1c\x4e\xe6\x8c\x93\xed\xfd\xcb\xd9\x57\xeb\x7d\xab\x05\x58\x6f\x9e\xf5\x75\xdb" + + "\xb1\xf1\xf5\x18\x2d\x2e\x26\xf3\x57\xbf\xfd\xb8\xc8\x3f\x07\x6f\x5c\xa8\x70\x4e\x59\x88\x51\xee\x34\xd8\x5f\xcd" + + "\xb5\x76\x5d\x58\x34\xfe\x58\x26\x7b\x14\xba\xf3\x36\x1e\xed\xc7\x6e\x10\xb2\xf9\x7f\x88\x92\x11\xf3\xac\x1a\x07" + + "\xeb\x9a\x47\xdd\xc5\x53\x67\x1e\x6c\x88\x50\x6d\x46\xef\x5e\xc9\x0b\x87\xdc\x5c\xda\xc7\xf0\x13\x32\xa4\x29\x56" + + "\x97\x77\x1e\x1c\xde\x42\x49\x21\xc3\x02\x39\x42\x85\x1c\x68\x5d\x14\x41\xaa\xf7\xc1\x2d\x48\x49\x95\x92\x0c\x9f" + + "\x4e\xe6\xd5\x3f\xf7\x27\x00\x00\xff\xff\xb1\x3d\xbb\xc8\xec\x03\x00\x00") func bindataDataMigrations1createmsmtresultssqlBytes() ([]byte, error) { return bindataRead(