summary history files

desktop/db/migrations/bindata.go
// Code generated by go-bindata. DO NOT EDIT.
// sources:
// 000001_init.down.sql
// 000001_init.up.sql
// 000002_transactions.down.sql
// 000002_transactions.up.sql
// 000003_import_transaction.down.sql
// 000003_import_transaction.up.sql
// 000004_transaction_hash.down.sql
// 000004_transaction_hash.up.sql
// 000005_auto-importer.down.sql
// 000005_auto-importer.up.sql
// 000006_account_match.down.sql
// 000006_account_match.up.sql
// 000007_tags.down.sql
// 000007_tags.up.sql
// 000008_comments.down.sql
// 000008_comments.up.sql
// 000009_attachments.down.sql
// 000009_attachments.up.sql
// 000010_doubleentry.down.sql
// 000010_doubleentry.up.sql
// migrations.go
// migrations_test.go
package migrations

import (
	"bytes"
	"compress/gzip"
	"fmt"
	"io"
	"io/ioutil"
	"os"
	"path/filepath"
	"strings"
	"time"
)

func bindataRead(data []byte, name string) ([]byte, error) {
	gz, err := gzip.NewReader(bytes.NewBuffer(data))
	if err != nil {
		return nil, fmt.Errorf("Read %q: %v", name, err)
	}

	var buf bytes.Buffer
	_, err = io.Copy(&buf, gz)
	clErr := gz.Close()

	if err != nil {
		return nil, fmt.Errorf("Read %q: %v", name, err)
	}
	if clErr != nil {
		return nil, err
	}

	return buf.Bytes(), nil
}

type asset struct {
	bytes []byte
	info  os.FileInfo
}

type bindataFileInfo struct {
	name    string
	size    int64
	mode    os.FileMode
	modTime time.Time
}

func (fi bindataFileInfo) Name() string {
	return fi.name
}
func (fi bindataFileInfo) Size() int64 {
	return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
	return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
	return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
	return false
}
func (fi bindataFileInfo) Sys() interface{} {
	return nil
}

var __000001_initDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x48\xcd\x2b\xc9\x2c\xa9\xb4\xe6\xc2\x23\x19\x9f\x58\x52\x52\x94\x99\x54\x5a\x92\x5a\x8c\x5f\x5d\x49\x65\x41\x2a\x61\x15\x84\x8d\x4b\x4c\x4e\xce\x2f\xcd\x2b\xc1\x67\x1e\xb2\x12\xa2\x0d\x24\x60\x16\xde\xa0\x80\x29\x42\xb6\x0b\x10\x00\x00\xff\xff\x15\xc4\xc9\xb6\x51\x01\x00\x00")

func _000001_initDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000001_initDownSql,
		"000001_init.down.sql",
	)
}

func _000001_initDownSql() (*asset, error) {
	bytes, err := _000001_initDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000001_init.down.sql", size: 337, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000001_initUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x95\x51\x4f\x83\x30\x14\x85\xdf\xfb\x2b\xee\xe3\x48\xf8\x07\x3e\xe1\x72\x59\x1a\xb1\xd3\xae\x24\xdb\x13\xa9\xb3\x0f\x24\x8a\xcb\x2c\x26\xfb\xf7\x06\xca\x18\x43\x90\x16\x70\xf1\x75\x3d\x3d\xbb\xe7\x7e\x27\x65\xc9\x31\x10\x08\x22\xb8\x8f\x10\x68\x08\x6c\x2d\x00\xb7\x74\x23\x36\xa0\x32\x9d\xea\x13\x90\x05\x01\x00\x48\x5f\x81\x32\x81\x2b\xe4\xa5\x86\xc5\x51\x04\x4f\x9c\x3e\x06\x7c\x07\x0f\xb8\xf3\x4b\x51\x26\xdf\x15\x08\xdc\x8a\x5a\x63\x7e\x37\x56\x89\x3e\x1d\x54\xd2\x61\x64\x44\x31\xa3\xcf\x31\x2e\x0a\x0f\xbf\x75\xc3\x23\xde\x1d\x21\x83\xb3\x26\x52\xeb\x63\xfa\x92\x6b\xf5\xe9\x32\x75\x75\xb9\x77\xb0\xbe\x54\x5f\xf2\x2d\xef\x3c\xa8\x92\xd4\xbe\x7e\x69\xe1\x99\xc3\x70\xcd\x91\xae\x58\xf1\xf7\x17\x85\x07\x1c\x43\xe4\xc8\x96\x78\x0e\xb3\xb0\x8f\x5d\x6c\x69\x0e\x4c\x07\x79\x54\x99\xb6\x24\x54\x8b\x5d\xa6\x9c\x46\xe8\xf7\xfe\x4c\xc4\x54\x99\x0f\xb1\x3a\x37\xf2\x27\xb0\xf2\xc8\x86\x9a\xdc\xef\x3f\xf2\x4c\xff\x77\x6c\xcd\x31\x47\x72\xbb\xb2\x98\x1d\x5c\xcb\xbd\x97\x5c\x4b\x77\x85\xae\x79\xe6\xc0\xee\x16\xd8\xec\x96\x37\xf4\x78\x75\xc3\xf7\xa1\xf1\x38\xb5\xf7\xe3\xfe\x4e\xdd\x64\xe7\x13\x3b\xf8\x67\xf5\xb3\x68\x5e\xf7\x02\x5c\xb2\x9b\x5d\xcf\x9a\xdb\xb2\x39\xcd\x98\x97\x1e\x8c\xc9\x3a\xee\xfb\xf7\x1d\x00\x00\xff\xff\x42\xf4\x48\xec\xa2\x08\x00\x00")

func _000001_initUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000001_initUpSql,
		"000001_init.up.sql",
	)
}

func _000001_initUpSql() (*asset, error) {
	bytes, err := _000001_initUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000001_init.up.sql", size: 2210, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000002_transactionsDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x28\x2e\xc8\xc9\x2c\x29\xb6\xe6\xc2\x23\x19\x9f\x58\x52\x52\x94\x99\x54\x5a\x92\x8a\x4b\x5d\x49\x51\x62\x5e\x71\x62\x72\x49\x66\x7e\x1e\x31\x4a\x08\x1b\x98\x5c\x5a\x54\x94\x9a\x97\x5c\x69\xcd\x05\x08\x00\x00\xff\xff\x96\x33\xf3\x1c\xb5\x00\x00\x00")

func _000002_transactionsDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000002_transactionsDownSql,
		"000002_transactions.down.sql",
	)
}

func _000002_transactionsDownSql() (*asset, error) {
	bytes, err := _000002_transactionsDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000002_transactions.down.sql", size: 181, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000002_transactionsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x92\xcf\x6e\x83\x30\x0c\xc6\xef\x3c\x85\x8f\x20\xf5\x0d\x76\xa2\x95\x41\xd1\x58\xba\xa5\x41\x6a\x4f\x28\x83\x1c\x22\x95\x30\x81\x99\xb4\xb7\x9f\x0a\x2d\x85\x02\x55\xd9\x9f\xeb\xe7\xef\xb3\x9d\x5f\xbc\x11\xe8\x4b\x04\xe9\xaf\x23\x04\x16\x00\xdf\x4a\xc0\x3d\xdb\xc9\x1d\xa4\x75\x59\x6a\x9b\x7e\x39\xae\x03\x00\x60\x32\x60\x5c\x62\x88\xa2\x31\xf1\x38\x8a\xe0\x55\xb0\x17\x5f\x1c\xe0\x19\x0f\xab\xc6\x64\x55\xae\x41\xe2\x5e\x76\x1e\xc7\x7b\x72\x9c\x3b\x53\xa8\x54\xb6\x52\x29\x99\xc2\x56\x4b\x26\x5d\xb6\x4b\x26\xdc\xad\x43\x5b\x32\x74\xa7\x9e\xeb\xbc\x18\xee\xda\xea\x99\x22\x3d\xa5\x07\x5b\x81\x2c\xe4\xa7\x15\xdc\xde\x74\x0f\x04\x06\x28\x90\x6f\xf0\xca\xcc\x35\x99\x37\x4e\x75\x1b\x0d\x32\xad\x7a\x4a\x2c\x61\x95\x28\xa2\xd2\xbc\xd7\xa4\x17\x61\x1b\xb4\x98\x45\x33\xfe\xc6\x56\xff\x54\xc7\x7a\xb2\x10\x73\xf6\x16\xa3\x7b\xd3\x7d\xd5\x34\x9a\x00\x71\xe3\x1b\xe0\xe8\xd7\x1e\x81\x52\x7d\x1c\x0d\xfd\x03\x03\x95\xa6\x45\x6d\x69\xde\xd0\xc0\x48\x6c\x9d\xc3\x9a\x85\x8c\x4f\xb2\x4a\x32\x6d\x8b\x19\xc3\x1c\xb3\xeb\xe0\x5f\x92\x1b\xa7\x7b\xad\xfb\xc1\xb3\xfc\x38\xed\x1f\x1e\xdf\x39\xfc\xe7\x67\xd7\xf5\x9d\x3d\xb8\xce\x31\x78\x77\xab\x5e\x9e\xfd\x1d\x00\x00\xff\xff\x9d\xec\x89\x9b\x0b\x05\x00\x00")

func _000002_transactionsUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000002_transactionsUpSql,
		"000002_transactions.up.sql",
	)
}

func _000002_transactionsUpSql() (*asset, error) {
	bytes, err := _000002_transactionsUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000002_transactions.up.sql", size: 1291, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000003_import_transactionDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x48\x2e\x2d\x2a\x4a\xcd\x4b\xae\x8c\x4f\x2c\x29\x29\xca\x4c\x2a\x2d\x49\x2d\xb6\xe6\x02\x04\x00\x00\xff\xff\xb4\x64\x39\xe6\x2a\x00\x00\x00")

func _000003_import_transactionDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000003_import_transactionDownSql,
		"000003_import_transaction.down.sql",
	)
}

func _000003_import_transactionDownSql() (*asset, error) {
	bytes, err := _000003_import_transactionDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000003_import_transaction.down.sql", size: 42, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000003_import_transactionUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\xcf\x41\x0b\x82\x40\x10\x05\xe0\xfb\xfe\x8a\x77\x74\xc1\x7f\xd0\xc9\xe4\x29\x4b\xb6\xd6\x3a\x82\x9e\xc2\xd4\x83\x50\x1e\x4c\x83\xfe\x7d\xa4\x50\x12\x5e\xe7\x7d\xf3\x98\x09\x1d\x03\x21\x24\xd8\x27\x84\x89\x60\x53\x01\x0b\x93\x49\x86\x7a\x1a\x86\xb6\xaf\x5f\x97\x6a\x1c\x87\xee\x3a\x8d\xed\x43\x79\x0a\x00\xba\x06\xc6\x0a\x63\xba\xd9\xdb\x3c\x49\x70\x72\xe6\x18\xb8\x12\x07\x96\xfe\x8c\xbe\xeb\x1b\x7a\x11\x7d\x75\x6f\x21\x2c\xe4\x6f\xfe\xac\x6e\xd3\x66\x90\x5b\x73\xce\xe9\xad\x9a\xfd\xb9\x44\x2f\x71\x94\x3a\x9a\xd8\x7e\x4e\x58\x1b\x0d\xc7\x88\x8e\x36\xe4\xef\x29\xaf\x6b\xb4\xd2\x3b\xf5\x0e\x00\x00\xff\xff\x13\x89\x9a\x1a\x00\x01\x00\x00")

func _000003_import_transactionUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000003_import_transactionUpSql,
		"000003_import_transaction.up.sql",
	)
}

func _000003_import_transactionUpSql() (*asset, error) {
	bytes, err := _000003_import_transactionUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000003_import_transaction.up.sql", size: 256, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000004_transaction_hashDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x28\x29\x4a\xcc\x2b\x4e\x4c\x2e\xc9\xcc\xcf\x2b\x8e\xcf\x48\x2c\xce\x88\x2f\xa9\x2c\x48\xb5\xe6\x22\x4e\xb1\x35\x17\x17\x20\x00\x00\xff\xff\x04\x84\x85\x31\x56\x00\x00\x00")

func _000004_transaction_hashDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000004_transaction_hashDownSql,
		"000004_transaction_hash.down.sql",
	)
}

func _000004_transaction_hashDownSql() (*asset, error) {
	bytes, err := _000004_transaction_hashDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000004_transaction_hash.down.sql", size: 86, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000004_transaction_hashUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x91\xc1\x6a\x84\x30\x14\x45\xf7\xf9\x8a\xbb\x34\xe0\x1f\x74\x65\xe5\x29\xa1\x36\xb6\x31\x82\xae\x24\x54\x41\x17\x75\x86\xd1\xcd\xfc\xfd\x90\x08\xce\x28\x86\xc1\x6d\x72\xcf\x79\xf7\x25\xb1\xa2\x48\x13\x74\xf4\x99\x11\x44\x02\x99\x6b\x50\x25\x0a\x5d\x60\xbe\x99\x71\x32\x7f\xf3\x70\x19\xa7\xa6\x37\x53\xdf\xcc\xf7\x6b\x87\x80\x01\xc0\xd0\x42\x48\x4d\x29\x29\x87\xc8\x32\xcb\xf0\xa3\xc4\x77\xa4\x6a\x7c\x51\x1d\xba\xd0\x68\xfe\x3b\x68\xaa\xf4\x9a\x59\xce\x4b\x29\x7e\x4b\x0a\xec\x35\x67\xfc\x83\xb1\x33\x2d\xce\x14\xd8\xc0\x07\xc4\x41\x6a\x5d\xd4\x9f\x77\x2d\xfc\x6b\xed\x86\x86\x7e\x7f\xe8\x54\x7c\xa1\x93\x5c\x91\x48\xa5\x2d\xbf\x57\x70\x28\x4a\x48\x91\x8c\x69\xfb\x20\xc1\xd0\xbe\xa3\x5f\xe7\x79\x3d\xcf\x94\x35\xda\x2f\x79\x04\x00\x00\xff\xff\x6c\x08\x83\x0f\x18\x02\x00\x00")

func _000004_transaction_hashUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000004_transaction_hashUpSql,
		"000004_transaction_hash.up.sql",
	)
}

func _000004_transaction_hashUpSql() (*asset, error) {
	bytes, err := _000004_transaction_hashUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000004_transaction_hash.up.sql", size: 536, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000005_autoImporterDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x28\x29\x4a\xcc\x2b\x4e\x4c\x2e\xc9\xcc\xcf\x8b\xcf\xcc\x2d\xc8\x2f\x2a\x49\x2d\x8a\x2f\x2e\x49\x2c\x29\x2d\xb6\xe6\x22\x5a\x87\x35\x17\x20\x00\x00\xff\xff\x7a\x91\x57\x28\x5d\x00\x00\x00")

func _000005_autoImporterDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000005_autoImporterDownSql,
		"000005_auto-importer.down.sql",
	)
}

func _000005_autoImporterDownSql() (*asset, error) {
	bytes, err := _000005_autoImporterDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000005_auto-importer.down.sql", size: 93, mode: os.FileMode(420), modTime: time.Unix(1722728994, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000005_autoImporterUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x91\xc1\x6e\xc3\x20\x10\x44\xef\x7c\xc5\x1e\x41\xea\x1f\xf4\xe4\x46\xeb\x08\xd5\x25\x2d\xc1\x52\x72\x42\x08\xb6\x2a\x6a\xed\x54\x40\x2e\xfd\xfa\xca\x26\xcd\xc9\xae\xe4\xeb\xce\x8c\x78\x33\xec\x34\x36\x06\xc1\x34\x4f\x1d\x82\x6c\x41\x1d\x0c\xe0\x49\x1e\xcd\x11\x4a\x72\x63\x76\xbe\xc4\xcb\x68\xe3\xf0\x7d\x49\x85\x92\xcd\xc5\x95\x6b\x66\x9c\x01\x00\xc4\x00\x52\x19\xdc\xa3\x9e\x73\xaa\xef\x3a\x78\xd5\xf2\xa5\xd1\x67\x78\xc6\xf3\xc3\x6c\x1a\xdd\x40\x60\xf0\x64\xee\x9e\x7a\xef\x95\x7c\xeb\x91\x4f\xb2\x60\xe2\x91\xb1\x8d\x28\x5b\x18\x2a\xb5\x5d\xf0\x56\xfd\x3d\x7e\xd1\x1a\xe7\xa4\xe5\xf8\x43\x2b\x51\xff\x41\xfe\x33\x5f\x87\xa5\x68\x70\x85\xac\x4f\xe4\x0a\x85\x55\xfd\xd6\x67\xd1\x70\xdb\xe8\xef\x0d\x51\xaf\xed\x41\xa3\xdc\xab\xa9\x1e\xbf\x37\x13\xa0\xb1\x45\x8d\x6a\x87\xff\x7e\x1d\x8f\x61\x9e\xfb\x37\x00\x00\xff\xff\x63\xbf\x7c\xae\xf9\x01\x00\x00")

func _000005_autoImporterUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000005_autoImporterUpSql,
		"000005_auto-importer.up.sql",
	)
}

func _000005_autoImporterUpSql() (*asset, error) {
	bytes, err := _000005_autoImporterUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000005_auto-importer.up.sql", size: 505, mode: os.FileMode(420), modTime: time.Unix(1722728994, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000006_account_matchDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x48\x4c\x4e\xce\x2f\xcd\x2b\x89\xcf\x4d\x2c\x49\xce\xb0\xe6\x22\xac\x26\x3e\xb1\xa4\xa4\x28\x33\xa9\xb4\x24\xb5\x98\x28\xe5\x45\xa9\xe9\xa9\x15\xd6\x5c\x80\x00\x00\x00\xff\xff\x28\xfc\xcb\x74\x7d\x00\x00\x00")

func _000006_account_matchDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000006_account_matchDownSql,
		"000006_account_match.down.sql",
	)
}

func _000006_account_matchDownSql() (*asset, error) {
	bytes, err := _000006_account_matchDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000006_account_match.down.sql", size: 125, mode: os.FileMode(420), modTime: time.Unix(1723148738, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000006_account_matchUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x91\xd1\x4a\xc3\x30\x14\x86\xef\xf3\x14\xe7\xb2\x85\xbc\x81\x57\x75\x9c\x8e\x60\xcd\x34\x4b\x61\xbb\x2a\x31\x0b\x1a\x70\x29\xb4\x89\xf8\xf8\xb2\x44\x07\x6e\x09\x5a\xd0\xdb\xe6\xff\xbf\xd3\xf3\x9d\x95\xc0\x46\x22\xc8\xe6\xb6\x43\x60\x2d\xf0\x8d\x04\xdc\xb1\xad\xdc\x82\xd2\x7a\x0c\xce\x0f\x47\xe5\xf5\x0b\xa9\x08\x00\x80\x3d\x00\xe3\x12\xd7\x28\x62\x92\xf7\x5d\x07\x0f\x82\xdd\x37\x62\x0f\x77\xb8\xa7\x31\xe4\xd4\xd1\x80\xc4\x9d\x3c\x67\xd2\xf7\x79\x0c\x93\x36\xc3\x17\x37\xc3\x4a\xb9\x83\x99\xbd\x75\xca\xdb\xd1\xfd\x1c\xee\x39\x7b\xec\xb1\x3a\xcd\xa4\xd7\x13\x68\x01\x56\xa7\x72\xbb\x11\xc8\xd6\xfc\xf4\xeb\xd5\x55\xb7\x06\x81\x2d\x0a\xe4\x2b\x3c\xcb\xa8\xb2\xd5\xc2\x8c\x42\x9f\xd4\x37\x84\xfc\xd6\xfb\xa0\xbc\x9f\xec\x53\xf0\x66\x5e\x72\x82\xef\x8c\xa2\xbc\xd2\xa5\xde\xd4\x6b\xc8\x3e\x7c\xda\xbe\xc4\xd3\x48\xca\x98\xb9\x0c\xe6\x9c\xa4\xc7\xe5\x66\x26\xf3\x6c\xde\xff\x41\x4a\xe4\x2e\x5a\x3e\x36\xfe\x64\xfb\x8f\x00\x00\x00\xff\xff\x55\xd3\xb0\x09\x8f\x03\x00\x00")

func _000006_account_matchUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000006_account_matchUpSql,
		"000006_account_match.up.sql",
	)
}

func _000006_account_matchUpSql() (*asset, error) {
	bytes, err := _000006_account_matchUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000006_account_match.up.sql", size: 911, mode: os.FileMode(420), modTime: time.Unix(1723148738, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000007_tagsDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x28\x49\x4c\xb7\xe6\xc2\x25\x13\x9f\x58\x52\x52\x94\x99\x54\x5a\x92\x5a\x8c\x47\x51\x49\x51\x62\x5e\x71\x62\x72\x49\x66\x7e\x1e\x3e\x65\x45\xa9\xe9\xa9\x15\xd6\x5c\x80\x00\x00\x00\xff\xff\xa1\xc0\x1b\x0d\x86\x00\x00\x00")

func _000007_tagsDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000007_tagsDownSql,
		"000007_tags.down.sql",
	)
}

func _000007_tagsDownSql() (*asset, error) {
	bytes, err := _000007_tagsDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000007_tags.down.sql", size: 134, mode: os.FileMode(420), modTime: time.Unix(1723236028, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000007_tagsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x91\x41\x6b\x84\x30\x10\x85\xef\xf9\x15\x73\x34\xe0\x3f\xe8\xc9\xca\x28\xa1\x36\xb6\x31\x82\x9e\x4a\x5a\x83\x04\xba\x2e\x68\x5c\xf6\xe7\x2f\xc6\x65\x71\xc5\x15\x05\xaf\x79\xdf\x7b\x93\x37\x13\x0a\x0c\x24\x82\x0c\xde\x13\x04\x16\x01\x4f\x25\x60\xc1\x32\x99\x81\x55\x35\xf1\x08\x00\x80\xa9\x80\x71\x89\x31\x0a\xa7\xf3\x3c\x49\xe0\x4b\xb0\xcf\x40\x94\xf0\x81\xa5\xef\xa0\x46\x9d\x34\x48\x2c\xe4\x83\x19\xdf\x73\xce\xbe\x73\xf4\x06\x99\x12\xfa\x46\xc8\xfa\xc8\x1f\x65\x6d\x6b\x7e\x7b\xab\xbb\x3d\xd3\x07\xe7\x02\xb8\xfe\xb5\x8b\xfa\xef\xd7\xfe\x3c\x86\xfa\xce\x4f\x47\x25\x4a\x05\xb2\x98\x0f\x83\xef\x32\x05\x81\x11\x0a\xe4\x21\xba\x02\x9e\xa9\x36\xf5\xb4\xad\x6a\x3a\xf5\x67\xcd\xb9\x39\xae\xe9\x34\xf4\x35\x35\xab\x37\x33\xed\x6a\xba\xc0\xce\xd2\x9e\x4c\x13\x6d\xeb\x9e\x5a\x5d\xeb\xeb\x61\x0b\x72\x69\x1b\x4e\xee\xb8\xdd\x37\xbf\x05\x00\x00\xff\xff\x2e\x2b\xc4\x5a\x4e\x03\x00\x00")

func _000007_tagsUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000007_tagsUpSql,
		"000007_tags.up.sql",
	)
}

func _000007_tagsUpSql() (*asset, error) {
	bytes, err := _000007_tagsUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000007_tags.up.sql", size: 846, mode: os.FileMode(420), modTime: time.Unix(1723236028, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000008_commentsDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\xc8\xcb\x2f\x49\xb5\xe6\xc2\x29\x15\x5f\x52\x94\x98\x57\x9c\x98\x5c\x92\x99\x9f\x57\x6c\xcd\x05\x08\x00\x00\xff\xff\x40\x7f\x58\x3e\x43\x00\x00\x00")

func _000008_commentsDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000008_commentsDownSql,
		"000008_comments.down.sql",
	)
}

func _000008_commentsDownSql() (*asset, error) {
	bytes, err := _000008_commentsDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000008_comments.down.sql", size: 67, mode: os.FileMode(420), modTime: time.Unix(1723934530, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000008_commentsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\xd0\xb1\x8a\x83\x40\x18\x04\xe0\x7e\x9f\x62\x4a\x05\xdf\xe0\x2a\x4f\x46\x59\xce\x5b\xef\x7e\x7f\x41\x2b\x91\x24\x85\x8d\x42\xf4\xfd\x09\xab\x49\x10\x31\x84\xd4\xff\x37\x33\xec\x26\xc2\x58\x09\x8d\xbf\x73\xc2\xa6\x70\x85\x82\xb5\x2d\xb5\xc4\x30\xce\x17\x13\x18\x00\xe8\xcf\xb0\x4e\x99\x51\x16\xe0\xaa\x3c\xc7\x9f\xd8\xdf\x58\x1a\xfc\xb0\x89\x16\xe4\x3d\x94\xb5\x3e\x8d\x09\xbf\x8c\x79\xb3\xd0\xce\xd7\x6e\x98\xba\xd3\xdc\x8f\xc3\xf4\xe9\x5c\x7b\x20\xd7\xeb\xb6\xf5\xb5\xaa\x9c\xfd\xaf\x18\xdc\xab\xa2\x7d\x2a\x5c\x55\x5a\x08\x6d\xe6\xfc\xf4\x83\x86\x10\xa6\x14\xba\x84\xeb\x33\x82\x43\xbd\xef\xdb\xa6\xb6\x37\x9f\xf6\x9f\x75\x0b\x00\x00\xff\xff\x8a\xd7\xd2\x3a\x8e\x01\x00\x00")

func _000008_commentsUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000008_commentsUpSql,
		"000008_comments.up.sql",
	)
}

func _000008_commentsUpSql() (*asset, error) {
	bytes, err := _000008_commentsUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000008_comments.up.sql", size: 398, mode: os.FileMode(420), modTime: time.Unix(1723934530, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000009_attachmentsDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\x09\xf2\x0f\x50\x08\x71\x74\xf2\x71\x55\xf0\x74\x53\x70\x8d\xf0\x0c\x0e\x09\x56\x48\x2c\x29\x49\x4c\xce\xc8\x4d\xcd\x2b\xb1\xe6\x22\xa0\x20\xbe\xa4\x28\x31\xaf\x38\x31\xb9\x24\x33\x3f\xaf\xd8\x9a\x0b\x10\x00\x00\xff\xff\x1a\x06\xdc\x2c\x4f\x00\x00\x00")

func _000009_attachmentsDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000009_attachmentsDownSql,
		"000009_attachments.down.sql",
	)
}

func _000009_attachmentsDownSql() (*asset, error) {
	bytes, err := _000009_attachmentsDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000009_attachments.down.sql", size: 79, mode: os.FileMode(420), modTime: time.Unix(1723934551, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000009_attachmentsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x90\xc1\x6a\x84\x30\x10\x86\xef\x79\x8a\x39\x1a\xf0\x0d\x7a\xd2\x65\x5c\x42\xd3\xd8\x66\x23\xec\x9e\x96\x41\x03\xdd\x83\x29\xe8\x9c\xfa\xf4\x25\xa6\x94\x68\x15\xda\xeb\xcc\xf7\xfd\x99\x3f\x27\x8b\x95\x43\x70\x55\xad\x11\x54\x03\xa6\x75\x80\x57\x75\x71\x17\x20\x66\xea\xdf\x47\x1f\x58\x14\x02\x00\xe0\x31\x80\x32\x0e\xcf\x68\x17\xcc\x74\x5a\xc3\xab\x55\x2f\x95\xbd\xc1\x33\xde\xca\x05\x0a\x34\x7a\x70\x78\x75\x3f\x4c\x9a\xcf\x9f\xbf\xe4\xb4\x18\x88\x09\x6a\xdd\xd6\x9b\x79\x3f\x79\x62\x3f\xdc\x89\x0f\xc4\xce\xa8\xb7\x0e\x8b\xf8\x60\xb9\xa4\x48\x21\x9f\x84\xf8\x53\xa3\x3b\x4f\x14\x66\xea\xf9\xf1\x11\xe6\xff\xd4\xcb\x22\x76\xf8\xc4\xe4\xd9\xc7\xd4\xf7\xf9\xab\xc0\x72\xeb\xca\xc4\x36\xad\x45\x75\x36\xf1\x8c\xb5\x20\xc1\x62\x83\x16\xcd\x09\xf3\x7a\xc5\xae\xb9\xcd\xce\xdd\x7c\x17\xed\xf8\x95\x5f\x01\x00\x00\xff\xff\x85\xc2\x46\x63\x1c\x02\x00\x00")

func _000009_attachmentsUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000009_attachmentsUpSql,
		"000009_attachments.up.sql",
	)
}

func _000009_attachmentsUpSql() (*asset, error) {
	bytes, err := _000009_attachmentsUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000009_attachments.up.sql", size: 540, mode: os.FileMode(420), modTime: time.Unix(1723934551, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000010_doubleentryDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00")

func _000010_doubleentryDownSqlBytes() ([]byte, error) {
	return bindataRead(
		__000010_doubleentryDownSql,
		"000010_doubleentry.down.sql",
	)
}

func _000010_doubleentryDownSql() (*asset, error) {
	bytes, err := _000010_doubleentryDownSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000010_doubleentry.down.sql", size: 0, mode: os.FileMode(420), modTime: time.Unix(1724476098, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var __000010_doubleentryUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x91\xcd\x4e\x84\x40\x10\x84\xef\xfd\x14\x7d\x04\xe3\xc5\x33\xf1\x30\x8b\x0d\x99\x08\x03\x69\xda\xc4\x3d\x11\xc2\x8f\x21\xae\x83\xd9\x01\x13\xdf\xde\x80\x18\xc5\x65\xaf\x35\x5f\x25\xdf\x74\xe5\xac\xe2\x54\x61\x37\x9c\xdb\xfe\xc5\x96\xaf\xed\xa7\xbb\x1f\xba\x2e\x00\x50\x89\x10\xa3\xa8\x43\x42\xe8\xde\x4f\xfd\xe8\x90\xc9\xa8\x94\x50\xb2\x35\x28\xef\x02\x80\x90\x49\x09\xad\xa0\x8e\xd0\x64\x82\xf4\xac\x0b\x29\x56\x0a\x3c\x40\x44\xec\x1b\xd4\x46\x28\x26\x5e\x10\xf3\x94\x24\x98\xb3\x4e\x15\x1f\xf1\x91\x8e\xb7\x0b\x34\x9e\x2b\xeb\xaa\x7a\xec\x07\xeb\xca\x9d\xc6\x37\x55\xd5\xf5\x30\xd9\xf1\x3a\xf0\x51\x9d\xa6\xb6\xb4\xd3\x1b\x1e\x74\xac\x8d\xec\x3e\x37\xad\x1d\xae\x00\x51\xc6\xa4\x63\x33\x7b\x79\xff\x94\x7c\x64\x8a\x88\xc9\x84\x54\x6c\x74\xbd\xbe\xf1\x2f\xdb\xbf\xaa\x9b\xe2\x1a\xcf\x1d\xf0\x03\x00\x6d\x0a\x62\x99\x7f\xf3\x73\x5b\x2c\x28\xa1\x50\xf0\x06\x23\xce\xd2\xbf\x07\x7f\xe0\x2c\xdf\xec\xb2\xa4\xbb\x43\xda\x00\xbe\x02\x00\x00\xff\xff\xe8\x95\x40\x5c\xe1\x01\x00\x00")

func _000010_doubleentryUpSqlBytes() ([]byte, error) {
	return bindataRead(
		__000010_doubleentryUpSql,
		"000010_doubleentry.up.sql",
	)
}

func _000010_doubleentryUpSql() (*asset, error) {
	bytes, err := _000010_doubleentryUpSqlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "000010_doubleentry.up.sql", size: 481, mode: os.FileMode(420), modTime: time.Unix(1724476935, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var _migrationsGo = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x90\x3d\x8f\xd4\x30\x10\x86\x6b\xcf\xaf\x18\x52\x9c\x6c\x69\x2f\x2e\xa0\x02\x5d\x01\x84\x02\x09\xb6\x38\x74\xa2\x40\xe8\xe4\x64\x27\x5e\x8b\xc4\x0e\x63\x07\x84\xd0\xfe\x77\x14\xe7\x83\x08\x51\xec\xa5\x89\xc6\x7a\xe7\x79\x46\xef\x60\x9a\x6f\xc6\x12\xf6\xce\xb2\x49\x2e\xf8\x08\xe0\xfa\x21\x70\x42\x09\xa2\xb0\x2e\x9d\xc7\xba\x6c\x42\xaf\x6d\xe8\x8c\xb7\xb7\x73\x90\xf4\xfa\xff\xf1\xa2\x00\xf1\x88\x57\x25\xf5\xc9\x24\x53\x9b\x48\x3a\x7e\xef\x5c\xa2\xe7\x05\x6a\xed\x43\xe7\x7c\xba\x9e\x11\xc3\xc8\x0d\xe9\xd6\x75\x54\x60\xfe\xfe\x32\x6a\xe7\x27\xc5\xd3\x48\x36\x3c\x2e\x7b\x05\x28\x00\xad\xb1\x0a\x1f\xe7\x54\x55\xe3\x40\xdc\x06\xee\x23\x56\x6f\x76\x25\x95\xd0\x8e\xbe\xd9\x07\xe5\xa9\x7e\xb8\xff\x80\x31\xb1\xf3\x56\x21\x31\x07\xc6\xdf\x20\x98\x66\x4d\xc4\x97\x77\xb8\x78\xca\xfb\xe5\x51\xbe\x8e\x91\xd2\xd1\xf4\x14\xa5\x3a\x80\x10\x13\x55\x7a\xd3\xd3\x06\x92\x5f\xbe\xd6\xbf\x12\x1d\x66\xa2\x9a\x90\x42\x30\xa5\x91\x3d\xe6\xed\x1c\x57\x20\xc4\x45\x01\x88\xed\xc4\xca\x24\x93\x97\xf6\xde\xcf\x2e\x9d\xdf\xfb\x98\x8c\x6f\x48\x6e\x97\x29\x10\xae\xcd\xd1\x67\x77\xe8\x5d\x97\x1d\x8b\x82\x98\x41\x5c\x26\xf0\x06\x5b\x1a\x2c\x8f\xf4\x73\xe2\x7d\xca\x90\x8d\x5a\xd8\x70\xbb\xd6\x79\xc0\x7f\xce\xc9\x1d\x5d\xa5\x5b\x12\x93\xae\x7c\x18\xa4\x7a\xb5\x5f\xb8\xb9\x59\xa7\xf5\x96\x77\xcc\xc7\xf0\xf6\x6c\xbc\xa5\xff\xe0\xd6\xd1\xbb\x0e\x2e\xf0\x27\x00\x00\xff\xff\x21\x84\xf6\xe9\xf3\x02\x00\x00")

func migrationsGoBytes() ([]byte, error) {
	return bindataRead(
		_migrationsGo,
		"migrations.go",
	)
}

func migrationsGo() (*asset, error) {
	bytes, err := migrationsGoBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "migrations.go", size: 755, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

var _migrations_testGo = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\xcb\xb1\x0e\x82\x30\x10\x00\xd0\xb9\xf7\x15\x67\x27\xea\x00\x83\x5b\x0d\x1b\x8e\x6e\xfc\x40\x25\x47\x73\x91\xb6\x78\x3d\x07\x63\xf8\x77\x23\x71\x70\x7f\x6f\x0d\xd3\x3d\x44\xc2\xc4\x51\x82\x72\xc9\x15\x80\xd3\x5a\x44\xb1\x01\x63\x95\xaa\x72\x8e\x16\x1c\xc0\xfc\xcc\x13\x8e\x54\x75\x28\xd7\x5d\xd3\x70\x6b\x14\x8f\x3f\xd3\x8e\x0e\xdf\x60\x78\x46\x12\x41\xdf\xe3\x3f\xb3\xf5\xb1\xb0\xd2\xc9\x77\x9d\x4f\x94\x8a\xbc\xbc\x75\xe7\x5d\x1e\x7a\xcc\xbc\x7c\xab\xd1\xf6\x22\x52\xa4\x21\x11\x07\x66\x83\x0d\x3e\x01\x00\x00\xff\xff\x61\xad\xbb\x6d\x9f\x00\x00\x00")

func migrations_testGoBytes() ([]byte, error) {
	return bindataRead(
		_migrations_testGo,
		"migrations_test.go",
	)
}

func migrations_testGo() (*asset, error) {
	bytes, err := migrations_testGoBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "migrations_test.go", size: 159, mode: os.FileMode(420), modTime: time.Unix(1717891973, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

// 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) {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	if f, ok := _bindata[cannonicalName]; ok {
		a, err := f()
		if err != nil {
			return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
		}
		return a.bytes, nil
	}
	return nil, fmt.Errorf("Asset %s not found", name)
}

// 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) {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	if f, ok := _bindata[cannonicalName]; ok {
		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)
}

// 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.
var _bindata = map[string]func() (*asset, error){
	"000001_init.down.sql": _000001_initDownSql,
	"000001_init.up.sql": _000001_initUpSql,
	"000002_transactions.down.sql": _000002_transactionsDownSql,
	"000002_transactions.up.sql": _000002_transactionsUpSql,
	"000003_import_transaction.down.sql": _000003_import_transactionDownSql,
	"000003_import_transaction.up.sql": _000003_import_transactionUpSql,
	"000004_transaction_hash.down.sql": _000004_transaction_hashDownSql,
	"000004_transaction_hash.up.sql": _000004_transaction_hashUpSql,
	"000005_auto-importer.down.sql": _000005_autoImporterDownSql,
	"000005_auto-importer.up.sql": _000005_autoImporterUpSql,
	"000006_account_match.down.sql": _000006_account_matchDownSql,
	"000006_account_match.up.sql": _000006_account_matchUpSql,
	"000007_tags.down.sql": _000007_tagsDownSql,
	"000007_tags.up.sql": _000007_tagsUpSql,
	"000008_comments.down.sql": _000008_commentsDownSql,
	"000008_comments.up.sql": _000008_commentsUpSql,
	"000009_attachments.down.sql": _000009_attachmentsDownSql,
	"000009_attachments.up.sql": _000009_attachmentsUpSql,
	"000010_doubleentry.down.sql": _000010_doubleentryDownSql,
	"000010_doubleentry.up.sql": _000010_doubleentryUpSql,
	"migrations.go": migrationsGo,
	"migrations_test.go": migrations_testGo,
}

// 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 AssetDir(name string) ([]string, error) {
	node := _bintree
	if len(name) != 0 {
		cannonicalName := strings.Replace(name, "\\", "/", -1)
		pathList := strings.Split(cannonicalName, "/")
		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))
	for childName := range node.Children {
		rv = append(rv, childName)
	}
	return rv, nil
}

type bintree struct {
	Func     func() (*asset, error)
	Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
	"000001_init.down.sql": &bintree{_000001_initDownSql, map[string]*bintree{}},
	"000001_init.up.sql": &bintree{_000001_initUpSql, map[string]*bintree{}},
	"000002_transactions.down.sql": &bintree{_000002_transactionsDownSql, map[string]*bintree{}},
	"000002_transactions.up.sql": &bintree{_000002_transactionsUpSql, map[string]*bintree{}},
	"000003_import_transaction.down.sql": &bintree{_000003_import_transactionDownSql, map[string]*bintree{}},
	"000003_import_transaction.up.sql": &bintree{_000003_import_transactionUpSql, map[string]*bintree{}},
	"000004_transaction_hash.down.sql": &bintree{_000004_transaction_hashDownSql, map[string]*bintree{}},
	"000004_transaction_hash.up.sql": &bintree{_000004_transaction_hashUpSql, map[string]*bintree{}},
	"000005_auto-importer.down.sql": &bintree{_000005_autoImporterDownSql, map[string]*bintree{}},
	"000005_auto-importer.up.sql": &bintree{_000005_autoImporterUpSql, map[string]*bintree{}},
	"000006_account_match.down.sql": &bintree{_000006_account_matchDownSql, map[string]*bintree{}},
	"000006_account_match.up.sql": &bintree{_000006_account_matchUpSql, map[string]*bintree{}},
	"000007_tags.down.sql": &bintree{_000007_tagsDownSql, map[string]*bintree{}},
	"000007_tags.up.sql": &bintree{_000007_tagsUpSql, map[string]*bintree{}},
	"000008_comments.down.sql": &bintree{_000008_commentsDownSql, map[string]*bintree{}},
	"000008_comments.up.sql": &bintree{_000008_commentsUpSql, map[string]*bintree{}},
	"000009_attachments.down.sql": &bintree{_000009_attachmentsDownSql, map[string]*bintree{}},
	"000009_attachments.up.sql": &bintree{_000009_attachmentsUpSql, map[string]*bintree{}},
	"000010_doubleentry.down.sql": &bintree{_000010_doubleentryDownSql, map[string]*bintree{}},
	"000010_doubleentry.up.sql": &bintree{_000010_doubleentryUpSql, map[string]*bintree{}},
	"migrations.go": &bintree{migrationsGo, map[string]*bintree{}},
	"migrations_test.go": &bintree{migrations_testGo, map[string]*bintree{}},
}}

// RestoreAsset restores an asset under the given directory
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
	}
	err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
	if err != nil {
		return err
	}
	return nil
}

// RestoreAssets restores an asset under the given directory recursively
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 {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}