Documentation ¶
Overview ¶
Code generated for package migrations by go-bindata DO NOT EDIT. (@generated) sources: 1691753758_initial.up.sql 1692701329_add_collectibles_and_collections_data_cache.up.sql 1692701339_add_scope_to_pending.up.sql 1694540071_add_collectibles_ownership_update_timestamp.up.sql 1694692748_add_raw_balance_to_token_balances.up.sql 1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql 1695932536_balance_history_v2.up.sql 1696853635_input_data.up.sql 1698117918_add_community_id_to_tokens.up.sql 1698257443_add_community_metadata_to_wallet_db.up.sql 1699987075_add_timestamp_and_state_to_community_data_cache.up.sql 1700414564_add_wallet_connect_pairings_table.up.sql 1701101493_add_token_blocks_range.up.sql 1702467441_wallet_connect_sessions_instead_of_pairings.up.sql 1702577524_add_community_collections_and_collectibles_images_cache.up.sql 1702867707_add_balance_to_collectibles_ownership_cache.up.sql 1703686612_add_color_to_saved_addresses.up.sql 1704701942_remove_favourite_and_change_primary_key_for_saved_addresses.up.sql 1704913491_add_type_and_tx_timestamp_to_collectibles_ownership_cache.up.sql 1705664490_add_balance_check_fields_blocks_ranges_sequential.up.sql doc.go
Index ¶
- func Asset(name string) ([]byte, error)
- func AssetDir(name string) ([]string, error)
- func AssetInfo(name string) (os.FileInfo, error)
- func AssetNames() []string
- func Migrate(db *sql.DB, customSteps []*sqlite.PostStep) error
- func MigrateTo(db *sql.DB, customSteps []*sqlite.PostStep, untilVersion uint) error
- func MustAsset(name string) []byte
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
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 ¶
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 ¶
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 MustAsset ¶
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
func RestoreAsset ¶
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶
RestoreAssets restores an asset under the given directory recursively
Types ¶
This section is empty.