Internet as a dependency: a node that can be needed, never judged down
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fca2dc0338
commit
7e625e7f42
11 files changed
+173
-22
No files matched your search
+1
-1
@@ -737,7 +737,7 @@ The hardware inventory.
|
||||
|---|---|---|
|
||||
| `id` | integer PK | |
|
||||
| `from_type`, `from_id` | text, integer NOT NULL | The thing that needs: `server`, `integration` or `device`, and its id. |
|
||||
| `to_type`, `to_id` | text, integer NOT NULL | The thing it needs. Unique together with the pair above. |
|
||||
| `to_type`, `to_id` | text, integer NOT NULL | The thing it needs: the same kinds, or `internet` (id 1). The internet is not a row anywhere — it is added to the graph in code, always, is never down, and is never the thing that needs. Unique together with the pair above. |
|
||||
| `created_at` | text NOT NULL | ISO. |
|
||||
|
||||
No foreign keys (like `maintenance_windows`): a row whose server or integration is gone is ignored, not an error.
|
||||
|
||||
Reference in new issue
Block a user