Documentation
¶
Overview ¶
Package migrations Code generated by go-bindata. (@generated) DO NOT EDIT. 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 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) 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.