ipld-eth-db/db/migrations
2023-02-08 18:13:15 -06:00
..
00001_create_ipfs_blocks_table.sql updates order of columns in compound PKs, update indexes e.g. we don't need a btree index on a column if it is the first column in the compound PK index but we do need a btree index for the later columns in a compound PK (searches on first column of a compound index are just as fast as searches on a btree index for that column alone, but searches on the 2nd or 3rd column in a compound index are significantly slower than on dedicated indexes) 2022-03-28 18:22:57 -05:00
00002_create_nodes_table.sql update pre- and post- sets 2022-03-21 19:53:48 -05:00
00003_create_eth_schema.sql Create a docker image with postgres DB and concise migration. 2021-10-05 16:21:18 +05:30
00004_create_eth_header_cids_table.sql remove times_validated field 2023-02-01 20:03:12 -06:00
00005_create_eth_uncle_cids_table.sql Remove foreign keys to hypertables 2022-04-22 18:53:43 +05:30
00006_create_eth_transaction_cids_table.sql drop tx_data and log_data; data can still be accessed in referenced ipld blocks in public.blocks 2023-02-08 18:13:15 -06:00
00007_create_eth_receipt_cids_table.sql renaming some columns; remove log_root column 2023-02-08 18:08:08 -06:00
00008_create_eth_state_cids_table.sql renaming some columns; remove log_root column 2023-02-08 18:08:08 -06:00
00009_create_eth_storage_cids_table.sql renaming some columns; remove log_root column 2023-02-08 18:08:08 -06:00
00010_create_eth_access_list_elements_table.sql state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
00011_create_eth_log_cids_table.sql drop tx_data and log_data; data can still be accessed in referenced ipld blocks in public.blocks 2023-02-08 18:13:15 -06:00
00012_create_postgraphile_comments.sql node_id => node_ids 2023-02-01 19:56:36 -06:00
00013_create_pending_tx_table.sql renaming some columns; remove log_root column 2023-02-08 18:08:08 -06:00
00014_create_cid_indexes.sql drop tx_data and log_data; data can still be accessed in referenced ipld blocks in public.blocks 2023-02-08 18:13:15 -06:00
00015_create_postgraphile_triggers.sql remove snapshot functions (they wont work without intermediate node indexing); adjust remaining functions 2023-01-23 17:31:36 -06:00
00016_create_db_version_table.sql state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
00017_create_eth_meta_schema.sql state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
00018_create_watched_addresses_table.sql state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
00019_convert_to_hypertables.sql state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
00020_create_stored_functions.sql remove snapshot functions (they wont work without intermediate node indexing); adjust remaining functions 2023-01-23 17:31:36 -06:00
00021_create_probes_meta_tables.sql state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
00022_update_db_version.sql state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00