Merge branch '18339-sweep-trash-lock'
[arvados.git] / services / api / lib / can_be_an_owner.rb
index a970383b8714653e9621def26a404cc7e10bf48b..6f30f5ae33801afabd6c6a5e3fa6805c05e628fa 100644 (file)
@@ -17,6 +17,8 @@ module CanBeAnOwner
       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,