diff --git a/internal/repository/migrations/mysql/01_init-schema.up.sql b/internal/repository/migrations/mysql/01_init-schema.up.sql index e22eac8..d3369fc 100644 --- a/internal/repository/migrations/mysql/01_init-schema.up.sql +++ b/internal/repository/migrations/mysql/01_init-schema.up.sql @@ -32,7 +32,8 @@ CREATE TABLE IF NOT EXISTS job ( 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, - UNIQUE (job_id, cluster, start_time); + UNIQUE (job_id, cluster, start_time) + ); CREATE TABLE IF NOT EXISTS tag ( id INTEGER PRIMARY KEY, diff --git a/internal/repository/migrations/sqlite3/01_init-schema.up.sql b/internal/repository/migrations/sqlite3/01_init-schema.up.sql index 6c81df8..eab2d8d 100644 --- a/internal/repository/migrations/sqlite3/01_init-schema.up.sql +++ b/internal/repository/migrations/sqlite3/01_init-schema.up.sql @@ -32,7 +32,8 @@ CREATE TABLE IF NOT EXISTS job ( 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, - UNIQUE (job_id, cluster, start_time); + UNIQUE (job_id, cluster, start_time) + ); CREATE TABLE IF NOT EXISTS tag ( id INTEGER PRIMARY KEY,