DEV: Store details log entries in converter as JSON (#29778)

Plus small DB related fixes
This commit is contained in:
Gerhard Schlager
2024-11-19 23:54:00 +01:00
committed by GitHub
parent 75f4a14568
commit a48af2f120
8 changed files with 42 additions and 21 deletions

View File

@ -21,12 +21,14 @@ module Migrations::Database
migrate_from_path(@migrations_path, performed_migrations)
@db.close
nil
end
def reset!
[@db_path, "#{@db_path}-wal", "#{@db_path}-shm"].each do |path|
FileUtils.remove_file(path, force: true) if File.exist?(path)
end
nil
end
private