status-go/appdatabase/migrations/bindata.go

843 lines
45 KiB
Go
Raw Normal View History

2022-07-15 08:53:56 +00:00
// Package migrations Code generated by go-bindata. (@generated) DO NOT EDIT.
2019-09-04 06:25:33 +00:00
// sources:
2022-07-15 08:53:56 +00:00
// 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
package migrations
2021-09-10 18:08:22 +00:00
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
2021-09-10 18:08:22 +00:00
func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data))
2021-09-10 18:08:22 +00:00
if err != nil {
return nil, fmt.Errorf("read %q: %v", name, err)
2021-09-10 18:08:22 +00:00
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
clErr := gz.Close()
2021-09-10 18:08:22 +00:00
if err != nil {
return nil, fmt.Errorf("read %q: %v", name, err)
2021-09-10 18:08:22 +00:00
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
2022-07-15 08:53:56 +00:00
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
2022-07-15 08:53:56 +00:00
// Name return file name
func (fi bindataFileInfo) Name() string {
return fi.name
2021-02-17 23:14:48 +00:00
}
2022-07-15 08:53:56 +00:00
// Size return file size
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
2022-07-15 08:53:56 +00:00
// Mode return file mode
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
2022-07-15 08:53:56 +00:00
// ModTime return file modify time
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
2021-02-17 23:14:48 +00:00
}
2022-07-15 08:53:56 +00:00
// IsDir return file whether a directory
func (fi bindataFileInfo) IsDir() bool {
2022-07-15 08:53:56 +00:00
return fi.mode&os.ModeDir != 0
}
2022-07-15 08:53:56 +00:00
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var __1640111208_dummyUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x8e\xb1\x4e\x04\x31\x0c\x44\x7b\xbe\x62\x3a\x40\x22\x7f\x71\x57\x50\xc0\x4a\xe8\x44\x9f\x4b\x26\x1b\x8b\x5d\x1b\x62\xa3\xe5\xf3\x51\x44\x45\x73\x6e\x3d\xef\xcd\xa4\x84\xd3\x82\xd7\xe5\x82\xb7\xf3\xcb\xf2\x7e\xbe\x4b\x09\xe9\xd6\xcd\xc0\xa5\x8b\xa3\xc9\x46\x54\xa3\x43\x2d\xba\xe8\x3a\x3f\xcf\x71\xef\x28\x83\x39\x58\xe1\x86\xe8\xc4\x2e\xeb\xc8\x21\xa6\xf8\x50\x3b\x1c\x6d\xd8\x8e\xa3\x4b\xe9\xf0\xaf\xed\xcf\x13\x86\x62\x1a\xa2\xdf\x84\x8b\x16\x62\xda\xfe\xd3\x3d\x3b\xae\xa4\xc2\x3f\x37\x89\x59\x20\x8a\x38\x0c\x0f\x57\x36\x1b\x7c\x42\xd6\x8a\xdc\x82\x03\x6a\x95\xa5\xad\xe0\x4f\x8c\x5c\x26\xfe\x38\x85\x27\x9b\x63\x91\x6b\x45\xb1\x4a\x74\x0e\xfe\x06\x00\x00\xff\xff\x9b\xc1\xf3\x13\x02\x01\x00\x00")
func _1640111208_dummyUpSqlBytes() ([]byte, error) {
return bindataRead(
__1640111208_dummyUpSql,
"1640111208_dummy.up.sql",
)
}
func _1640111208_dummyUpSql() (*asset, error) {
bytes, err := _1640111208_dummyUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1640111208_dummy.up.sql", size: 258, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2022-01-17 03:42:11 +00:00
var __1642666031_add_removed_clock_to_bookmarksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xca\xcf\xcf\xce\x4d\x2c\xca\x2e\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x28\x4a\xcd\xcd\x2f\x4b\x4d\x51\x70\xf2\xf7\xf7\x71\x75\xf4\x53\x70\x71\x75\x73\x0c\xf5\x09\x51\x70\x73\xf4\x09\x76\xb5\xe6\x22\xa8\x3f\x39\x27\x3f\x39\x5b\xc1\xd3\x2f\x04\xae\xd3\xc0\x1a\x10\x00\x00\xff\xff\xe6\xf6\xbf\x66\x75\x00\x00\x00")
func _1642666031_add_removed_clock_to_bookmarksUpSqlBytes() ([]byte, error) {
return bindataRead(
__1642666031_add_removed_clock_to_bookmarksUpSql,
"1642666031_add_removed_clock_to_bookmarks.up.sql",
)
}
func _1642666031_add_removed_clock_to_bookmarksUpSql() (*asset, error) {
bytes, err := _1642666031_add_removed_clock_to_bookmarksUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1642666031_add_removed_clock_to_bookmarks.up.sql", size: 117, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2022-01-17 03:42:11 +00:00
return a, nil
}
var __1643644541_gif_api_key_settingUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x28\x4e\x2d\x29\xc9\xcc\x4b\x2f\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xcf\x4c\x8b\x4f\x2c\xc8\x8c\xcf\x4e\xad\x54\x08\x71\x8d\x08\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\x0a\x0d\x70\x71\x0c\x41\x32\x20\xd8\x35\x04\x45\xa7\x2d\x58\x15\x20\x00\x00\xff\xff\x59\x5f\x0d\x48\x6c\x00\x00\x00")
func _1643644541_gif_api_key_settingUpSqlBytes() ([]byte, error) {
return bindataRead(
__1643644541_gif_api_key_settingUpSql,
"1643644541_gif_api_key_setting.up.sql",
)
}
func _1643644541_gif_api_key_settingUpSql() (*asset, error) {
bytes, err := _1643644541_gif_api_key_settingUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1643644541_gif_api_key_setting.up.sql", size: 108, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2022-03-07 14:07:41 +00:00
return a, nil
}
var __1644188994_recent_stickersUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x0a\x0d\x70\x71\x0c\x71\x55\x28\x4e\x2d\x29\xc9\xcc\x4b\x2f\x56\x08\x76\x0d\x51\x28\x2e\xc9\x4c\xce\x4e\x2d\x2a\x8e\x2f\x4a\x4d\x4e\xcd\x2b\x89\x87\xf1\x15\x6c\x15\xfc\x42\x7d\x7c\x14\xc2\x3d\x5c\x83\x5c\x15\x8a\x2b\xf3\x4a\x32\x52\x4b\x32\x93\xe3\x33\x53\x14\x6c\x15\xd4\x33\x53\xd4\xad\xb9\x00\x01\x00\x00\xff\xff\x1d\x83\x1b\xca\x4f\x00\x00\x00")
func _1644188994_recent_stickersUpSqlBytes() ([]byte, error) {
return bindataRead(
__1644188994_recent_stickersUpSql,
"1644188994_recent_stickers.up.sql",
)
}
func _1644188994_recent_stickersUpSql() (*asset, error) {
bytes, err := _1644188994_recent_stickersUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1644188994_recent_stickers.up.sql", size: 79, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1646659233_add_address_to_dapp_permisssionUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x51\xcd\x6e\x82\x40\x18\xbc\xf3\x14\x13\x4e\x98\x10\x0f\x5e\x49\x0f\x5b\xfc\x30\x9b\xc2\xae\x5d\x96\x44\x4f\x84\x14\x4c\xb6\x51\xb0\xa2\xef\xdf\xb0\xfc\x08\x36\xe9\x0d\xe6\x9b\x19\x66\x86\x50\x11\xd3\x04\xcd\xde\x63\x02\x8f\x20\xa4\x06\x1d\x78\xaa\x53\x94\xc5\xf5\xda\xe6\x1b\x78\x0e\x00\x98\x12\x5c\x68\xda\x91\xc2\x5e\xf1\x84\xa9\x23\x3e\xe8\x08\x96\x69\xc9\x45\xa8\x28\x21\xa1\xad\x5a\x64\x71\xec\x5b\x49\x5d\x5c\x2a\x68\x3a\xe8\xfe\xb5\x28\xcb\x5b\xd5\xb6\x16\x99\x98\x28\xab\x53\xf1\x38\xdf\xe1\xba\x3d\x2b\x94\x22\xd5\x8a\x71\xa1\xf1\xa8\xcd\xcf\xa3\xca\xfb\x1c\x9d\x59\x3e\x5a\x64\x82\x7f\x66\x04\xaf\x03\xfd\x01\x5c\x39\xab\xc0\x71\xfe\xe9\x73\xad\x6e\x17\xd3\xb6\xa6\xa9\x9f\xad\x3a\xef\xdc\x94\x30\xf5\xfd\x25\xfc\x93\xbd\x0c\xdc\x5f\x23\xa9\x88\xef\x44\x37\x81\x37\x78\xac\xa0\x28\x22\x45\x22\xa4\x69\x3b\xaf\x83\xa5\xc0\x96\x62\xd2\x84\x90\xa5\x21\xdb\x92\x0d\xca\x45\x4a\x4a\x77\x9b\xca\x69\xe9\x94\x62\x0a\x87\xcf\xd8\xf5\x7c\xb8\x2e\x22\x25\x93\x9e\xf2\x22\x5b\x16\x6a\xab\x73\xf5\x75\x1f\xbd\xd6\xa6\xf4\xe7\x84\xf5\xac\xcf\xe9\xd6\x5c\xe6\x37\x7c\x37\xa6\x9e\x42\x34\xd3\xe3\xda\xfe\xc0\xb7\x85\x8d\x2d\xdb\xe1\x81\xe3\x6c\x95\xdc\x0f\x4b\xcf\x28\xc1\x1c\x1f\x63\xb3\x58\x93\xfa\xcb\xcd\x37\x50\x24\x58\x42\x58\xd6\x09\x16\x82\x31\xd9\x93\xda\xdb\xfe\x06\x00\x00\xff\xff\xb0\x41\x9a\x48\xbc\x02\x00\x00")
func _1646659233_add_address_to_dapp_permisssionUpSqlBytes() ([]byte, error) {
return bindataRead(
__1646659233_add_address_to_dapp_permisssionUpSql,
"1646659233_add_address_to_dapp_permisssion.up.sql",
)
}
func _1646659233_add_address_to_dapp_permisssionUpSql() (*asset, error) {
bytes, err := _1646659233_add_address_to_dapp_permisssionUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1646659233_add_address_to_dapp_permisssion.up.sql", size: 700, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1646841105_add_emoji_accountUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\x4c\x4e\xce\x2f\xcd\x2b\x29\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xcd\xcd\xcf\xca\x54\x08\x71\x8d\x08\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\x0a\x0d\x70\x71\x0c\x41\xd2\x1a\xec\x1a\x02\xd5\x63\x0b\x96\x07\x04\x00\x00\xff\xff\x2b\x1c\x4e\xaa\x60\x00\x00\x00")
func _1646841105_add_emoji_accountUpSqlBytes() ([]byte, error) {
return bindataRead(
__1646841105_add_emoji_accountUpSql,
"1646841105_add_emoji_account.up.sql",
)
}
func _1646841105_add_emoji_accountUpSql() (*asset, error) {
bytes, err := _1646841105_add_emoji_accountUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1646841105_add_emoji_account.up.sql", size: 96, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2022-02-17 15:13:10 +00:00
return a, nil
}
var __1647278782_display_nameUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x28\x4e\x2d\x29\xc9\xcc\x4b\x2f\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xc9\x2c\x2e\xc8\x49\xac\x8c\xcf\x4b\xcc\x4d\x55\x08\x71\x8d\x08\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\x0a\x0d\x70\x71\x0c\x41\x32\x21\xd8\x35\x04\x55\xab\x2d\x58\x19\x20\x00\x00\xff\xff\xc7\x11\xdd\x01\x6e\x00\x00\x00")
func _1647278782_display_nameUpSqlBytes() ([]byte, error) {
return bindataRead(
__1647278782_display_nameUpSql,
"1647278782_display_name.up.sql",
)
}
func _1647278782_display_nameUpSql() (*asset, error) {
bytes, err := _1647278782_display_nameUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1647278782_display_name.up.sql", size: 110, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2022-03-25 12:45:23 +00:00
var __1647862838_reset_last_backupUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x0a\x0d\x70\x71\x0c\x71\x55\x28\x4e\x2d\x29\xc9\xcc\x4b\x2f\x56\x08\x76\x0d\x51\xc8\x49\x2c\x2e\x89\x4f\x4a\x4c\xce\x2e\x2d\x50\xb0\x55\x30\xb0\xe6\x02\x04\x00\x00\xff\xff\x2e\x14\x2f\x78\x25\x00\x00\x00")
2022-03-25 12:45:23 +00:00
func _1647862838_reset_last_backupUpSqlBytes() ([]byte, error) {
return bindataRead(
2022-03-25 12:45:23 +00:00
__1647862838_reset_last_backupUpSql,
"1647862838_reset_last_backup.up.sql",
)
}
2022-03-25 12:45:23 +00:00
func _1647862838_reset_last_backupUpSql() (*asset, error) {
bytes, err := _1647862838_reset_last_backupUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1647862838_reset_last_backup.up.sql", size: 37, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2022-03-25 12:45:23 +00:00
var __1647871652_add_settings_sync_clock_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x92\xcd\x6e\xdb\x30\x10\x84\xef\x7e\x8a\xbd\x25\x06\x78\xc8\x3d\x27\x35\x61\x1b\xa1\xaa\x5d\x30\x74\x82\x9c\x16\x2c\xb5\x52\x16\x96\x49\x81\x4b\x29\xf0\xdb\x17\xfd\x49\x7f\x52\xb9\x92\xc1\x13\xb1\x33\x58\x72\xe6\xbb\x31\xba\xb0\x1a\x6c\xf1\xae\xd2\x20\x94\x33\x87\x56\x50\x8e\xc1\xa3\xef\xa2\xdf\xc3\xe5\x0a\x00\xc0\x0f\x29\x51\xf0\x47\x28\x37\x56\x7f\xd0\x06\x36\x5b\x0b\x9b\x5d\x55\xc1\xad\x7e\x5f\xec\x2a\x0b\x57\xea\xbb\xb0\xe5\x06\x13\x79\x0a\x59\x16\x69\x1b\x37\xc6\xc4\x99\xe6\xd5\x07\x12\x71\x2d\x09\x36\x29\x1e\xd0\xc7\x90\x9d\xcf\x82\x31\x74\xf3\xaf\xea\x13\x35\x94\x12\xd5\x18\xdc\x81\x96\xc8\x47\xa6\x17\xec\x13\x8f\x6e\xc1\xa7\xfb\x14\x1b\xee\x08\x7b\xf6\x79\x48\x24\x28\xcf\xf1\x05\x73\x3c\xdf\x38\xb2\xf0\x17\xee\x38\xcf\x2f\x15\x0a\x35\x4a\x76\x79\x10\x1c\xfa\xda\x2d\xc9\x50\x32\xfb\x3d\x25\xc1\xde\xf9\xbd\x20\x07\xc9\xae\xeb\xa8\x3e\xd7\xd8\x53\xa8\x39\xb4\xcb\x6d\x3f\x90\xc0\xd7\xfb\xbc\xf1\x18\xf2\x33\x65\xf6\xc8\x35\x3c\x14\xe6\xe6\xae\x30\xbf\x34\x17\x5c\x5f\xc0\x67\x53\x7e\x2a\xcc\x13\x7c\xd4\x4f\xab\x35\x3c\x96\xf6\x6e\xbb\xb3\x60\xb6\x8f\xe5\xed\xf5\xaa\xdc\xdc\x6b\x63\xbf\x6d\xd9\x4e\x43\xfd\xca\xb3\xfa\x13\x58\xf5\x37\x91\xea\x7f\xc8\xa9\x37\x4c\xa9\xb7\xd0\xa8\x93\x54\x4c\x4c\x7e\xd7\xae\xa6\x7a\x55\x27\x8b\xfb\x67\xf2\xb3\x19\x75\x32\xfa\x35\x3c\x14\xd5\x4e\xdf\xc3\xe5\x95\x9a\x3c\xeb\xeb\xaf\x01\x00\x00\xff\xff\xf3\x53\x0f\x1c\x14\x04\x00\x00")
2022-03-25 12:45:23 +00:00
func _1647871652_add_settings_sync_clock_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
2022-03-25 12:45:23 +00:00
__1647871652_add_settings_sync_clock_tableUpSql,
"1647871652_add_settings_sync_clock_table.up.sql",
)
}
2022-03-25 12:45:23 +00:00
func _1647871652_add_settings_sync_clock_tableUpSql() (*asset, error) {
bytes, err := _1647871652_add_settings_sync_clock_tableUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1647871652_add_settings_sync_clock_table.up.sql", size: 1044, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2022-03-25 12:45:23 +00:00
var __1647880168_add_torrent_configUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\xcd\x31\x6e\xc3\x20\x00\x85\xe1\x9d\x53\xbc\xcd\xad\xd4\x1b\x74\xc2\x36\xad\x51\x29\x54\x14\x62\x79\xb2\x88\xc1\x09\x92\x85\x23\xcc\x92\xdb\x47\x1e\x9c\x2d\xeb\xfb\x9f\xf4\x35\x9a\x51\xc3\x60\x68\x2d\x18\xca\x9a\x73\x48\x65\x9c\xd6\x34\xc7\x0b\xde\x08\x10\x92\x3b\x2f\xc1\xa3\x56\x4a\x30\x2a\xd1\xb2\x2f\x6a\x85\xc1\xec\x96\x2d\x7c\x10\xe0\xb6\xe6\x02\x2b\xff\xf9\xb7\x64\x2d\xb8\x34\xfb\xe8\x5d\x71\xa3\x8f\x19\x27\xaa\x9b\x8e\x6a\x48\x65\x20\xad\x10\x7b\x3c\x94\x57\x7d\xbb\xa7\x72\x0d\x25\x4e\x63\xf4\xcf\xc3\xe1\x56\xd1\x57\xf8\xd3\xfc\x97\xea\x01\x3f\x6c\x20\xef\xe8\xb9\xe9\x94\x35\xd0\xaa\xe7\xed\x27\x21\x8f\x00\x00\x00\xff\xff\x9f\xe4\xb4\x2e\xd3\x00\x00\x00")
2022-01-06 16:35:08 +00:00
2022-03-25 12:45:23 +00:00
func _1647880168_add_torrent_configUpSqlBytes() ([]byte, error) {
2022-01-06 16:35:08 +00:00
return bindataRead(
2022-03-25 12:45:23 +00:00
__1647880168_add_torrent_configUpSql,
"1647880168_add_torrent_config.up.sql",
2022-01-06 16:35:08 +00:00
)
}
2022-03-25 12:45:23 +00:00
func _1647880168_add_torrent_configUpSql() (*asset, error) {
bytes, err := _1647880168_add_torrent_configUpSqlBytes()
2022-01-06 16:35:08 +00:00
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1647880168_add_torrent_config.up.sql", size: 211, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2022-01-06 16:35:08 +00:00
return a, nil
}
2022-03-25 12:45:23 +00:00
var __1647882837_add_communities_settings_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\xcb\xb1\xaa\xc2\x30\x14\x06\xe0\x3d\x4f\xf1\x8f\xf7\x82\x2f\x71\x1a\x4f\xa1\x18\x9b\x12\x23\xd8\x29\xd4\xf6\xd8\x06\x6c\x04\x13\x05\xdf\xde\xcd\x49\x70\xfe\xf8\xb4\x63\xf2\x0c\x4f\x95\x61\x8c\xb7\x75\x7d\xa4\x58\xa2\xe4\x90\xa5\x94\x98\xe6\x8c\x3f\x85\x0f\xbc\x42\x9c\xe0\xf9\xe4\xd1\xb9\x66\x4f\xae\xc7\x8e\x7b\xd8\x16\xda\xb6\xb5\x69\xb4\x87\xe3\xce\x90\xe6\x8d\x02\x56\xc9\x79\x98\x25\x0c\xf7\x71\x89\x4f\x09\x59\x64\x8a\x69\x0e\x92\x86\xf3\x55\x26\x54\xd6\x1a\xa6\x16\x5b\xae\xe9\x68\x3c\x6a\x32\x87\xaf\xf1\x22\x65\x5c\x7e\x4e\xf5\xaf\xd4\x3b\x00\x00\xff\xff\x01\x6b\xfa\x19\xce\x00\x00\x00")
Sync Settings (#2478) * Sync Settings * Added valueHandlers and Database singleton Some issues remain, need a way to comparing incoming sql.DB to check if the connection is to a different file or not. Maybe make singleton instance per filename * Added functionality to check the sqlite filename * Refactor of Database.SaveSyncSettings to be used as a handler * Implemented inteface for setting sync protobuf factories * Refactored and completed adhoc send setting sync * Tidying up * Immutability refactor * Refactor settings into dedicated package * Breakout structs * Tidy up * Refactor of bulk settings sync * Bug fixes * Addressing feedback * Fix code dropped during rebase * Fix for db closed * Fix for node config related crashes * Provisional fix for type assertion - issue 2 * Adding robust type assertion checks * Partial fix for null literal db storage and json encoding * Fix for passively handling nil sql.DB, and checking if elem has len and if len is 0 * Added test for preferred name behaviour * Adding saved sync settings to MessengerResponse * Completed granular initial sync and clock from network on save * add Settings to isEmpty * Refactor of protobufs, partially done * Added syncSetting receiver handling, some bug fixes * Fix for sticker packs * Implement inactive flag on sync protobuf factory * Refactor of types and structs * Added SettingField.CanSync functionality * Addressing rebase artifact * Refactor of Setting SELECT queries * Refactor of string return queries * VERSION bump and migration index bump * Deactiveate Sync Settings * Deactiveated preferred_name and send_status_updates Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 18:47:00 +00:00
2022-03-25 12:45:23 +00:00
func _1647882837_add_communities_settings_tableUpSqlBytes() ([]byte, error) {
Sync Settings (#2478) * Sync Settings * Added valueHandlers and Database singleton Some issues remain, need a way to comparing incoming sql.DB to check if the connection is to a different file or not. Maybe make singleton instance per filename * Added functionality to check the sqlite filename * Refactor of Database.SaveSyncSettings to be used as a handler * Implemented inteface for setting sync protobuf factories * Refactored and completed adhoc send setting sync * Tidying up * Immutability refactor * Refactor settings into dedicated package * Breakout structs * Tidy up * Refactor of bulk settings sync * Bug fixes * Addressing feedback * Fix code dropped during rebase * Fix for db closed * Fix for node config related crashes * Provisional fix for type assertion - issue 2 * Adding robust type assertion checks * Partial fix for null literal db storage and json encoding * Fix for passively handling nil sql.DB, and checking if elem has len and if len is 0 * Added test for preferred name behaviour * Adding saved sync settings to MessengerResponse * Completed granular initial sync and clock from network on save * add Settings to isEmpty * Refactor of protobufs, partially done * Added syncSetting receiver handling, some bug fixes * Fix for sticker packs * Implement inactive flag on sync protobuf factory * Refactor of types and structs * Added SettingField.CanSync functionality * Addressing rebase artifact * Refactor of Setting SELECT queries * Refactor of string return queries * VERSION bump and migration index bump * Deactiveate Sync Settings * Deactiveated preferred_name and send_status_updates Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 18:47:00 +00:00
return bindataRead(
2022-03-25 12:45:23 +00:00
__1647882837_add_communities_settings_tableUpSql,
"1647882837_add_communities_settings_table.up.sql",
Sync Settings (#2478) * Sync Settings * Added valueHandlers and Database singleton Some issues remain, need a way to comparing incoming sql.DB to check if the connection is to a different file or not. Maybe make singleton instance per filename * Added functionality to check the sqlite filename * Refactor of Database.SaveSyncSettings to be used as a handler * Implemented inteface for setting sync protobuf factories * Refactored and completed adhoc send setting sync * Tidying up * Immutability refactor * Refactor settings into dedicated package * Breakout structs * Tidy up * Refactor of bulk settings sync * Bug fixes * Addressing feedback * Fix code dropped during rebase * Fix for db closed * Fix for node config related crashes * Provisional fix for type assertion - issue 2 * Adding robust type assertion checks * Partial fix for null literal db storage and json encoding * Fix for passively handling nil sql.DB, and checking if elem has len and if len is 0 * Added test for preferred name behaviour * Adding saved sync settings to MessengerResponse * Completed granular initial sync and clock from network on save * add Settings to isEmpty * Refactor of protobufs, partially done * Added syncSetting receiver handling, some bug fixes * Fix for sticker packs * Implement inactive flag on sync protobuf factory * Refactor of types and structs * Added SettingField.CanSync functionality * Addressing rebase artifact * Refactor of Setting SELECT queries * Refactor of string return queries * VERSION bump and migration index bump * Deactiveate Sync Settings * Deactiveated preferred_name and send_status_updates Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 18:47:00 +00:00
)
}
2022-03-25 12:45:23 +00:00
func _1647882837_add_communities_settings_tableUpSql() (*asset, error) {
bytes, err := _1647882837_add_communities_settings_tableUpSqlBytes()
Sync Settings (#2478) * Sync Settings * Added valueHandlers and Database singleton Some issues remain, need a way to comparing incoming sql.DB to check if the connection is to a different file or not. Maybe make singleton instance per filename * Added functionality to check the sqlite filename * Refactor of Database.SaveSyncSettings to be used as a handler * Implemented inteface for setting sync protobuf factories * Refactored and completed adhoc send setting sync * Tidying up * Immutability refactor * Refactor settings into dedicated package * Breakout structs * Tidy up * Refactor of bulk settings sync * Bug fixes * Addressing feedback * Fix code dropped during rebase * Fix for db closed * Fix for node config related crashes * Provisional fix for type assertion - issue 2 * Adding robust type assertion checks * Partial fix for null literal db storage and json encoding * Fix for passively handling nil sql.DB, and checking if elem has len and if len is 0 * Added test for preferred name behaviour * Adding saved sync settings to MessengerResponse * Completed granular initial sync and clock from network on save * add Settings to isEmpty * Refactor of protobufs, partially done * Added syncSetting receiver handling, some bug fixes * Fix for sticker packs * Implement inactive flag on sync protobuf factory * Refactor of types and structs * Added SettingField.CanSync functionality * Addressing rebase artifact * Refactor of Setting SELECT queries * Refactor of string return queries * VERSION bump and migration index bump * Deactiveate Sync Settings * Deactiveated preferred_name and send_status_updates Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 18:47:00 +00:00
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1647882837_add_communities_settings_table.up.sql", size: 206, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
Sync Settings (#2478) * Sync Settings * Added valueHandlers and Database singleton Some issues remain, need a way to comparing incoming sql.DB to check if the connection is to a different file or not. Maybe make singleton instance per filename * Added functionality to check the sqlite filename * Refactor of Database.SaveSyncSettings to be used as a handler * Implemented inteface for setting sync protobuf factories * Refactored and completed adhoc send setting sync * Tidying up * Immutability refactor * Refactor settings into dedicated package * Breakout structs * Tidy up * Refactor of bulk settings sync * Bug fixes * Addressing feedback * Fix code dropped during rebase * Fix for db closed * Fix for node config related crashes * Provisional fix for type assertion - issue 2 * Adding robust type assertion checks * Partial fix for null literal db storage and json encoding * Fix for passively handling nil sql.DB, and checking if elem has len and if len is 0 * Added test for preferred name behaviour * Adding saved sync settings to MessengerResponse * Completed granular initial sync and clock from network on save * add Settings to isEmpty * Refactor of protobufs, partially done * Added syncSetting receiver handling, some bug fixes * Fix for sticker packs * Implement inactive flag on sync protobuf factory * Refactor of types and structs * Added SettingField.CanSync functionality * Addressing rebase artifact * Refactor of Setting SELECT queries * Refactor of string return queries * VERSION bump and migration index bump * Deactiveate Sync Settings * Deactiveated preferred_name and send_status_updates Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 18:47:00 +00:00
return a, nil
}
var __1647956635_add_waku_messages_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\xcf\xc1\xca\x82\x50\x10\x05\xe0\xfd\x3c\xc5\x59\xfe\x82\x6f\xe0\x4a\xff\x66\x21\xdd\xae\x21\x37\xd0\x95\x0c\x29\x7a\x29\xf3\xc2\x18\xd1\xdb\xb7\x30\x04\xab\xed\xcc\xe1\xcc\x37\xff\x25\xa7\x8e\xe1\xd2\xcc\x30\x1e\x72\xb9\x37\x63\xa7\x2a\x7d\xa7\xf8\x23\x40\x7d\x8f\xcc\x14\x19\x6c\xe1\x60\x4f\xc6\xc4\x04\xcc\x7e\xec\x74\x96\x31\x20\xb7\x6e\xbb\x99\x82\x3f\xc3\x71\xb5\x1d\x07\x79\x5e\x27\x69\xbf\x9b\x82\xb4\xad\xbf\xfd\x38\x31\x88\x0e\x4b\xcf\xb1\xcc\x0f\x69\x59\x63\xcf\xf5\x9a\xa0\x28\x21\x7a\xcb\x73\xbb\xe3\x6a\x2b\x6f\x56\x60\xb3\x80\x0a\xfb\xf9\xda\x9a\x88\x17\x73\x94\xd0\x2b\x00\x00\xff\xff\xde\xa7\x3f\x4b\x0a\x01\x00\x00")
func _1647956635_add_waku_messages_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
__1647956635_add_waku_messages_tableUpSql,
"1647956635_add_waku_messages_table.up.sql",
)
}
func _1647956635_add_waku_messages_tableUpSql() (*asset, error) {
bytes, err := _1647956635_add_waku_messages_tableUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1647956635_add_waku_messages_table.up.sql", size: 266, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1648554928_network_testUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\xcc\x31\x0a\x02\x31\x10\x05\xd0\xde\x53\xfc\x23\xd8\x2f\x16\xb3\x66\xb6\xfa\x26\xe2\x4e\xea\xa0\x38\x88\x28\x11\xcc\x80\xd7\xb7\xb5\xf1\x02\x4f\x68\x7a\x82\xc9\x4c\xc5\xf0\x88\x7b\xbf\x0d\x48\x4a\xd8\x17\xd6\x43\x46\xf8\x88\xd6\x3d\x3e\xaf\xf7\x63\x34\xef\xe7\xcb\xd3\xaf\x98\x4b\xa1\x4a\x46\x2e\x86\x5c\x49\x24\x5d\xa4\xd2\xb0\x08\x57\x9d\x36\xf5\x98\xc4\x7e\xc0\x55\xed\x8f\xb4\xc3\x76\xfa\x06\x00\x00\xff\xff\x36\x2f\x0a\x06\x84\x00\x00\x00")
func _1648554928_network_testUpSqlBytes() ([]byte, error) {
return bindataRead(
__1648554928_network_testUpSql,
"1648554928_network_test.up.sql",
)
}
func _1648554928_network_testUpSql() (*asset, error) {
bytes, err := _1648554928_network_testUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1648554928_network_test.up.sql", size: 132, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2022-04-13 07:55:38 +00:00
var __1649174829_add_visitble_tokenUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x0e\x72\x75\x0c\x71\x55\x08\x71\x74\xf2\x71\x55\x28\xcb\x2c\xce\x4c\xca\x49\x8d\x2f\xc9\xcf\x4e\xcd\x2b\x56\xd0\xe0\x52\x50\x48\xce\x48\xcc\xcc\x8b\xcf\x4c\x51\x08\xf5\x0b\xf6\x74\xf7\x73\x75\x51\xf0\xf4\x0b\xd1\xe1\x52\x50\x48\x4c\x49\x29\x4a\x2d\x2e\x56\x08\x73\x0c\x72\xf6\x70\x0c\x52\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\xe1\xd2\xb4\x06\x04\x00\x00\xff\xff\xa0\x5f\x37\x13\x54\x00\x00\x00")
func _1649174829_add_visitble_tokenUpSqlBytes() ([]byte, error) {
return bindataRead(
__1649174829_add_visitble_tokenUpSql,
"1649174829_add_visitble_token.up.sql",
)
}
func _1649174829_add_visitble_tokenUpSql() (*asset, error) {
bytes, err := _1649174829_add_visitble_tokenUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1649174829_add_visitble_token.up.sql", size: 84, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1649882262_add_derived_from_accountsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\x4c\x4e\xce\x2f\xcd\x2b\x29\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\x49\x2d\xca\x2c\x4b\x4d\x89\x4f\x2b\xca\xcf\x55\x08\x71\x8d\x08\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\x0a\x0d\x70\x71\x0c\x41\x32\x21\xd8\x35\x04\x55\xab\x2d\x58\x19\x20\x00\x00\xff\xff\x3e\x48\xa7\x03\x6e\x00\x00\x00")
func _1649882262_add_derived_from_accountsUpSqlBytes() ([]byte, error) {
return bindataRead(
__1649882262_add_derived_from_accountsUpSql,
"1649882262_add_derived_from_accounts.up.sql",
)
}
func _1649882262_add_derived_from_accountsUpSql() (*asset, error) {
bytes, err := _1649882262_add_derived_from_accountsUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1649882262_add_derived_from_accounts.up.sql", size: 110, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2022-04-13 07:55:38 +00:00
return a, nil
}
var __1650612625_add_community_message_archive_hashes_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x0e\x72\x75\x0c\x71\x55\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\xf0\xf3\x0f\x51\x70\x8d\xf0\x0c\x0e\x09\x56\x48\xce\xcf\xcd\x2d\xcd\xcb\x2c\xa9\x8c\xcf\x4d\x2d\x2e\x4e\x4c\x4f\x8d\x4f\x2c\x4a\xce\xc8\x2c\x4b\x8d\xcf\x48\x2c\xce\x48\x2d\x56\xd0\xe0\x52\x40\x52\x94\x99\xa2\x10\xe2\x1a\x11\x02\x36\xc1\x2f\xd4\xc7\x47\x87\x4b\x41\x01\xa4\x10\x22\x1a\x10\xe4\xe9\xeb\x18\x14\xa9\xe0\xed\x1a\x09\x57\xc1\xa5\x69\xcd\xc5\xc5\x05\x08\x00\x00\xff\xff\xc1\xb0\x9f\xaa\x82\x00\x00\x00")
func _1650612625_add_community_message_archive_hashes_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
__1650612625_add_community_message_archive_hashes_tableUpSql,
"1650612625_add_community_message_archive_hashes_table.up.sql",
)
}
func _1650612625_add_community_message_archive_hashes_tableUpSql() (*asset, error) {
bytes, err := _1650612625_add_community_message_archive_hashes_tableUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1650612625_add_community_message_archive_hashes_table.up.sql", size: 130, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1650616788_add_communities_archives_info_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\xcd\xb1\x4a\xc5\x30\x18\xc5\xf1\x3d\x4f\x71\x46\x05\x07\x5f\x21\xc6\xaf\x10\x8c\xe9\x25\xf7\xbb\xd0\x4e\x21\xa4\xb1\x86\x36\x29\x98\x28\xf8\xf6\xa2\x43\x37\xe7\x73\xfe\xfc\x94\x23\xc9\x04\x96\x4f\x86\xa0\x07\xd8\x91\x41\x93\xbe\xf2\x15\xf1\x28\xe5\xb3\xe6\x9e\x53\xf3\xe1\x23\xbe\xe7\xaf\xe4\x73\x7d\x3b\x70\x27\x70\x8e\xdf\x3e\x2f\x60\x9a\x18\x17\xa7\x5f\xa5\x9b\xf1\x42\x33\x46\x0b\x35\xda\xc1\x68\xc5\x70\x74\x31\x52\xd1\x83\x00\x4a\x58\x6b\xea\x7b\xae\x9b\x8f\xfb\x11\x37\x68\xcb\x7f\xa2\xbd\x19\x83\x67\x1a\xe4\xcd\x30\x1e\x7f\xaf\x7b\x68\xdd\x97\xd4\x5a\x58\xd3\xa9\xa7\xba\xf8\x25\xf4\xf4\x4f\x27\xee\x85\xf8\x09\x00\x00\xff\xff\x74\x80\x98\x81\xd0\x00\x00\x00")
func _1650616788_add_communities_archives_info_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
__1650616788_add_communities_archives_info_tableUpSql,
"1650616788_add_communities_archives_info_table.up.sql",
)
}
func _1650616788_add_communities_archives_info_tableUpSql() (*asset, error) {
bytes, err := _1650616788_add_communities_archives_info_tableUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1650616788_add_communities_archives_info_table.up.sql", size: 208, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2022-05-18 10:42:51 +00:00
var __1652715604_add_clock_accountsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\x4c\x4e\xce\x2f\xcd\x2b\x29\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xce\xc9\x4f\xce\x56\xf0\xf4\x0b\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x30\xb0\xe6\x02\x04\x00\x00\xff\xff\x33\x72\x9a\x8b\x3e\x00\x00\x00")
func _1652715604_add_clock_accountsUpSqlBytes() ([]byte, error) {
return bindataRead(
__1652715604_add_clock_accountsUpSql,
"1652715604_add_clock_accounts.up.sql",
)
}
func _1652715604_add_clock_accountsUpSql() (*asset, error) {
bytes, err := _1652715604_add_clock_accountsUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1652715604_add_clock_accounts.up.sql", size: 62, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2022-05-18 10:42:51 +00:00
return a, nil
}
var __1653037334_add_notifications_settings_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x92\x5f\x6b\xdb\x30\x14\xc5\xdf\xfd\x29\x2e\x79\x6a\xc0\x0f\xdd\x60\x4f\x7d\x52\x8d\x3a\xcc\x1c\x29\xd8\x6a\x68\x9f\x8c\x52\xdf\xa4\x06\x45\xca\x2c\xb9\xf5\xbe\xfd\x90\x50\x62\x6f\xf5\xfe\x94\xf4\xc5\x70\xcf\xe5\xfc\xa4\x73\xac\xac\xa4\x44\x50\x10\xe4\xb6\xa0\x90\xdf\x01\xe3\x02\xe8\x43\x5e\x89\x0a\xb4\x71\xed\xae\x7d\x92\xae\x35\xda\xd6\x16\x9d\x6b\xf5\xde\xc2\x55\x02\xd0\x36\x20\xe8\x83\x80\x75\x99\xaf\x48\xf9\x08\xdf\xe8\x23\x70\x06\x19\x67\x77\x45\x9e\x09\x28\xe9\xba\x20\x19\x4d\x13\x00\x1c\xf0\x70\xf4\x08\xb8\xe5\xbc\xa0\x84\x79\xd1\xe1\xe0\xea\x17\xa9\x7a\x0c\x1c\x2f\xb5\xfa\xa4\xe4\x2c\x08\x5b\x63\x54\x54\x26\x4e\x1c\xea\x43\xef\xb0\x96\x4a\xd5\x07\xb4\x56\xee\xd1\xfe\xb6\x3f\x62\x67\x8d\x96\x7e\xaf\xc3\xdd\xcf\x67\xe0\x50\xef\x95\xd9\xfe\x61\x65\xdc\x33\x76\x23\xd4\x6f\x92\xe5\x4d\x92\xe4\xac\xa2\xa5\xf0\xd7\xe2\x7f\xef\x24\x85\x69\xde\x30\x8d\x41\xc3\x78\x0e\x19\xa6\x31\x61\x74\xbe\x8d\x76\x5a\xbc\xc9\x34\x1f\x67\x36\x49\xb2\x84\x64\x43\x8a\x7b\x5a\x79\xd8\xd5\x82\x28\x65\x5e\xd9\x34\xc8\x22\x85\xeb\x14\xd8\x7d\x51\x9c\xbe\x9f\x7e\x1d\xc7\xef\x32\x0d\x0c\xae\x51\x18\xae\x31\x7b\x96\x2e\xda\x17\x15\xea\x86\x28\xec\x82\x30\xef\x9e\x21\x7d\xed\x4c\x7f\xbc\x1c\xb3\x8e\x05\xad\x62\x13\x97\xdd\x29\xb4\xfa\x21\x28\xa2\xd4\x2a\xfe\x87\xc8\x11\x7d\xa7\xf9\x6e\xf7\x1e\x48\x66\xb4\x93\x4f\xae\xc4\xef\x3d\xda\x0b\x8b\xca\x1b\x1f\xcb\xfd\xd8\x60\x77\x7e\x00\x1f\x02\xae\x4c\xaf\x1b\xaa\xe5\x56\x61\xf3\xfe\x07\xb5\x31\xaa\x3f\xe0\xd4\xf7\xe5\xfa\xbf\x8e\x8d\xed\xae\x3b\x7c\x69\xf1\x75\x0a\xf8\xfc\x0f\xff\xcd\xcf\x00\x00\x00\xff\xff\x0f\xea\x2f\x15\xfc\x04\x00\x00")
func _1653037334_add_notifications_settings_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
__1653037334_add_notifications_settings_tableUpSql,
"1653037334_add_notifications_settings_table.up.sql",
)
}
func _1653037334_add_notifications_settings_tableUpSql() (*asset, error) {
bytes, err := _1653037334_add_notifications_settings_tableUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1653037334_add_notifications_settings_table.up.sql", size: 1276, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2022-06-08 16:18:56 +00:00
var __1654702119_add_mutual_contact_settingsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x04\xc0\x31\x0e\xc3\x20\x0c\x05\xd0\xbd\xa7\xf8\xf7\xe8\x64\x8a\x99\x5c\x90\x5a\x98\x11\x21\x28\x8a\x44\xc8\x80\xb9\x7f\x1e\x49\xe4\x1f\x22\x19\x61\xcc\xa6\x7a\x8e\x63\x82\xac\xc5\x27\x48\xfa\x7a\x5c\x4b\x57\xe9\xb9\xde\x43\x4b\xd5\xdc\x46\xd9\x7a\xdb\x61\x42\x10\x26\x0f\xcb\x8e\x92\x44\x38\x92\x3f\xbf\x5f\x4f\x00\x00\x00\xff\xff\xb0\x94\xdd\xaf\x4e\x00\x00\x00")
func _1654702119_add_mutual_contact_settingsUpSqlBytes() ([]byte, error) {
return bindataRead(
__1654702119_add_mutual_contact_settingsUpSql,
"1654702119_add_mutual_contact_settings.up.sql",
)
}
func _1654702119_add_mutual_contact_settingsUpSql() (*asset, error) {
bytes, err := _1654702119_add_mutual_contact_settingsUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1654702119_add_mutual_contact_settings.up.sql", size: 78, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2022-06-08 16:18:56 +00:00
return a, nil
}
var __1655375270_add_clock_field_to_communities_settings_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xce\xcf\xcd\x2d\xcd\xcb\x2c\xc9\x4c\x2d\x8e\x2f\x4e\x2d\x29\xc9\xcc\x4b\x2f\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xce\xc9\x4f\xce\x56\xf0\xf4\x0b\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x30\xb0\xe6\x02\x04\x00\x00\xff\xff\xef\xa5\x96\x06\x4a\x00\x00\x00")
func _1655375270_add_clock_field_to_communities_settings_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
__1655375270_add_clock_field_to_communities_settings_tableUpSql,
"1655375270_add_clock_field_to_communities_settings_table.up.sql",
)
}
func _1655375270_add_clock_field_to_communities_settings_tableUpSql() (*asset, error) {
bytes, err := _1655375270_add_clock_field_to_communities_settings_tableUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1655375270_add_clock_field_to_communities_settings_table.up.sql", size: 74, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1655385721_drop_networks_configUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xc8\x4b\x2d\x29\xcf\x2f\xca\x8e\x4f\xce\xcf\x4b\xcb\x4c\xb7\xe6\x02\x04\x00\x00\xff\xff\x54\x1e\xe3\x22\x1b\x00\x00\x00")
func _1655385721_drop_networks_configUpSqlBytes() ([]byte, error) {
return bindataRead(
__1655385721_drop_networks_configUpSql,
"1655385721_drop_networks_config.up.sql",
)
}
func _1655385721_drop_networks_configUpSql() (*asset, error) {
bytes, err := _1655385721_drop_networks_configUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1655385721_drop_networks_config.up.sql", size: 27, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1655385724_networks_chaincolor_shortnameUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\xc8\x4b\x2d\x29\xcf\x2f\xca\x2e\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xce\x48\xcc\xcc\x8b\x4f\xce\xcf\xc9\x2f\x52\x08\x73\x0c\x72\xf6\x70\x0c\x52\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\x0a\x0d\x70\x71\x0c\x41\x32\x23\xd8\x35\x04\x45\xb3\x2d\x58\x15\x21\xeb\x8a\x33\xf2\x8b\x4a\xe2\xf3\x12\x73\x53\x49\xb7\x0d\x49\x2f\xc4\x32\x40\x00\x00\x00\xff\xff\xc0\x40\xb8\xeb\xdc\x00\x00\x00")
func _1655385724_networks_chaincolor_shortnameUpSqlBytes() ([]byte, error) {
return bindataRead(
__1655385724_networks_chaincolor_shortnameUpSql,
"1655385724_networks_chainColor_shortName.up.sql",
)
}
func _1655385724_networks_chaincolor_shortnameUpSql() (*asset, error) {
bytes, err := _1655385724_networks_chaincolor_shortnameUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1655385724_networks_chainColor_shortName.up.sql", size: 220, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1655456688_add_deleted_at_field_to_bookmarks_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xca\xcf\xcf\xce\x4d\x2c\xca\x2e\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\x49\xcd\x49\x2d\x49\x4d\x89\x4f\x2c\x51\xf0\xf4\x0b\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x30\xb0\xe6\xe2\x02\x04\x00\x00\xff\xff\xd1\x47\x6f\xbd\x45\x00\x00\x00")
func _1655456688_add_deleted_at_field_to_bookmarks_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
__1655456688_add_deleted_at_field_to_bookmarks_tableUpSql,
"1655456688_add_deleted_at_field_to_bookmarks_table.up.sql",
)
}
func _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql() (*asset, error) {
bytes, err := _1655456688_add_deleted_at_field_to_bookmarks_tableUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql", size: 69, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1655462032_create_bookmarks_deleted_at_indexUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x0e\x72\x75\x0c\x71\x55\xf0\xf4\x73\x71\x8d\x50\x48\x49\xcd\x49\x2d\x49\x4d\x89\x4f\x2c\x89\x4f\xca\xcf\xcf\xce\x4d\x2c\xca\x2e\x56\xf0\xf7\x53\x40\x70\x34\x10\x4a\x34\x15\xc2\x3d\x5c\x83\x5c\x51\x84\xac\xb9\xb8\x00\x01\x00\x00\xff\xff\xb9\x08\x04\xda\x51\x00\x00\x00")
func _1655462032_create_bookmarks_deleted_at_indexUpSqlBytes() ([]byte, error) {
return bindataRead(
__1655462032_create_bookmarks_deleted_at_indexUpSql,
"1655462032_create_bookmarks_deleted_at_index.up.sql",
)
}
func _1655462032_create_bookmarks_deleted_at_indexUpSql() (*asset, error) {
bytes, err := _1655462032_create_bookmarks_deleted_at_indexUpSqlBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "1655462032_create_bookmarks_deleted_at_index.up.sql", size: 81, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var __1657617291_add_multi_transactions_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x90\xc1\x8a\xc3\x20\x18\x84\xef\x3e\xc5\x7f\xdc\x85\x7d\x83\x9c\x4c\xe2\x66\x05\xd7\x80\x31\xcb\xde\x82\x54\x53\x84\xaa\x41\xcd\xa1\x6f\x5f\x1a\x4a\x69\x28\x49\x7b\x9e\x6f\x66\xe0\xab\x04\xc1\x92\x80\xc4\x25\x23\x40\xbf\x81\xb7\x12\xc8\x3f\xed\x64\x07\x6e\x3e\x65\x3b\xe4\xa8\x7c\x52\x87\x6c\x83\x4f\xf0\x81\x00\x00\xc6\x18\xdc\xa0\xb4\x8e\x26\x25\xf8\xc3\xa2\xfa\xc1\x62\x29\xf2\x9e\xb1\xaf\x07\x24\x25\x93\x77\x01\x17\x66\xbf\x45\xe4\xf0\xe2\xe3\x0a\xec\x3c\xe4\xf3\x64\xb6\x22\xeb\x4c\xca\xca\x4d\xd0\xf3\x8e\x36\x9c\xd4\x50\xd2\x86\x72\x79\xe7\xd0\x67\x81\x10\x66\x92\x88\x9b\x9a\xc9\x78\x6d\xfd\x71\xad\x03\xd7\x35\x54\x2d\xeb\x7f\xf9\xb3\xac\xc1\x6a\xa0\x5c\x16\xab\x95\x25\x1f\x4d\x7c\xaf\x7a\x09\x00\x00\xff\xff\x77\x37\x07\x31\x9c\x01\x00\x00")
func _1657617291_add_multi_transactions_tableUpSqlBytes() ([]byte, error) {
return bindataRead(
__1657617291_add_multi_transactions_tableUpSql,
"1657617291_add_multi_transactions_table.up.sql",
)
}
func _1657617291_add_multi_transactions_tableUpSql() (*asset, error) {
bytes, err := _1657617291_add_multi_transactions_tableUpSqlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "1657617291_add_multi_transactions_table.up.sql", size: 412, mode: os.FileMode(436), modTime: time.Unix(1657624404, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-09-04 06:25:33 +00:00
var _docGo = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x2c\xc9\xb1\x0d\xc4\x20\x0c\x05\xd0\x9e\x29\xfe\x02\xd8\xfd\x6d\xe3\x4b\xac\x2f\x44\x82\x09\x78\x7f\xa5\x49\xfd\xa6\x1d\xdd\xe8\xd8\xcf\x55\x8a\x2a\xe3\x47\x1f\xbe\x2c\x1d\x8c\xfa\x6f\xe3\xb4\x34\xd4\xd9\x89\xbb\x71\x59\xb6\x18\x1b\x35\x20\xa2\x9f\x0a\x03\xa2\xe5\x0d\x00\x00\xff\xff\x60\xcd\x06\xbe\x4a\x00\x00\x00")
2019-07-25 05:35:09 +00:00
2019-09-04 06:25:33 +00:00
func docGoBytes() ([]byte, error) {
return bindataRead(
_docGo,
2019-07-25 05:35:09 +00:00
"doc.go",
)
}
2019-09-04 06:25:33 +00:00
func docGo() (*asset, error) {
bytes, err := docGoBytes()
if err != nil {
return nil, err
}
2022-07-15 08:53:56 +00:00
info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(436), modTime: time.Unix(1657613591, 0)}
a := &asset{bytes: bytes, info: info}
2019-09-04 06:25:33 +00:00
return a, nil
}
2019-07-25 05:35:09 +00:00
// 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 Asset(name string) ([]byte, error) {
2022-07-15 08:53:56 +00:00
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
2019-09-04 06:25:33 +00:00
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
2019-07-25 05:35:09 +00:00
}
return nil, fmt.Errorf("Asset %s not found", name)
}
2019-09-04 06:25:33 +00:00
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
if err != nil {
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// 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 AssetInfo(name string) (os.FileInfo, error) {
2022-07-15 08:53:56 +00:00
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
2019-09-04 06:25:33 +00:00
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
2019-07-25 05:35:09 +00:00
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
2019-09-04 06:25:33 +00:00
var _bindata = map[string]func() (*asset, error){
2022-07-15 08:53:56 +00:00
"1640111208_dummy.up.sql": _1640111208_dummyUpSql,
"1642666031_add_removed_clock_to_bookmarks.up.sql": _1642666031_add_removed_clock_to_bookmarksUpSql,
"1643644541_gif_api_key_setting.up.sql": _1643644541_gif_api_key_settingUpSql,
"1644188994_recent_stickers.up.sql": _1644188994_recent_stickersUpSql,
"1646659233_add_address_to_dapp_permisssion.up.sql": _1646659233_add_address_to_dapp_permisssionUpSql,
"1646841105_add_emoji_account.up.sql": _1646841105_add_emoji_accountUpSql,
"1647278782_display_name.up.sql": _1647278782_display_nameUpSql,
"1647862838_reset_last_backup.up.sql": _1647862838_reset_last_backupUpSql,
"1647871652_add_settings_sync_clock_table.up.sql": _1647871652_add_settings_sync_clock_tableUpSql,
"1647880168_add_torrent_config.up.sql": _1647880168_add_torrent_configUpSql,
"1647882837_add_communities_settings_table.up.sql": _1647882837_add_communities_settings_tableUpSql,
"1647956635_add_waku_messages_table.up.sql": _1647956635_add_waku_messages_tableUpSql,
"1648554928_network_test.up.sql": _1648554928_network_testUpSql,
"1649174829_add_visitble_token.up.sql": _1649174829_add_visitble_tokenUpSql,
"1649882262_add_derived_from_accounts.up.sql": _1649882262_add_derived_from_accountsUpSql,
"1650612625_add_community_message_archive_hashes_table.up.sql": _1650612625_add_community_message_archive_hashes_tableUpSql,
"1650616788_add_communities_archives_info_table.up.sql": _1650616788_add_communities_archives_info_tableUpSql,
"1652715604_add_clock_accounts.up.sql": _1652715604_add_clock_accountsUpSql,
"1653037334_add_notifications_settings_table.up.sql": _1653037334_add_notifications_settings_tableUpSql,
"1654702119_add_mutual_contact_settings.up.sql": _1654702119_add_mutual_contact_settingsUpSql,
"1655375270_add_clock_field_to_communities_settings_table.up.sql": _1655375270_add_clock_field_to_communities_settings_tableUpSql,
2022-07-15 08:53:56 +00:00
"1655385721_drop_networks_config.up.sql": _1655385721_drop_networks_configUpSql,
"1655385724_networks_chainColor_shortName.up.sql": _1655385724_networks_chaincolor_shortnameUpSql,
"1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql,
"1655462032_create_bookmarks_deleted_at_index.up.sql": _1655462032_create_bookmarks_deleted_at_indexUpSql,
"1657617291_add_multi_transactions_table.up.sql": _1657617291_add_multi_transactions_tableUpSql,
"doc.go": docGo,
}
2019-07-25 05:35:09 +00:00
// 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
2022-07-15 08:53:56 +00:00
// 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
2019-07-25 05:35:09 +00:00
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
2022-07-15 08:53:56 +00:00
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
2019-07-25 05:35:09 +00:00
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
2019-09-04 06:25:33 +00:00
for childName := range node.Children {
rv = append(rv, childName)
2019-07-25 05:35:09 +00:00
}
return rv, nil
}
2019-09-04 06:25:33 +00:00
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
2019-07-25 05:35:09 +00:00
}
2019-09-04 06:25:33 +00:00
var _bintree = &bintree{nil, map[string]*bintree{
"1640111208_dummy.up.sql": &bintree{_1640111208_dummyUpSql, map[string]*bintree{}},
"1642666031_add_removed_clock_to_bookmarks.up.sql": &bintree{_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}},
"1643644541_gif_api_key_setting.up.sql": &bintree{_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}},
"1644188994_recent_stickers.up.sql": &bintree{_1644188994_recent_stickersUpSql, map[string]*bintree{}},
"1646659233_add_address_to_dapp_permisssion.up.sql": &bintree{_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}},
"1646841105_add_emoji_account.up.sql": &bintree{_1646841105_add_emoji_accountUpSql, map[string]*bintree{}},
"1647278782_display_name.up.sql": &bintree{_1647278782_display_nameUpSql, map[string]*bintree{}},
"1647862838_reset_last_backup.up.sql": &bintree{_1647862838_reset_last_backupUpSql, map[string]*bintree{}},
"1647871652_add_settings_sync_clock_table.up.sql": &bintree{_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}},
"1647880168_add_torrent_config.up.sql": &bintree{_1647880168_add_torrent_configUpSql, map[string]*bintree{}},
"1647882837_add_communities_settings_table.up.sql": &bintree{_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}},
"1647956635_add_waku_messages_table.up.sql": &bintree{_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}},
"1648554928_network_test.up.sql": &bintree{_1648554928_network_testUpSql, map[string]*bintree{}},
"1649174829_add_visitble_token.up.sql": &bintree{_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}},
"1649882262_add_derived_from_accounts.up.sql": &bintree{_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}},
"1650612625_add_community_message_archive_hashes_table.up.sql": &bintree{_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}},
"1650616788_add_communities_archives_info_table.up.sql": &bintree{_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}},
"1652715604_add_clock_accounts.up.sql": &bintree{_1652715604_add_clock_accountsUpSql, map[string]*bintree{}},
"1653037334_add_notifications_settings_table.up.sql": &bintree{_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}},
"1654702119_add_mutual_contact_settings.up.sql": &bintree{_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}},
"1655375270_add_clock_field_to_communities_settings_table.up.sql": &bintree{_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}},
"1655385721_drop_networks_config.up.sql": &bintree{_1655385721_drop_networks_configUpSql, map[string]*bintree{}},
"1655385724_networks_chainColor_shortName.up.sql": &bintree{_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}},
"1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": &bintree{_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}},
"1655462032_create_bookmarks_deleted_at_index.up.sql": &bintree{_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}},
2022-07-15 08:53:56 +00:00
"1657617291_add_multi_transactions_table.up.sql": &bintree{_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}},
"doc.go": &bintree{docGo, map[string]*bintree{}},
2019-07-25 05:35:09 +00:00
}}
2019-09-04 06:25:33 +00:00
2022-07-15 08:53:56 +00:00
// RestoreAsset restores an asset under the given directory
2019-09-04 06:25:33 +00:00
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
2022-07-15 08:53:56 +00:00
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
2019-09-04 06:25:33 +00:00
}
2022-07-15 08:53:56 +00:00
// RestoreAssets restores an asset under the given directory recursively
2019-09-04 06:25:33 +00:00
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
}
func _filePath(dir, name string) string {
2022-07-15 08:53:56 +00:00
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
2019-09-04 06:25:33 +00:00
}