DEV: Add Upload to IntermediateDB (#29780)

This commit is contained in:
Gerhard Schlager
2025-01-20 23:16:30 +01:00
committed by GitHub
parent ba5cd20ef2
commit 2d05a82f52
7 changed files with 132 additions and 3 deletions

View File

@ -0,0 +1,15 @@
# frozen_string_literal: true
require "digest/xxhash"
module Migrations
module ID
def self.hash(value)
Digest::XXH3_128bits.base64digest(value)
end
def self.build(part1, part2, *others)
[part1, part2, *others].join("-")
end
end
end