1
0

Add script to generate basic test data

This commit is contained in:
Tim Kächele 2023-09-02 08:38:32 +02:00
parent 19458df2dd
commit de8b641cb3

11
bin/generate_data.rb Normal file
View File

@ -0,0 +1,11 @@
require 'date'
providers = ["MR", "LP"]
sizes = ["S", "M", "L"]
date = Date.today
10_000_000.times do |i|
puts "#{(date + i).strftime("%Y-%m-%d")} #{sizes.sample} #{providers.sample}"
end