Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/explorer/priv/repo/migrations
Nikita Pozdniakov 362dae45db
Add license_type field to smart_contracts table; Forward license_type through verification endpoints
10 months ago
..
scripts
.gitkeep
20180117221921_create_address.exs
20180117221922_create_blocks.exs
20180117221923_create_transactions.exs
20180212222309_create_logs.exs
20180221001948_create_internal_transactions.exs
20180424203101_create_market_history.exs
20180508183700_create_users.exs
20180508191045_create_user_contacts.exs
20180518221256_create_smart_contract_verified.exs
20180522154252_create_btree_gist_extension.exs
20180522154253_create_block_rewards.exs
20180606135149_create_tokens.exs
20180606135150_create_token_transfers.exs
20180626143840_add_inserted_at_index_to_blocks.exs
20180717204948_create_address_coin_balances.exs
20180817021704_create_address_token_balances.exs
20180821142139_create_address_names.exs
20180917182319_create_block_second_degree_relations.exs
20180918200001_create_transaction_fork.exs
20180919175123_alter_token_decimals_to_bigint.exs
20181008195723_create_administrators.exs
20181011193212_add_fields_to_internal_transactions.exs
20181015173318_add_case_insensitive_extension.exs
20181015173319_modify_users_username.exs
20181016163236_modify_user_contacts_email.exs
20181017141409_add_index_to_internal_transaction_table.exs
20181024141113_internal_transactions_composite_primary_key.exs
20181024164623_logs_composite_primary_key.exs
20181024172010_token_transfers_composite_primary_key.exs
20181026180921_create_address_current_token_balances.exs
20181029174420_update_tokens_table_decimals_from_bigint_to_numeric.exs
20181106152300_add_nonce_to_addresses.exs
20181107164103_eip6.exs
20181108205650_additional_internal_transaction_constraints.exs
20181121170616_add_block_number_to_token_transfers.exs
20181126203826_add_index_to_addresses.exs
20181206200140_rename_block_rewards_to_emission_rewards.exs
20181206200312_create_new_block_rewards.exs
20181212115448_add_indexes_to_token_transfers.exs
20181213111656_add_metadata_field_to_address_names.exs
20181221143000_create_blocks_miner_hash_index.exs
20181221145054_add_contract_methods.exs
20190102141900_index_current_token_holders.exs
20190114204640_add_tokens_holder_count.exs
20190116082843_add_created_contract_indexed_at_to_transactions.exs
20190118040301_create_tokens_primary_key.exs
20190118152240_block_second_degree_relations_composite_primary_key.exs
20190122125815_change_transaction_error_constraint.exs
20190124082812_add_index_on_transaction_nonce_and_from_address_hash.exs
20190208113202_add_unique_index_to_rewards.exs
20190208143201_add_index_on_address_hash_block_number_and_token_contract_address_hash_for_current_token_balance.exs
20190213180502_add_earliest_processing_start_to_transactions.exs
20190214135850_add_index_on_block_number_to_address_token_balances.exs
20190215080049_add_index_on_fetched_coin_balance_to_addresses.exs
20190215093358_add_compound_index_address_token_balances.exs
20190215105501_add_constructor_arguments_to_smart_contracts.exs
20190219082636_add_indexes_for_block_reward_query.exs
20190228102650_add_index_created_contract_address_hash.exs
20190228152333_change_constructor_arguments_to_text.exs
20190228220746_add_internal_transactions_indexed_at_to_blocks.exs
20190301095620_remove_duplicated_indexes.exs
20190301120328_add_index_to_consensus.exs
20190305095926_add_index_to_value_fetched_at.exs
20190313085740_add_index_symobl_in_tokens.exs Add .exs and .eex checking in cspell 2 years ago
20190313103912_change_transactions_v_column_type.exs
20190314084907_add_index_to_to_address_hash.exs
20190318151809_add_inserted_at_index_to_accounts.exs
20190319081821_create_decompiled_smart_contracts.exs
20190321185644_add_old_value_for_current_token_balances.exs
20190325081658_remove_unique_address_hash_decompiled_contracts.exs
20190403080447_add_full_text_search_tokens.exs
20190421143300_add_index_to_bsdr.exs
20190424170833_change_block_size_to_nullable.exs
20190508152922_add_old_block_hash_for_transactions.exs
20190513134025_add_refetch_needed_to_block.exs
20190516140202_add_address_hash_index_to_decompiled_smart_contracts.exs
20190516160535_add_decompiled_and_verified_flag_to_addresses.exs
20190521104412_create_staking_pools.exs
20190523112839_create_staking_pools_delegators.exs
20190613065856_add_tx_hash_inserted_at_index.exs
20190619154943_reduce_transaction_status_constraint.exs
20190625085852_add_additional_contract_fields.exs
20190709043832_create_transaction_stats.exs
20190709103104_add_external_libraries_to_smart_contracts.exs
20190807111216_remove_duplicate_indexes.exs
20190807113117_create_suggested_indexes.exs
20190827120224_add_index_on_token_transfer_token_id.exs
20190905083522_create_token_instances.exs
20190910170703_create_indexes_for_block_number_in_token_transfers_and_transactions.exs
20191007082500_add_indexes_for_token_instances_query.exs Add .exs and .eex checking in cspell 2 years ago
20191009121635_add_token_transfer_sorting_indexes.exs
20191010075740_add_error_to_token_instances.exs
20191018120546_create_pending_block_operations.exs
20191018140054_add_pending_internal_txs_operation.exs
20191121064805_add_block_hash_and_block_index_to_logs.exs
20191122062035_add_block_hash_to_token_transfers.exs
20191128124415_remove_duplicate_indexes_token_entities.exs
20191203112646_internal_transactions_add_to_address_hash_index.exs
20191208135613_block_rewards_block_hash_partial_index.exs
20191218120138_logs_block_number_index_index.exs
20191220113006_pending_block_operations_block_hash_partial_index.exs
20200214152058_add_token_id_to_token_balances.exs
20200410115841_create_index_address_current_token_balances_token_contract_address_hash_value.exs
20200410141202_create_index_token_transfers_token_contract_address_hash_block_number.exs
20200421102450_pending_txs.exs
20200424070607_drop_block_rewards_address_hash_address_type_block_hash_index.exs
20200518075748_create_index_blocks_miner_hash_number_index.exs
20200521090250_recreate_staking_tables.exs
20200521170002_create_token_transfers_token_contract_address_hash_token_id_block_number_index.exs
20200525115811_address_coin_balances_daily.exs
20200527144742_add_counters_table.exs
20200608075122_alter_transactions_add_error_reason.exs
20200806125649_token_add_bridged_column.exs
20200807064700_bridged_tokens_table.exs
20200812143050_add_addresses_contract_code_index.exs
20200904075501_add_bridged_token_custom_metadata.exs
20200929075625_add_bridged_token_type.exs
20201026093652_transactions_stat_add_gas_usage_column.exs
20201214203532_support_sourcify.exs
20210219080523_add_tags.exs
20210226154732_add_exchange_rate_column_to_bridged_tokens.exs
20210309104122_add_bridged_token_custom_cap.exs
20210331074008_add_pool_name_description.exs
20210422115740_add_token_id_to_current_token_balances.exs
20210423084253_address_current_token_balances_add_token_id_to_unique_index.exs
20210423091652_address_token_balances_add_token_id_to_unique_index.exs
20210423094801_address_token_balances_change_unfetched_token_balances_unique_index.exs
20210423115108_extend_token_transfers_for_erc1155.exs
20210524165427_min_missing_block_number.exs
20210527093756_transaction_stats_add_total_fee_column.exs
20210616120552_smart_contracts_add_is_vyper_flag.exs
20210701084814_support_partial_match.exs
20210811140837_add_1559_support.exs
20210823144531_tokens_add_metadata_fetch_flag.exs
20210916194004_add_file_path_for_sourcify_contracts.exs
20211006121008_add_block_is_empty_flag.exs
20211013190346_remove_duplicates_of_current_token_balances.exs
20211017135545_migrate_optimization_runs_to_int8.exs
20211018072347_add_is_empty_index.exs
20211018073652_add_token_balances_contract_address_hash_index.exs
20211018164843_transactions_block_number_index.exs
20211018170533_add_address_token_balances_address_hash_token_contract_address_hash_block_number_index.exs
20211018170638_add_logs_address_hash_transaction_hash_index.exs
20211029085117_drop_block_rewards_block_hash_partial_index.exs Add .exs and .eex checking in cspell 2 years ago
20211115164817_add_check_for_bytecode_actuality.exs
20211203115010_add_contract_verification_status_table.exs
20211204184037_address_add_gas_used.exs
20211206071033_modify_address_gas_used_bigint.exs
20211210184136_add_display_name_to_address_tag.exs
20211217201759_add_has_error_in_iternal_txs_field_to_transaction.exs
20220111085751_address_add_counters.exs
20220303083252_smart_contracts_contract_code_md5.exs
20220306091504_add_implementation_name.exs
20220527131249_add_implementation_fields.exs
20220622114402_remove_staking_tables.exs
20220622140604_remove_bridged_tokens.exs
20220706101103_address_coin_balances_daily_add_primary_key.exs
20220706102257_address_coin_balances_add_primary_key.exs
20220706102504_transactions_forks_add_primary_key.exs
20220706102746_block_rewards_add_primary_key.exs
20220706105925_emission_rewards_add_primary_key.exs
20220706111510_address_names_add_primary_key.exs
20220804114005_create_event_notifications.exs
20220902083436_extend_token_name_type.exs
20220902103213_create_index_token_transfers_token_ids.exs
20220902103527_create_indexes_token_instances_token_contract_address_hash_token_id.exs
20220919105140_add_method_id_index.exs
20220926122620_extend_token_symbol_type.exs
20221104091552_add_transaction_actions_table.exs Fix tx action type name 2 years ago
20221104104635_create_token_transfer_token_id_migrator_progress.exs
20221114113853_remove_not_null_constraint_from_abi.exs
20221114121811_drop_internal_transactions_order_index.exs
20221117075456_modify_address_token_balances_indexes.exs
20221117080657_modify_address_current_token_balances_indexes.exs
20221120184715_add_json_compiler_settings.exs
20221125074820_drop_required_output_constraint.exs
20221126103223_add_txs_indexes.exs
20221209123459_drop_unfetched_token_balances_index.exs
20221212093406_change_index_for_pending_block_operations.exs pending_block_operations table: remove fetch_internal_transactions column 2 years ago
20221219151744_create_missing_block_ranges.exs Persistent missing ranges storage 2 years ago
20221223151234_add_block_number_to_pending_block_operations.exs Pending block operations update 2 years ago
20221223214711_create_withdrawals.exs Add .exs and .eex checking in cspell 2 years ago
20230126205627_add_fiat_value_and_circulating_market_cap_for_tokens.exs Rework token prices (#6925) 2 years ago
20230214104917_add_validators_and_constants_tables.exs Add ttl for TokenTotalSupplyOnDemand 2 years ago
20230217095226_add_total_supply_updated_at_block.exs Add ttl for TokenTotalSupplyOnDemand 2 years ago
20230328100414_add_transaction_action_types.exs Add handling of general aave events 2 years ago
20230417093914_allow_nil_tx_gas_price.exs Allow nil gas price for pending tx (Erigon node case) 2 years ago
20230425185941_add_token_icon_url.exs Add /api/v2/import/token-info endpoint (#7355) 2 years ago
20230522130735_withdrawals_gwei_amount_to_wei_amount.exs Fix gwei to wei in database 2 years ago
20230530074105_market_history_add_market_cap.exs Store and display native coin market cap from the DB (#7585) 1 year ago
20230605080138_add_verified_via_eth_bytecode_db.exs eth-bytecode-db integration improvements (#7628) 2 years ago
20230606091935_fix_contract_creation_transactions.exs Add addresses contract code clear to FixContractCreationTransactions migration 2 years ago
20230613181244_address_coin_balances_block_number_index.exs add block_number indexfor address_coin_balances table 1 year ago
20230615130940_add_blocks_date_index.exs Csv export improve (#7771) 1 year ago
20230719160318_delete_erc_1155_tt_with_empty_token_ids.exs Fix empty TransferBatch event handling (#7959) 1 year ago
20230809134253_add_is_verified_via_admin_panel.exs Add is_verified_via_admin_panel property to tokens table (#8156) 1 year ago
20230815131151_drop_logs_address_hash_foreign_key.exs Drop logs address_hash foreign key 1 year ago
20230816061723_drop_token_transfers_and_transactions_address_foreign_key.exs Drop address foreign keys from token transfers and transactions 1 year ago
20230817061317_drop_address_foreign_keys.exs Drop foreign keys for token/coin balances, tokens, int transactions 1 year ago
20230818094455_add_token_ids_to_address_token_balances.exs Add owner_address_hash and other fields to token_instances; Move toke… (#8386) 1 year ago
20230821120625_drop_rest_address_foreign_keys.exs Drop rest address foreign keys 1 year ago
20230831122819_drop_current_token_balances_tokens_foreign_key.exs Drop ctb tokens foreign key 1 year ago
20230905085809_drop_token_balances_tokens_foreign_key.exs Drop token balances tokens foreign key 1 year ago
20231003093553_add_tvl_to_market_history_table.exs DefiLlama TVL source 1 year ago
20231212101547_add_block_timestamp_and_consensus_to_transactions.exs Denormalization improvements 11 months ago
20231212102127_create_migrations_status.exs Denormalization improvements 11 months ago
20231213085254_add_btree_gin_extension.exs Refine token transfers token ids index 11 months ago
20231213090140_add_token_transfers_token_contract_address_token_ids_index.exs Refine token transfers token ids index 11 months ago
20231213101235_drop_token_transfers_token_ids_index.exs Refine token transfers token ids index 11 months ago
20231213152332_alter_log_topic_columns_type.exs Change log topic type in the DB to bytea (#9000) 11 months ago
20231215094615_drop_token_transfers_token_id_column.exs Drop unused token_id column from token_transfers table and indexes based on this column (#9005) 11 months ago
20231215104320_drop_unused_actb_indexes.exs Drop unused indexes on address_current_token_balances table 11 months ago
20231215115638_drop_unused_logs_type_index.exs Drop logs type column and related index (#9007) 11 months ago
20231215132609_add_index_blocks_refetch_needed.exs Change index: base it to hash column 11 months ago
20231225113850_transactions_asc_indices.exs Add ASC indices for logs, token transfers, transactions 11 months ago
20231225115026_logs_asc_index.exs Add ASC indices for logs, token transfers, transactions 11 months ago
20231225115100_token_transfers_asc_index.exs Add ASC indices for logs, token transfers, transactions 11 months ago
20231227170848_add_proxy_verification_status.exs New RPC API endpoints (#9068) 11 months ago
20231229120232_add_smart_contract_audit_reports_table.exs Add GET and POST /api/v2/smart-contracts/:address_hash/audit-reports (#9120) 10 months ago
20240103094720_constrain_null_date_market_history.exs Expand gas price oracle functionality 11 months ago
20240114181404_enhanced_unfetched_token_balances_index.exs Change index creation to concurrent 10 months ago
20240123102336_add_tokens_cataloged_index.exs Change index creation to concurrent 10 months ago
20240129112623_add_smart_contract_license_type.exs Add license_type field to smart_contracts table; Forward license_type through verification endpoints 10 months ago