-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop'
- Loading branch information
Showing
2 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 21 additions & 16 deletions
37
...re/database/src/commonMain/sql/com/oztechan/ccc/common/core/database/sql/migrations/6.sqm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
DELETE FROM Currency WHERE name='BTC'; | ||
DELETE FROM Currency WHERE name='CLF'; | ||
DELETE FROM Currency WHERE name='CNH'; | ||
DELETE FROM Currency WHERE name='CUC'; | ||
DELETE FROM Currency WHERE name='KPW'; | ||
DELETE FROM Currency WHERE name='MRO'; | ||
DELETE FROM Currency WHERE name='STD'; | ||
DELETE FROM Currency WHERE name='SVC'; | ||
DELETE FROM Currency WHERE name='XAG'; | ||
DELETE FROM Currency WHERE name='XAU'; | ||
DELETE FROM Currency WHERE name='XPD'; | ||
DELETE FROM Currency WHERE name='XPT'; | ||
DELETE FROM Currency WHERE code='BTC'; | ||
DELETE FROM Currency WHERE code='CLF'; | ||
DELETE FROM Currency WHERE code='CNH'; | ||
DELETE FROM Currency WHERE code='CUC'; | ||
DELETE FROM Currency WHERE code='KPW'; | ||
DELETE FROM Currency WHERE code='MRO'; | ||
DELETE FROM Currency WHERE code='STD'; | ||
DELETE FROM Currency WHERE code='SVC'; | ||
DELETE FROM Currency WHERE code='XAG'; | ||
DELETE FROM Currency WHERE code='XAU'; | ||
DELETE FROM Currency WHERE code='XPD'; | ||
DELETE FROM Currency WHERE code='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); | ||
ALTER TABLE Conversion ADD COLUMN FOK REAL DEFAULT NULL; | ||
ALTER TABLE Conversion ADD COLUMN KID REAL DEFAULT NULL; | ||
ALTER TABLE Conversion ADD COLUMN SLE REAL DEFAULT NULL; | ||
ALTER TABLE Conversion ADD COLUMN TVD REAL DEFAULT NULL; | ||
|
||
INSERT INTO Currency (code, name, symbol, rate, isActive) VALUES ('FOK', 'Faroese Króna','kr', 0.0, 0); | ||
INSERT INTO Currency (code, name, symbol, rate, isActive) VALUES ('KID', 'Kiribati Dollar','$', 0.0, 0); | ||
INSERT INTO Currency (code, name, 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); | ||
INSERT INTO Currency (code, name, symbol, rate, isActive) VALUES ('TVD', 'Tuvaluan dollar','$', 0.0, 0); |