firedbg_stream_indexer/entity/
debugger_info.rs

1use sea_orm::entity::prelude::*;
2use serde::{Deserialize, Serialize};
3
4#[derive(Debug, Clone, PartialEq, Eq, DeriveEntityModel, Serialize, Deserialize)]
5#[sea_orm(table_name = "debugger_info")]
6pub struct Model {
7    #[sea_orm(primary_key)]
8    pub id: u32,
9    pub debugger: String,
10    pub version: String,
11    pub workspace_root: String,
12    pub package_name: String,
13    pub target: String,
14    /// Json
15    pub arguments: String,
16    pub exit_code: Option<i32>,
17}
18
19#[derive(Debug, Copy, Clone, EnumIter, DeriveRelation)]
20pub enum Relation {}
21
22impl ActiveModelBehavior for ActiveModel {}