Skip to content
Clone

feat(db): add project_health entity

zhenyi committed
parent 2f10481 commit 7edcc57 Browse files

1 file changed

+12 −0

Added lib/db/project/project_health.rs View lib/db/project/project_health.rs
@@ -0,0 +1,12 @@
1use sea_orm::entity::prelude::*;
2use serde::{Deserialize, Serialize};
3
4#[derive(
5 Debug, Clone, Copy, PartialEq, Eq, EnumIter, DeriveActiveEnum, Serialize, Deserialize,
6)]
7#[sea_orm(rs_type = "i32", db_type = "SmallInteger")]
8pub enum ProjectHealth {
9 OnTrack = 0,
10 AtRisk = 1,
11 OffTrack = 2,
12}