From dbcdb28739ca262d98a245f3c23a84a8b646bb72 Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Wed, 12 Oct 2022 10:15:37 +0200 Subject: [PATCH] RUST-DB: Use 2 characters codes even for added languages in the iso_639_1 table --- .../liblektor-rs/migrations/2022-09-30-204512_initial/up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust/liblektor-rs/migrations/2022-09-30-204512_initial/up.sql b/src/rust/liblektor-rs/migrations/2022-09-30-204512_initial/up.sql index 42c7d466..6abf0cac 100644 --- a/src/rust/liblektor-rs/migrations/2022-09-30-204512_initial/up.sql +++ b/src/rust/liblektor-rs/migrations/2022-09-30-204512_initial/up.sql @@ -97,5 +97,5 @@ INSERT OR REPLACE INTO iso_639_1 (is_macro, is_iso, code, name_en) VALUES ( false, true, "zu", "Zulu" ), -- The things we added because they were not defined in the ISO 639-1 and -- because we need them to distinguish some karas. - ( true, false, "fiction", "Fictional" ), - ( true, false, "autre", "Joker" ); + ( true, false, "fx", "Fictional" ), + ( true, false, "ot", "Joker" ); -- GitLab