Migration script

This commit is contained in:
hahwul 2022-08-15 22:15:42 +09:00
parent 15a100ad4b
commit 5bcca1f929

12
1.rb Normal file
View File

@ -0,0 +1,12 @@
require 'json'
file = File.read('./data.json')
data_hash = JSON.parse(file)
data_hash.each do | name, obj |
puts "filename: "+name+".yaml"
puts obj['Description']
# Make object
# Save file
end