hierarchy: parsear nomenclatura [E05-F04-U02], badges de tipo en dashboard, clean title
This commit is contained in:
@@ -128,6 +128,8 @@ pub struct Epic {
|
||||
pub end_date: Option<String>,
|
||||
pub created_at: Option<String>,
|
||||
pub updated_at: Option<String>,
|
||||
pub item_type: Option<String>,
|
||||
pub hierarchy_path: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
@@ -146,6 +148,9 @@ pub struct UserStory {
|
||||
pub actual_hours: Option<f64>,
|
||||
pub assigned_to: Option<i64>,
|
||||
pub created_at: Option<String>,
|
||||
pub item_type: Option<String>,
|
||||
pub hierarchy_path: Option<String>,
|
||||
pub parent_code: Option<String>,
|
||||
}
|
||||
|
||||
async fn get_conn(db_path: &str) -> Result<libsql::Connection, String> {
|
||||
@@ -278,6 +283,8 @@ async fn get_conn(db_path: &str) -> Result<libsql::Connection, String> {
|
||||
stimated_end_date TEXT,
|
||||
start_date TEXT,
|
||||
end_date TEXT,
|
||||
item_type TEXT DEFAULT 'E',
|
||||
hierarchy_path TEXT,
|
||||
created_at TEXT DEFAULT (datetime('now')),
|
||||
updated_at TEXT DEFAULT (datetime('now')),
|
||||
FOREIGN KEY (initiative_id) REFERENCES projects(id)
|
||||
@@ -297,6 +304,9 @@ async fn get_conn(db_path: &str) -> Result<libsql::Connection, String> {
|
||||
estimated_hours REAL,
|
||||
actual_hours REAL,
|
||||
assigned_to INTEGER,
|
||||
item_type TEXT DEFAULT 'U',
|
||||
hierarchy_path TEXT,
|
||||
parent_code TEXT,
|
||||
created_at TEXT DEFAULT (datetime('now')),
|
||||
FOREIGN KEY (initiative_id) REFERENCES projects(id),
|
||||
FOREIGN KEY (epic_id) REFERENCES epics(id)
|
||||
|
||||
Reference in New Issue
Block a user