Schema: project
Part of the generated database reference.
project_assignments
- Domain:
project Β· Feature gate: #[cfg(feature = "project")] Β· Migration: 6.5.15.1-consolidated
- Rust source:
botschema/src/project.rs
| Column |
SQL type |
Null |
Default |
Key |
References |
| id |
UUID |
no |
gen_random_uuid() |
PK |
β |
| task_id |
UUID |
no |
β |
FK |
project_tasks.id |
| resource_id |
UUID |
no |
β |
FK |
project_resources.id |
| units |
VARCHAR(255) |
no |
β |
β |
β |
| work_hours |
VARCHAR(255) |
no |
β |
β |
β |
| start_date |
VARCHAR(255) |
no |
β |
β |
β |
| end_date |
VARCHAR(255) |
no |
β |
β |
β |
| cost |
DOUBLE PRECISION |
no |
β |
β |
β |
project_dependencies
- Domain:
project Β· Feature gate: #[cfg(feature = "project")] Β· Migration: 6.5.15.1-consolidated
- Rust source:
botschema/src/project.rs
| Column |
SQL type |
Null |
Default |
Key |
References |
| id |
UUID |
no |
gen_random_uuid() |
PK |
β |
| task_id |
UUID |
no |
β |
FK |
project_tasks.id |
| predecessor_id |
UUID |
no |
β |
β |
β |
| dependency_type |
TEXT |
no |
β |
β |
β |
| lag_days |
INTEGER |
no |
β |
β |
β |
project_resources
- Domain:
project Β· Feature gate: #[cfg(feature = "project")] Β· Migration: 6.5.15.1-consolidated
- Rust source:
botschema/src/project.rs
| Column |
SQL type |
Null |
Default |
Key |
References |
| id |
UUID |
no |
gen_random_uuid() |
PK |
β |
| project_id |
UUID |
no |
β |
FK |
projects.id |
| user_id |
UUID |
yes |
β |
β |
β |
| name |
TEXT |
no |
β |
β |
β |
| resource_type |
TEXT |
no |
β |
β |
β |
| email |
TEXT |
yes |
β |
β |
β |
| max_units |
VARCHAR(255) |
no |
β |
β |
β |
| standard_rate |
DOUBLE PRECISION |
yes |
β |
β |
β |
| overtime_rate |
DOUBLE PRECISION |
yes |
β |
β |
β |
| cost_per_use |
DOUBLE PRECISION |
yes |
β |
β |
β |
| calendar_id |
UUID |
yes |
β |
β |
β |
| created_at |
TIMESTAMPTZ |
no |
NOW() |
β |
β |
project_tasks
- Domain:
project Β· Feature gate: #[cfg(feature = "project")] Β· Migration: 6.5.15.1-consolidated
- Rust source:
botschema/src/project.rs
| Column |
SQL type |
Null |
Default |
Key |
References |
| id |
UUID |
no |
gen_random_uuid() |
PK |
β |
| project_id |
UUID |
no |
β |
FK |
projects.id |
| parent_id |
UUID |
yes |
β |
β |
β |
| name |
TEXT |
no |
β |
β |
β |
| description |
TEXT |
yes |
β |
β |
β |
| task_type |
TEXT |
no |
β |
β |
β |
| start_date |
VARCHAR(255) |
no |
β |
β |
β |
| end_date |
VARCHAR(255) |
no |
β |
β |
β |
| duration_days |
INTEGER |
no |
β |
β |
β |
| percent_complete |
INTEGER |
no |
β |
β |
β |
| status |
TEXT |
no |
β |
β |
β |
| priority |
TEXT |
no |
β |
β |
β |
| assigned_to |
VARCHAR(255) |
no |
β |
β |
β |
| estimated_hours |
VARCHAR(255) |
yes |
β |
β |
β |
| actual_hours |
VARCHAR(255) |
yes |
β |
β |
β |
| cost |
DOUBLE PRECISION |
yes |
β |
β |
β |
| notes |
TEXT |
yes |
β |
β |
β |
| wbs |
TEXT |
no |
β |
β |
β |
| outline_level |
INTEGER |
no |
β |
β |
β |
| is_milestone |
BOOLEAN |
no |
β |
β |
β |
| is_summary |
BOOLEAN |
no |
β |
β |
β |
| is_critical |
BOOLEAN |
no |
β |
β |
β |
| created_at |
TIMESTAMPTZ |
no |
NOW() |
β |
β |
| updated_at |
TIMESTAMPTZ |
no |
NOW() |
β |
β |
projects
- Domain:
project Β· Feature gate: #[cfg(feature = "project")] Β· Migration: 6.5.15.1-consolidated
- Rust source:
botschema/src/project.rs
| Column |
SQL type |
Null |
Default |
Key |
References |
| id |
UUID |
no |
gen_random_uuid() |
PK |
β |
| name |
TEXT |
no |
β |
β |
β |
| description |
TEXT |
yes |
β |
β |
β |
| status |
TEXT |
no |
'pending' |
β |
β |
| created_at |
TIMESTAMPTZ |
no |
NOW() |
β |
β |
| updated_at |
TIMESTAMPTZ |
no |
NOW() |
β |
β |
| org |
VARCHAR(255) |
no |
β |
β |
β |
| project_type |
VARCHAR(50) |
no |
β |
β |
β |
| deploy_target |
VARCHAR(50) |
no |
'none' |
β |
β |
| repo_url |
TEXT |
yes |
β |
β |
β |
| deploy_url |
TEXT |
yes |
β |
β |
β |
| container_name |
VARCHAR(255) |
yes |
β |
β |
β |
| custom_domain |
VARCHAR(255) |
yes |
β |
β |
β |
| environment |
VARCHAR(50) |
no |
'development' |
β |
β |
| framework |
VARCHAR(100) |
yes |
β |
β |
β |
Drift: in migrations only: end_date, organization_id, owner_id, settings, start_date