assignment
Generated file. Do not edit by hand. Regenerate from the repo root with
make docs/generate.
This page is generated from the ent schema and the migration head. The running unit is a deployment and the catalog thing is an app.
erDiagram assignment { int id PK int deployment_id UK, FK string service_name UK int ordinal UK int incarnation UK string node_id int64 generation string state string target_node_id string previous_node_id int64 moved_volume int64 cpu_millicores int64 memory_bytes string reason string desired bool drain_stopped string spec_digest string prepared_spec_digest int64 prepare_revision bool draining int64 drain_revision string pulled_spec_digest string pull_failed_spec_digest text pull_error_message int64 pull_revision time retired_at time updated_at } assignment }o--|| deployment : deployment| column | type | null | key |
|---|---|---|---|
| id | int | no | PK |
| deployment_id | int | no | UK, FK |
| service_name | string | no | UK |
| ordinal | int | no | UK |
| incarnation | int | no | UK |
| node_id | string | no | |
| generation | int64 | no | |
| state | string | no | |
| target_node_id | string | yes | |
| previous_node_id | string | yes | |
| moved_volume | int64 | no | |
| cpu_millicores | int64 | no | |
| memory_bytes | int64 | no | |
| reason | string | yes | |
| desired | string | no | |
| drain_stopped | bool | no | |
| spec_digest | string | no | |
| prepared_spec_digest | string | no | |
| prepare_revision | int64 | no | |
| draining | bool | no | |
| drain_revision | int64 | no | |
| pulled_spec_digest | string | no | |
| pull_failed_spec_digest | string | no | |
| pull_error_message | text | no | |
| pull_revision | int64 | no | |
| retired_at | time | yes | |
| updated_at | time | no |
Commands that write this table
Section titled “Commands that write this table”no command writes this table (modules/deploymentspec/store.go, modules/scheduler/apply.go, modules/scheduler/compact_retired.go, modules/scheduler/scheduler.go, modules/scheduler/stack.go, modules/scheduler/stack_follow.go)
shc@docs:~$