feat(server): store all package info in database

This commit is contained in:
Jef Roosens 2023-08-04 18:40:17 +02:00
parent 0ff225dddb
commit 2df52320d1
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
8 changed files with 203 additions and 20 deletions

View file

@ -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,
}