Datacenter build and management service
https://github.com/joyent/conch-api/blob/master/lib/Conch/DB/Helper/ResultSet/Deactivatable.pm
A component for Conch::DB::ResultSet classes for database tables with a deactivated
column, to provide common query functionality.
__PACKAGE__->load_components('+Conch::DB::Helper::ResultSet::Deactivatable');
Chainable resultset to limit results to those that aren’t deactivated.
Update all matching rows by setting deactivated = now().
Copyright Joyent, Inc.
This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.