feat(server): store all package info in database
This commit is contained in:
parent
0ff225dddb
commit
2df52320d1
8 changed files with 203 additions and 20 deletions
|
|
@ -9,7 +9,7 @@ pub struct Model {
|
|||
#[sea_orm(primary_key, auto_increment = false)]
|
||||
pub package_id: i32,
|
||||
#[sea_orm(primary_key, auto_increment = false)]
|
||||
pub r#type: i32,
|
||||
pub r#type: crate::db::PackageDepend,
|
||||
#[sea_orm(primary_key, auto_increment = false)]
|
||||
pub value: String,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue