<commit_before>
path = node[:flyway][:installation_path]
node[:flyway][:confs].each do |key, confs|
  file installation_path + "/conf/#{key}.properties" do
    owner "root"
    group "root"
    mode  "0755"
    action :create
    content <<-EOH
flyway.url=#{confs[:jdbc_url]}
flyway.user=#{confs[:jdbc_username]}
flyway.password=#{confs[:jdbc_password]}
flyway.locations=filesystem:#{sql_dir}
    EOH
  end

  execute "do migrations" do
    command path + "/flyway migrate -configFile=#{path}/conf/#{key}.properties -initOnMigrate=" + node[:flyway][:init_on_migrate]
  end
end<commit_msg>Fix paste typo on migrate.rb<commit_after>
path = node[:flyway][:installation_path]
node[:flyway][:confs].each do |key, confs|
  file path + "/conf/#{key}.properties" do
    owner "root"
    group "root"
    mode  "0755"
    action :create
    content <<-EOH
flyway.url=#{confs[:jdbc_url]}
flyway.user=#{confs[:jdbc_username]}
flyway.password=#{confs[:jdbc_password]}
flyway.locations=filesystem:#{path}/sql
    EOH
  end

  execute "do migrations" do
    command path + "/flyway migrate -configFile=#{path}/conf/#{key}.properties -initOnMigrate=" + node[:flyway][:init_on_migrate]
  end
end
{'fraction_non_alphanumeric': 0.1628498727735369, 'fraction_numerical': 0.006785411365564037, 'mean_word_length': 4.9296482412060305, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4357781', 'n_tokens_mistral': 438, 'n_tokens_neox': 422, 'n_words': 83}