feat: simplify database scheme
This commit is contained in:
parent
fcb3a18416
commit
9963cff724
15 changed files with 96 additions and 370 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 value: String,
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue