The language id is crucial for front ends. (#2437)

This commit is contained in:
Dessalines 2022-09-13 17:02:37 -04:00 committed by GitHub
parent 2f0560ca3f
commit a93095ed3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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