@@ -41,6 +45,119 @@ class ContainerRepository < ApplicationRecord
...
@@ -41,6 +45,119 @@ class ContainerRepository < ApplicationRecord
scope:expiration_policy_started_at_nil_or_before,->(timestamp){where('expiration_policy_started_at < ? OR expiration_policy_started_at IS NULL',timestamp)}
scope:expiration_policy_started_at_nil_or_before,->(timestamp){where('expiration_policy_started_at < ? OR expiration_policy_started_at IS NULL',timestamp)}