mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-24 12:29:05 +01:00
Fix errors
This commit is contained in:
parent
5ca4bdbd91
commit
e444b83149
@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/golang-migrate/migrate/v4/source/iofs"
|
"github.com/golang-migrate/migrate/v4/source/iofs"
|
||||||
)
|
)
|
||||||
|
|
||||||
const Version uint = 3
|
const Version uint = 4
|
||||||
|
|
||||||
//go:embed migrations/*
|
//go:embed migrations/*
|
||||||
var migrationFiles embed.FS
|
var migrationFiles embed.FS
|
||||||
|
@ -27,7 +27,7 @@ load_avg REAL NOT NULL DEFAULT 0.0,
|
|||||||
net_bw_avg REAL NOT NULL DEFAULT 0.0,
|
net_bw_avg REAL NOT NULL DEFAULT 0.0,
|
||||||
net_data_vol_total REAL NOT NULL DEFAULT 0.0,
|
net_data_vol_total REAL NOT NULL DEFAULT 0.0,
|
||||||
file_bw_avg REAL NOT NULL DEFAULT 0.0,
|
file_bw_avg REAL NOT NULL DEFAULT 0.0,
|
||||||
file_data_vol_total REAL NOT NULL DEFAULT 0.0;
|
file_data_vol_total REAL NOT NULL DEFAULT 0.0);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS tag (
|
CREATE TABLE IF NOT EXISTS tag (
|
||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
|
BIN
internal/repository/testdata/job.db-shm
vendored
BIN
internal/repository/testdata/job.db-shm
vendored
Binary file not shown.
0
internal/repository/testdata/job.db-wal
vendored
0
internal/repository/testdata/job.db-wal
vendored
BIN
internal/repository/testdata/test.db
vendored
BIN
internal/repository/testdata/test.db
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user