From 6e2f6e09daed0a85dbe39f7ca754d70e0c1655e9 Mon Sep 17 00:00:00 2001 From: Yabir Benchakhtir Date: Thu, 24 Oct 2024 17:40:32 +0200 Subject: [PATCH] Fix mistake, wrong table --- updates/30/updates.sql | 50 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/updates/30/updates.sql b/updates/30/updates.sql index 4bc3284..66fe0ac 100644 --- a/updates/30/updates.sql +++ b/updates/30/updates.sql @@ -14,53 +14,53 @@ INSERT INTO assets(identifier, name, type) VALUES("eip155:1/erc20:0x73E0C0d45E04 * INSERT INTO assets(identifier, name, type) VALUES("eip155:10/erc20:0x73E0C0d45E048D25Fc26Fa3159b0aA04BfA4Db98", "Kraken Wrapped Bitcoin", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:10/erc20:0x73E0C0d45E048D25Fc26Fa3159b0aA04BfA4Db98", "A", 10, "0x73E0C0d45E048D25Fc26Fa3159b0aA04BfA4Db98", 8, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:10/erc20:0x73E0C0d45E048D25Fc26Fa3159b0aA04BfA4Db98", "kBTC", "kraken-wrapped-btc", "", NULL, 1727371173, NULL); * -UPDATE assets SET cryptocompare="EUR" WHERE identifier="EUR"; +UPDATE common_asset_details SET cryptocompare="EUR" WHERE identifier="EUR"; INSERT INTO assets(identifier, name, type) VALUES("EUR", "Euro", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("EUR", "EUR", NULL, "EUR", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="USD" WHERE identifier="USD"; +UPDATE common_asset_details SET cryptocompare="USD" WHERE identifier="USD"; INSERT INTO assets(identifier, name, type) VALUES("USD", "United States Dollar", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("USD", "USD", NULL, "USD", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="AUD" WHERE identifier="AUD"; +UPDATE common_asset_details SET cryptocompare="AUD" WHERE identifier="AUD"; INSERT INTO assets(identifier, name, type) VALUES("AUD", "Australian Dollar", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("AUD", "AUD", NULL, "AUD", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="NZD" WHERE identifier="NZD"; +UPDATE common_asset_details SET cryptocompare="NZD" WHERE identifier="NZD"; INSERT INTO assets(identifier, name, type) VALUES("NZD", "New Zealand Dollar", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("NZD", "NZD", NULL, "NZD", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="BRL" WHERE identifier="BRL"; +UPDATE common_asset_details SET cryptocompare="BRL" WHERE identifier="BRL"; INSERT INTO assets(identifier, name, type) VALUES("BRL", "Brazilian Real", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("BRL", "BRL", NULL, "BRL", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="CAD" WHERE identifier="CAD"; +UPDATE common_asset_details SET cryptocompare="CAD" WHERE identifier="CAD"; INSERT INTO assets(identifier, name, type) VALUES("CAD", "Canadian Dollar", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("CAD", "CAD", NULL, "CAD", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="CHF" WHERE identifier="CHF"; +UPDATE common_asset_details SET cryptocompare="CHF" WHERE identifier="CHF"; INSERT INTO assets(identifier, name, type) VALUES("CHF", "Swiss Franc", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("CHF", "CHF", NULL, "CHF", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="CNY" WHERE identifier="CNY"; +UPDATE common_asset_details SET cryptocompare="CNY" WHERE identifier="CNY"; INSERT INTO assets(identifier, name, type) VALUES("CNY", "Chinese Yuan", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("CNY", "CNY", NULL, "CNY", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="JPY" WHERE identifier="JPY"; +UPDATE common_asset_details SET cryptocompare="JPY" WHERE identifier="JPY"; INSERT INTO assets(identifier, name, type) VALUES("JPY", "Japanese Yen", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("JPY", "JPY", NULL, "JPY", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="KRW" WHERE identifier="KRW"; +UPDATE common_asset_details SET cryptocompare="KRW" WHERE identifier="KRW"; INSERT INTO assets(identifier, name, type) VALUES("KRW", "Korean won", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("KRW", "KRW", NULL, "KRW", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="NOK" WHERE identifier="NOK"; +UPDATE common_asset_details SET cryptocompare="NOK" WHERE identifier="NOK"; INSERT INTO assets(identifier, name, type) VALUES("NOK", "Norwegian krone", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("NOK", "NOK", NULL, "NOK", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="RUB" WHERE identifier="RUB"; +UPDATE common_asset_details SET cryptocompare="RUB" WHERE identifier="RUB"; INSERT INTO assets(identifier, name, type) VALUES("RUB", "Russian Ruble", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("RUB", "RUB", NULL, "RUB", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="TRY" WHERE identifier="TRY"; +UPDATE common_asset_details SET cryptocompare="TRY" WHERE identifier="TRY"; INSERT INTO assets(identifier, name, type) VALUES("TRY", "Turkish Lyra", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("TRY", "TRY", NULL, "TRY", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="ZAR" WHERE identifier="ZAR"; +UPDATE common_asset_details SET cryptocompare="ZAR" WHERE identifier="ZAR"; INSERT INTO assets(identifier, name, type) VALUES("ZAR", "South African Rand", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("ZAR", "ZAR", NULL, "ZAR", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="TWD" WHERE identifier="TWD"; +UPDATE common_asset_details SET cryptocompare="TWD" WHERE identifier="TWD"; INSERT INTO assets(identifier, name, type) VALUES("TWD", "New Taiwan Dollar", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("TWD", "TWD", NULL, "TWD", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="SGD" WHERE identifier="SGD"; +UPDATE common_asset_details SET cryptocompare="SGD" WHERE identifier="SGD"; INSERT INTO assets(identifier, name, type) VALUES("SGD", "Singapore Dollar", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("SGD", "SGD", NULL, "SGD", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="SEK" WHERE identifier="SEK"; +UPDATE common_asset_details SET cryptocompare="SEK" WHERE identifier="SEK"; INSERT INTO assets(identifier, name, type) VALUES("SEK", "Swedish Krona", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("SEK", "SEK", NULL, "SEK", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="INR" WHERE identifier="INR"; +UPDATE common_asset_details SET cryptocompare="INR" WHERE identifier="INR"; INSERT INTO assets(identifier, name, type) VALUES("INR", "Indian Rupee", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("INR", "INR", NULL, "INR", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="DKK" WHERE identifier="DKK"; +UPDATE common_asset_details SET cryptocompare="DKK" WHERE identifier="DKK"; INSERT INTO assets(identifier, name, type) VALUES("DKK", "Danish krone", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("DKK", "DKK", NULL, "DKK", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="ILS" WHERE identifier="ILS"; +UPDATE common_asset_details SET cryptocompare="ILS" WHERE identifier="ILS"; INSERT INTO assets(identifier, name, type) VALUES("ILS", "Israeli new shekel", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("ILS", "ILS", NULL, "ILS", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="PLN" WHERE identifier="PLN"; +UPDATE common_asset_details SET cryptocompare="PLN" WHERE identifier="PLN"; INSERT INTO assets(identifier, name, type) VALUES("PLN", "Polish Zloty", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("PLN", "PLN", NULL, "PLN", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="AED" WHERE identifier="AED"; +UPDATE common_asset_details SET cryptocompare="AED" WHERE identifier="AED"; INSERT INTO assets(identifier, name, type) VALUES("AED", "Emirati Dirham", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("AED", "AED", NULL, "AED", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="NGN" WHERE identifier="NGN"; +UPDATE common_asset_details SET cryptocompare="NGN" WHERE identifier="NGN"; INSERT INTO assets(identifier, name, type) VALUES("NGN", "Naira", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("NGN", "NGN", NULL, "NGN", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="CZK" WHERE identifier="CZK"; +UPDATE common_asset_details SET cryptocompare="CZK" WHERE identifier="CZK"; INSERT INTO assets(identifier, name, type) VALUES("CZK", "Czech Koruna", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("CZK", "CZK", NULL, "CZK", NULL, NULL, NULL); -UPDATE assets SET cryptocompare="MXN" WHERE identifier="MXN"; +UPDATE common_asset_details SET cryptocompare="MXN" WHERE identifier="MXN"; INSERT INTO assets(identifier, name, type) VALUES("MXN", "Mexican Peso", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("MXN", "MXN", NULL, "MXN", NULL, NULL, NULL); \ No newline at end of file