X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f12350f25275fbf4c6c8692122f5eacce89794ee..df9e166a5ffc4aa79658bec1a5d552a3b413f0d8:/services/api/db/migrate/20140817035914_add_unique_name_constraints.rb diff --git a/services/api/db/migrate/20140817035914_add_unique_name_constraints.rb b/services/api/db/migrate/20140817035914_add_unique_name_constraints.rb index 3b7eecc287..3c57e6fda7 100644 --- a/services/api/db/migrate/20140817035914_add_unique_name_constraints.rb +++ b/services/api/db/migrate/20140817035914_add_unique_name_constraints.rb @@ -1,7 +1,7 @@ class AddUniqueNameConstraints < ActiveRecord::Migration def change # Ensure uniqueness before adding constraints. - ["collections", "pipeline_templates", "pipeline_instances", "jobs", "groups"].each do |table| + ["collections", "pipeline_templates", "groups"].each do |table| rows = ActiveRecord::Base.connection.select_all %{ select uuid, owner_uuid, name from #{table} order by owner_uuid, name }