Skip to content
Snippets Groups Projects
Commit c7247a36 authored by Wataru Otsubo's avatar Wataru Otsubo
Browse files

fix(versions): add version info in database

parent 31f13448
No related branches found
No related tags found
1 merge request!1409fix(versions): add version info in database
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment