Merge branch '18339-sweep-trash-lock'
[arvados.git] / services / api / lib / can_be_an_owner.rb
index 1a990e14ea09fa67d6682c9f5baf7b776a0a5c11..6f30f5ae33801afabd6c6a5e3fa6805c05e628fa 100644 (file)
@@ -16,6 +16,9 @@ module CanBeAnOwner
       next if t == base.table_name
       next if t == 'schema_migrations'
       next if t == 'permission_refresh_lock'
+      next if t == 'ar_internal_metadata'
+      next if t == 'commit_ancestors'
+      next if t == 'commits'
       klass = t.classify.constantize
       next unless klass and 'owner_uuid'.in?(klass.columns.collect(&:name))
       base.has_many(t.to_sym,