mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-06-08 05:55:42 +09:00
Merge branch 'fix-versions-table' into 'main'
fix(versions): add version info in database See merge request wotsubo/PSBoardDataBase!1409
This commit is contained in:
commit
80c58b6af8
3 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Changed
|
||||
- Exported notebooks are now deployed under notebooks url
|
||||
|
||||
### Fixed
|
||||
|
||||
- Converter version is filled during `create_database_from_exported_csvs`
|
||||
|
||||
## [0.2.0] - 2024-10-23
|
||||
|
||||
- Julia v1.11 was released and v1.10 is new LTS
|
||||
|
|
|
@ -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
Reference in a new issue