feat: simplify database scheme
Some checks failed
ci/woodpecker/push/clippy Pipeline is pending
ci/woodpecker/push/lint Pipeline is pending
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/docker unknown status

This commit is contained in:
Jef Roosens 2024-05-18 14:20:05 +02:00
parent fcb3a18416
commit 9963cff724
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
15 changed files with 96 additions and 370 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 value: String,
pub name: String,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]