diff --git a/internal/repository/migration.go b/internal/repository/migration.go index f7e0593..90bc8f7 100644 --- a/internal/repository/migration.go +++ b/internal/repository/migration.go @@ -16,7 +16,7 @@ import ( "github.com/golang-migrate/migrate/v4/source/iofs" ) -const Version uint = 3 +const Version uint = 4 //go:embed migrations/* var migrationFiles embed.FS diff --git a/internal/repository/migrations/sqlite3/01_init-schema.up.sql b/internal/repository/migrations/sqlite3/01_init-schema.up.sql index 7c5bce0..646fa69 100644 --- a/internal/repository/migrations/sqlite3/01_init-schema.up.sql +++ b/internal/repository/migrations/sqlite3/01_init-schema.up.sql @@ -27,7 +27,7 @@ load_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, 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 ( id INTEGER PRIMARY KEY, diff --git a/internal/repository/testdata/job.db-shm b/internal/repository/testdata/job.db-shm deleted file mode 100644 index fe9ac28..0000000 Binary files a/internal/repository/testdata/job.db-shm and /dev/null differ diff --git a/internal/repository/testdata/job.db-wal b/internal/repository/testdata/job.db-wal deleted file mode 100644 index e69de29..0000000 diff --git a/internal/repository/testdata/test.db b/internal/repository/testdata/test.db deleted file mode 100644 index 1e3c8a7..0000000 Binary files a/internal/repository/testdata/test.db and /dev/null differ