Schema: desktop
Part of the generated database reference.
desktop_connection_log
- Domain:
desktop Β· Feature gate: always available Β· Migration: 6.5.15.1-consolidated
- Rust source:
botschema/src/desktop.rs
| Column |
SQL type |
Null |
Default |
Key |
References |
| id |
UUID |
no |
gen_random_uuid() |
PK |
β |
| connection_id |
UUID |
yes |
β |
FK |
desktop_connections.id |
| user_id |
UUID |
no |
β |
β |
β |
| session_id |
UUID |
no |
β |
β |
β |
| host |
VARCHAR(255) |
no |
β |
β |
β |
| port |
INTEGER |
no |
β |
β |
β |
| protocol |
VARCHAR(255) |
no |
β |
β |
β |
| connected_at |
TIMESTAMPTZ |
no |
β |
β |
β |
| disconnected_at |
TIMESTAMPTZ |
yes |
β |
β |
β |
| bytes_transferred |
BIGINT |
yes |
0 |
β |
β |
| disconnect_reason |
VARCHAR(255) |
yes |
β |
β |
β |
desktop_connections
- Domain:
desktop Β· Feature gate: always available Β· Migration: 6.5.74-desktop-rdp
- Rust source:
botschema/src/desktop.rs
| Column |
SQL type |
Null |
Default |
Key |
References |
| id |
UUID |
no |
gen_random_uuid() |
PK |
β |
| user_id |
UUID |
no |
β |
β |
β |
| organization_id |
UUID |
yes |
β |
β |
β |
| name |
VARCHAR(255) |
no |
'Desktop' |
β |
β |
| host |
VARCHAR(255) |
no |
'' |
β |
β |
| port |
INTEGER |
no |
5900 |
β |
β |
| protocol |
VARCHAR(10) |
no |
'vnc' |
β |
β |
| auth_type |
VARCHAR(20) |
yes |
β |
β |
β |
| auto_connect |
BOOLEAN |
no |
false |
β |
β |
| created_at |
TIMESTAMPTZ |
no |
NOW() |
β |
β |
| updated_at |
TIMESTAMPTZ |
no |
NOW() |
β |
β |
| last_used_at |
TIMESTAMPTZ |
yes |
β |
β |
β |
| secrets_vault_path |
VARCHAR(500) |
yes |
β |
β |
β |
| rdp_domain |
VARCHAR(255) |
yes |
β |
β |
β |