mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
5d64fb1815
Summary: Ref T13641. Add a "status" property with most of the relevant support code. This currently has no impact on use of the device or bindings by Diffusion or Drydock: they ignore the status of devices bound to services. Test Plan: - Created a new device. - Changed the status of a device via web and API. - Queried for devices via API. - Searched for active and disabled devices. - Viewed UI in list view, detail view. - Used typeahead to add a new binding to an interface on a disabled device, got disabled hint in typeahead UI. Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Maniphest Tasks: T13641 Differential Revision: https://secure.phabricator.com/D21627
2 lines
107 B
SQL
2 lines
107 B
SQL
ALTER TABLE {$NAMESPACE}_almanac.almanac_device
|
|
ADD status VARCHAR(32) NOT NULL COLLATE {$COLLATE_TEXT};
|