From e9581997c27795a90d30d15449dfa77b9e48d7ca Mon Sep 17 00:00:00 2001 From: Nicholas Yoder Date: Fri, 18 Oct 2024 10:03:11 -0400 Subject: [PATCH] Fix cmUMAMI foreign key constraint --- updates/30/updates.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updates/30/updates.sql b/updates/30/updates.sql index 5302d0e..78c2534 100644 --- a/updates/30/updates.sql +++ b/updates/30/updates.sql @@ -6,7 +6,7 @@ INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0x4bCA8D73 * INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0xcd8011AaB161A75058eAb24e0965BAb0b918aF29", "GM BTC Vault", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0xcd8011AaB161A75058eAb24e0965BAb0b918aF29", "A", 42161, "0xcd8011AaB161A75058eAb24e0965BAb0b918aF29", 8, "umami"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0xcd8011AaB161A75058eAb24e0965BAb0b918aF29", "gmWBTC", "", "", NULL, 1710996625, NULL); INSERT INTO underlying_tokens_list(identifier, weight, parent_token_entry) VALUES("eip155:42161/erc20:0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", "1", "eip155:42161/erc20:0xcd8011AaB161A75058eAb24e0965BAb0b918aF29"); * -INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", "Compounded Marinated UMAMI", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", "A", 42161, "0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", 9, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", "cmUMAMI", "", "", NULL, 1648295962, NULL); INSERT INTO underlying_tokens_list(identifier, weight, parent_token_entry) VALUES("eip155:42161/erc20:0x2AdAbD6E8Ce3e82f52d9998a7f64a90d294A92A4", "1", "eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB"); -* INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0x2AdAbD6E8Ce3e82f52d9998a7f64a90d294A92A4", "Marinated UMAMI", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0x2AdAbD6E8Ce3e82f52d9998a7f64a90d294A92A4", "A", 42161, "0x2AdAbD6E8Ce3e82f52d9998a7f64a90d294A92A4", 9, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0x2AdAbD6E8Ce3e82f52d9998a7f64a90d294A92A4", "mUMAMI", "", "", NULL, 1645146238, NULL); +* +INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", "Compounded Marinated UMAMI", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", "A", 42161, "0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", 9, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB", "cmUMAMI", "", "", NULL, 1648295962, NULL); INSERT INTO underlying_tokens_list(identifier, weight, parent_token_entry) VALUES("eip155:42161/erc20:0x2AdAbD6E8Ce3e82f52d9998a7f64a90d294A92A4", "1", "eip155:42161/erc20:0x1922C36F3bc762Ca300b4a46bB2102F84B1684aB"); * \ No newline at end of file