fix 0706 migration (old build table should be named new_build)

This commit is contained in:
Robur 2021-07-07 10:45:14 +00:00
parent 6ec40365ab
commit 96ee7649b7

View file

@ -15,7 +15,7 @@ let idx_build_job_start =
let old_build = let old_build =
Caqti_request.exec Caqti_request.exec
Caqti_type.unit Caqti_type.unit
{| CREATE TABLE build ( {| CREATE TABLE new_build (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
uuid VARCHAR(36) NOT NULL UNIQUE, uuid VARCHAR(36) NOT NULL UNIQUE,
start_d INTEGER NOT NULL, start_d INTEGER NOT NULL,