mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-06-07 21:45:43 +09:00
update: for 6th campaign
This commit is contained in:
parent
f3b5547fc5
commit
d85fa5a275
1 changed files with 5 additions and 2 deletions
|
@ -25,13 +25,14 @@ end
|
|||
Fill qaqc_campaigns table in `db`.
|
||||
"""
|
||||
function insert_qaqc_campaign_id(db::SQLite.DB)
|
||||
campaigns = [1, 2, 3, 4, 5]
|
||||
campaigns = [1, 2, 3, 4, 5, 6]
|
||||
dates = [
|
||||
(DateTime(2024, 7, 22), DateTime(2024, 7, 24)),
|
||||
(DateTime(2024, 8, 6), DateTime(2024, 8, 9)),
|
||||
(DateTime(2024, 9, 10), DateTime(2024, 9, 12)),
|
||||
(DateTime(2024, 9, 30), DateTime(2024, 10, 4)),
|
||||
(DateTime(2024, 11, 11), DateTime(2024, 11, 14)),
|
||||
(DateTime(2024, 12, 9), DateTime(2024, 12, 12)),
|
||||
]
|
||||
stmt_insert_campaigns = DBInterface.prepare(
|
||||
db,
|
||||
|
@ -212,8 +213,10 @@ function get_campaign_id_from_run_id(runid::Integer)
|
|||
3
|
||||
elseif runid < 293
|
||||
4
|
||||
elseif runid < Inf # TODO: update this at the end of 5th campaign
|
||||
elseif runid < 354
|
||||
5
|
||||
elseif runid < Inf # TODO: update this at the end of 6th campaign
|
||||
6
|
||||
else
|
||||
@error "Fix this function"
|
||||
DomainError("runid $(runid) is not registered to the software")
|
||||
|
|
Loading…
Add table
Reference in a new issue