Deciding whether a resource is in the maintenance window requires non-trivial calculation. We will need it in multiple places, so we add a helper method to the PostgresResource model.
Deciding whether a resource is in the maintenance window requires non-trivial calculation. We will need it in multiple places, so we add a helper method to the PostgresResource model.