Skip to content

Commit

Permalink
Fix: make shortname optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Paradyx committed Mar 20, 2022
1 parent 6d6ab0b commit 64ffa68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub struct RpgSystem {
#[table_name = "rpg_systems"]
pub struct NewRpgSystem {
pub name: String,
pub shortname: String,
pub shortname: Option<String>,
}

#[derive(
Expand Down

0 comments on commit 64ffa68

Please sign in to comment.