1 class SeparateRepositoryFromScriptVersion < ActiveRecord::Migration
2 include CurrentApiClient
7 commit_ish = v["script_version"]
8 if commit_ish.andand.index(':')
9 want_repo, commit_ish = commit_ish.split(':',2)
10 v[:repository] = want_repo
11 v[:script_version] = commit_ish
19 PipelineTemplate.all.each do |pt|
22 PipelineInstance.all.each do |pt|
29 raise ActiveRecord::IrreversibleMigration