From fc329578ae004bc71087f751acbd8e46cfc00033 Mon Sep 17 00:00:00 2001 From: Mustafa Ozhan Date: Tue, 10 Oct 2023 14:57:44 +0200 Subject: [PATCH] [Oztechan/CCC#2841] Rename old Sierra Leone currency (#2842) * [Oztechan/CCC#2837] Rearrange popular currencies * [Oztechan/CCC#2839] Update currency update frequencies * [Oztechan/CCC#2841] Rename old Sierra Leone currency * [Oztechan/CCC#2841] Rename old Sierra Leone currency --- .../sql/com/oztechan/ccc/common/core/database/sql/Currency.sq | 2 +- .../com/oztechan/ccc/common/core/database/sql/migrations/6.sqm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/Currency.sq b/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/Currency.sq index 03d18fd57a..772de8f361 100644 --- a/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/Currency.sq +++ b/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/Currency.sq @@ -133,7 +133,7 @@ INSERT INTO Currency VALUES ('SEK', 'Swedish krona', 'kr', 0.0, 0); INSERT INTO Currency VALUES ('SGD', 'Singapore dollar', '$', 0.0, 0); INSERT INTO Currency VALUES ('SHP', 'Saint Helena pound', '£', 0.0, 0); INSERT INTO Currency VALUES ('SLE', 'Sierra Leonean Leone','Le', 0.0, 0); -INSERT INTO Currency VALUES ('SLL', 'Sierra Leonean leone', 'Le', 0.0, 0); +INSERT INTO Currency VALUES ('SLL', 'Sierra Leonean Leone (2022)', 'Le', 0.0, 0); INSERT INTO Currency VALUES ('SOS', 'Somali shilling', 'Sh.So', 0.0, 0); INSERT INTO Currency VALUES ('SRD', 'Surinamese dollar', '$', 0.0, 0); INSERT INTO Currency VALUES ('SSP', 'South Sudanese pound', '£', 0.0, 0); diff --git a/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/migrations/6.sqm b/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/migrations/6.sqm index c0d598c6cd..8029ea044a 100644 --- a/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/migrations/6.sqm +++ b/common/core/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/migrations/6.sqm @@ -14,4 +14,5 @@ DELETE FROM Currency WHERE name='XPT'; INSERT INTO Currency (name, longName, symbol, rate, isActive) VALUES ('FOK', 'Faroese Króna','kr', 0.0, 0); INSERT INTO Currency (name, longName, symbol, rate, isActive) VALUES ('KID', 'Kiribati Dollar','$', 0.0, 0); INSERT INTO Currency (name, longName, symbol, rate, isActive) VALUES ('SLE', 'Sierra Leonean Leone','Le', 0.0, 0); +UPDATE Currency SET name = 'Sierra Leonean Leone (2022)' WHERE code = 'SLL'; INSERT INTO Currency (name, longName, symbol, rate, isActive) VALUES ('TVD', 'Tuvaluan dollar','$', 0.0, 0); \ No newline at end of file