mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
a354e5fa6b
Summary: Ref T7352. We were previously identifying things by `<daemonClass, overseerPID, startTime>` but that's not unique in a world where one overseer can run multiple daemons. We already have an internal "daemonID", it just doesn't get written into the DB right now. Start writing it, then use it to clean up `phd status`. Test Plan: Ran `phd status`, got more accurate/useful output than previously. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7352 Differential Revision: https://secure.phabricator.com/D11865
2 lines
87 B
SQL
2 lines
87 B
SQL
ALTER TABLE {$NAMESPACE}_daemon.daemon_log
|
|
ADD UNIQUE KEY `key_daemonID` (daemonID);
|