The language id is crucial for front ends. (#2437)
This commit is contained in:
parent
2f0560ca3f
commit
a93095ed3f
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ use crate::schema::language;
|
||||||
#[cfg_attr(feature = "full", derive(Queryable, Identifiable))]
|
#[cfg_attr(feature = "full", derive(Queryable, Identifiable))]
|
||||||
#[cfg_attr(feature = "full", table_name = "language")]
|
#[cfg_attr(feature = "full", table_name = "language")]
|
||||||
pub struct Language {
|
pub struct Language {
|
||||||
#[serde(skip)]
|
|
||||||
pub id: LanguageId,
|
pub id: LanguageId,
|
||||||
pub code: String,
|
pub code: String,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
|
Loading…
Reference in a new issue