migrations

package
v0.171.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Code generated for package migrations by go-bindata DO NOT EDIT. (@generated) sources: 1640111208_dummy.up.sql 1642666031_add_removed_clock_to_bookmarks.up.sql 1643644541_gif_api_key_setting.up.sql 1644188994_recent_stickers.up.sql 1646659233_add_address_to_dapp_permisssion.up.sql 1646841105_add_emoji_account.up.sql 1647278782_display_name.up.sql 1647862838_reset_last_backup.up.sql 1647871652_add_settings_sync_clock_table.up.sql 1647880168_add_torrent_config.up.sql 1647882837_add_communities_settings_table.up.sql 1647956635_add_waku_messages_table.up.sql 1648554928_network_test.up.sql 1649174829_add_visitble_token.up.sql 1649882262_add_derived_from_accounts.up.sql 1650612625_add_community_message_archive_hashes_table.up.sql 1650616788_add_communities_archives_info_table.up.sql 1652715604_add_clock_accounts.up.sql 1653037334_add_notifications_settings_table.up.sql 1654702119_add_mutual_contact_settings.up.sql 1655375270_add_clock_field_to_communities_settings_table.up.sql 1655385721_drop_networks_config.up.sql 1655385724_networks_chainColor_shortName.up.sql 1655456688_add_deleted_at_field_to_bookmarks_table.up.sql 1655462032_create_bookmarks_deleted_at_index.up.sql 1657617291_add_multi_transactions_table.up.sql 1660134042_add_social_links_settings_table.up.sql 1660134060_settings_bio.up.sql 1660134070_add_wakuv2_store.up.sql 1660134072_waku2_store_messages.up.sql 1662365868_add_key_uid_accounts.up.sql 1662447680_add_keypairs_table.up.sql 1662460056_move_favourites_to_saved_addresses.up.sql 1662738097_add_base_fee_transaction.up.sql 1662972194_add_keypairs_table.up.sql 1664392661_add_third_party_id_to_waku_messages.up.sql 1664783660_add_sync_info_to_saved_addresses.up.sql 1668109917_wakunodes.up.sql 1670249678_display_name_to_settings_sync_clock_table.up.sql 1670836810_add_imported_flag_to_community_archive_hashes.up.sql 1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql 1672933930_switcher_card.up.sql 1674056187_add_price_cache.up.sql 1674136690_ens_usernames.up.sql 1674232431_add_balance_history.up.sql 1676368933_keypairs_to_keycards.up.sql 1676951398_add_currency_format_cache.up.sql 1676968196_keycards_add_clock_column.up.sql 1676968197_add_fallback_rpc_to_networks.up.sql 1677674090_add_chains_ens_istest_to_saved_addresses.up.sql 1677681143_accounts_table_type_column_update.up.sql 1678264207_accounts_table_new_columns_added.up.sql 1680770368_add_bio_to_settings_sync_clock_table.up.sql 1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql 1681392602_9d_sync_period.up.sql 1681762078_default_sync_period_9d.up.sql 1681780680_add_clock_to_social_links_settings.up.sql 1682073779_settings_table_remove_latest_derived_path_column.up.sql 1682146075_add_created_at_to_saved_addresses.up.sql 1682393575_sync_ens_name.up.sql 1683457503_add_blocks_ranges_sequential_table.up.sql 1683627613_accounts_and_keycards_improvements.up.sql 1685041348_settings_table_add_latest_derived_path_column.up.sql 1685440989_update_color_id_accounts.up.sql 1685463947_add_to_asset_to_multitransaction.up.sql 1685880973_add_profile_links_settings_table.up.sql 1686041510_add_idx_transfers_blkno_loaded.up.sql 1686048341_transfers_receipt_json_blob_out.up.sql.down.sql 1686048341_transfers_receipt_json_blob_out.up.sql.up.sql 1686825075_cleanup_token_address.up.sql 1687193315_transfers_extract_from_to_address.down.sql 1687193315_transfers_extract_from_to_address.up.sql 1687249080_add_position_accounts.up..sql 1687269871_add_device_name.up.sql 1687506642_include_watch_only_account_setting.up.sql 1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql 1688054680_add_columns_to_multitransaction.up.sql 1688636552_keycards_table_columns_update.up.sql 1689248269_add_related_chain_id_networks.up.sql 1689340211_index_filter_columns.up.sql 1689498471_make_wallet_accounts_positions_non_negative.up.sql 1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql 1690225863_add_collectibles_ownership_cache.up.sql 1690734354_add_preferred_chain_ids.up.sql 1691173699_add_collectibles_and_collections_data_cache.up.sql 1691753758_move_wallet_tables_to_wallet_db.up.sql 1691753800_pubsubtopic_key.up.sql 1693900971_add_profile_migration_needed_column_to_settings_table.up.sql 1694764094_add_original_to_networks.up.sql 1695974515_add_is_sepolia_enabled_to_settings.up.sql 1696259336_settings_add_url_unfurling_mode.up.sql 1697123140_drop_include_watch_only_accounts.up.sql 1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql 1697623289_add_omit_transfers_history_scan_to_settings.up.sql 1699577175_use_shards.up.sql 1700741911_clusterID.up.sql 1701084316_add_wallet_was_not_shown_to_keypairs_accounts.up.sql 1701084317_add_mnemonic_was_not_shown_to_settings.up.sql doc.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:

data/
  foo.txt
  img/
    a.png
    b.png

then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetInfo

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetNames

func AssetNames() []string

AssetNames returns the names of the assets.

func Migrate

func Migrate(db *sql.DB, customSteps []*sqlite.PostStep) error

Migrate applies migrations. see Migrate in vendor/status-go/sqlite/migrate.go

func MigrateTo added in v0.157.2

func MigrateTo(db *sql.DB, customSteps []*sqlite.PostStep, untilVersion uint) error

MigrateTo is used for testing purposes

func MustAsset

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func RestoreAsset

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL