ipld-eth-db/db/migrations
2022-08-08 12:40:47 -05: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 misc adjustments 2022-08-08 11:06:00 -05: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 misc adjustments 2022-08-08 11:06:00 -05:00
00007_create_eth_receipt_cids_table.sql misc adjustments 2022-08-08 11:06:00 -05:00
00008_create_eth_state_cids_table.sql Remove foreign keys to hypertables 2022-04-22 18:53:43 +05:30
00009_create_eth_storage_cids_table.sql Remove foreign keys to hypertables 2022-04-22 18:53:43 +05:30
00010_create_eth_state_accounts_table.sql misc adjustments 2022-08-08 11:06:00 -05:00
00011_create_eth_access_list_elements_table.sql Remove foreign keys to hypertables 2022-04-22 18:53:43 +05:30
00012_create_eth_log_cids_table.sql Add block hash to primary keys in transactions, receipts and logs tables (#100) 2022-07-07 16:21:06 +05:30
00013_create_postgraphile_comments.sql new natural primary key scheme 2021-11-14 18:23:26 -06:00
00014_create_cid_indexes.sql replace btree with hash index where it makes sense 2022-08-08 12:40:47 -05:00
00015_create_postgraphile_triggers.sql Add block hash to primary keys in transactions, receipts and logs tables (#100) 2022-07-07 16:21:06 +05:30
00016_create_db_version_table.sql Fix migrations naming 2022-05-09 17:22:19 +05:30
00017_create_eth_meta_schema.sql Fix migrations naming after merge 2022-05-10 19:34:01 +05:30
00018_create_watched_addresses_table.sql Fix migrations naming after merge 2022-05-10 19:34:01 +05:30
00019_create_known_gaps_table.sql Fix migrations naming after merge 2022-05-10 19:34:01 +05:30
00020_update_db_version.sql Fix migrations naming after merge 2022-05-10 19:34:01 +05:30
00021_convert_to_hypertables.sql Run migrations on a single-node TimescaleDB setup 2022-05-17 15:50:55 +05:30
00022_create_stored_functions.sql Fix stored functions for in-place snapshot (#87) 2022-06-14 11:00:54 +05:30