blob: 12b48895e0cdf42d6b6ea256892e7eae8b1c47d0 (
plain)
1
2
3
4
5
6
7
|
# frozen_string_literal: true
module Postgresql
class DetachedPartition < ::Gitlab::Database::SharedModel
scope :ready_to_drop, -> { where('drop_after < ?', Time.current) }
end
end
|