mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-07-02 09:39:24 +09:00
fix(versions): add version info in database
This commit is contained in:
parent
31f134482d
commit
c7247a3663
3 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,7 @@ function create_database_from_exported_csvs(
|
|||
extra_100test_result_df = CSV.read(hundred_csv, DataFrame)
|
||||
jathubs_table = CSV.read(jathubs_csv, DataFrame)
|
||||
|
||||
insert_version_info(db)
|
||||
insert_qaqc_campaign_id(db)
|
||||
insert_qaqc_positions(db, jathubs_table)
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ function insert_version_info(db::SQLite.DB)
|
|||
INSERT INTO versions VALUES (:converter)
|
||||
""",
|
||||
)
|
||||
@info "converter version info" pkgversion(@__MODULE__) |> string
|
||||
DBInterface.execute(stmt, (; converter = pkgversion(@__MODULE__) |> string))
|
||||
|
||||
nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue