Add review column
This commit is contained in:
2
backend/migrations/003_add_inreview_status.sql
Normal file
2
backend/migrations/003_add_inreview_status.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Add 'inreview' to task_status enum
|
||||
ALTER TYPE task_status ADD VALUE 'inreview';
|
||||
@@ -6,10 +6,12 @@ use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Clone, Type, Serialize, Deserialize, PartialEq, TS)]
|
||||
#[sqlx(type_name = "task_status", rename_all = "lowercase")]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
#[ts(export)]
|
||||
pub enum TaskStatus {
|
||||
Todo,
|
||||
InProgress,
|
||||
InReview,
|
||||
Done,
|
||||
Cancelled,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user