Replace the upgradefluxfile builtin with a seperate upgrade-flux-file tool.

This allows us to remove all the SQL stuff from the main program, and restores
the ability to upgrade from version 2 SQL files.
This commit is contained in:
David Given
2022-02-04 21:27:24 +01:00
parent 091ef6d972
commit 89688394f8
23 changed files with 334 additions and 479 deletions

View File

@@ -11,9 +11,6 @@ std::unique_ptr<FluxSink> FluxSink::create(const FluxSinkProto& config)
{
switch (config.dest_case())
{
case FluxSinkProto::kFluxfile:
return createSqliteFluxSink(config.fluxfile());
case FluxSinkProto::kDrive:
return createHardwareFluxSink(config.drive());