gokins/comm/migrate.go
2021-07-30 19:23:15 +08:00

144 lines
15 KiB
Go

package comm
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"strings"
)
func bindata_read(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)
gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
return buf.Bytes(), nil
}
var _mysql_000001_gokins_down_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xd1\xcd\x4a\x04\x31\x0c\xc0\xf1\xbb\x4f\xd1\xf7\xd8\x93\xe2\x0a\x0b\x82\xe2\xee\xc1\x5b\x26\x76\x33\x25\x4c\xbf\x48\xd3\x81\x79\x7b\x19\x41\xf6\x96\xce\xf9\xff\xa3\x24\xe9\xeb\xd7\xc7\xa7\xbb\x3d\xbf\xbc\x9f\xdd\xe5\xcd\x9d\xbf\x2f\xd7\xdb\xd5\x4d\x0a\x28\xca\x33\x7a\x85\x8a\x7e\xc1\x40\xd3\xe9\x69\x48\x57\x92\xc6\x25\x1f\xa0\x45\x36\x43\xfd\x74\x8e\x77\xa3\xfb\x74\x87\xc8\xd9\x9a\xa9\xa9\x3d\x73\x53\xaa\x46\x56\xe1\x10\x48\xc6\x02\xa4\x5b\xfb\x26\x6a\xcd\x1e\xa4\x48\xb0\x2b\x54\xae\xd6\x03\x7b\x1e\x1c\xe3\x9f\x80\x2f\x79\x3e\xe2\x56\xb4\x56\x7f\xb0\xe1\x7f\x57\x14\x4c\x46\xef\xcd\x3c\xf2\x9e\x81\xf3\x5c\x46\xc6\xbe\xe2\x1f\x49\x6d\x48\xb4\x2c\x64\x6d\xb3\xa5\x08\x35\xf6\xc0\x23\xa4\x94\x6a\x44\xa5\xe9\xf4\x1b\x00\x00\xff\xff\x07\x37\xa2\xca\x5f\x03\x00\x00")
func mysql_000001_gokins_down_sql() ([]byte, error) {
return bindata_read(
_mysql_000001_gokins_down_sql,
"mysql/000001_gokins.down.sql",
)
}
var _mysql_000001_gokins_up_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xdd\x6e\x1b\xc7\x15\xbe\xd7\x53\x0c\x92\x02\xa4\x00\x2b\x21\x65\xcb\xb5\x55\x04\xa8\x6c\xb3\x0e\x51\x9b\x2a\x64\xba\x4d\x00\x03\xe4\x70\x77\x44\x6e\xb4\x3b\xb3\x98\x1d\x52\x16\xd0\x0b\x09\xad\x5b\xb9\x6e\x61\xbb\x71\x62\x1b\x6e\xda\x0a\x06\xe2\x04\x71\x22\x17\x70\x55\x83\x92\xeb\x87\x89\x96\x94\xaf\xf2\x0a\xc5\xec\x2e\xc5\xfd\xe5\xcc\x52\x4b\xc5\x45\xc2\x1b\x49\x3b\x67\x86\x33\xe7\x7c\xe7\x9b\xf3\x9d\xd5\xf9\xa5\xd2\x42\xb5\x04\xaa\x0b\xe7\x2e\x95\x40\x9d\xd5\x20\x65\xda\x32\x54\x58\xcd\x84\xca\x0a\x6c\xa2\x3a\xc8\x4f\x01\x50\xd7\xd4\x3a\xe8\x40\xaa\xb4\x20\xcd\x9f\x3e\x35\x0d\x2a\x8b\x55\x50\xb9\x7a\xe9\xd2\x09\x3e\x08\xf9\x68\x43\x6b\x6a\x98\xe5\x67\x0b\xc3\x41\xb0\x70\xb5\xba\x58\x2b\x57\xce\x2f\x95\x2e\x97\x2a\x55\xc7\x96\x22\x93\xd4\xc2\xab\x5d\x28\xfd\x62\xe1\xea\x25\xdf\x8a\x18\x1a\x68\x68\x52\x2c\x14\x62\x6c\x54\xcd\x32\x75\xb8\x56\x0b\xda\xce\xce\xcd\xc5\xd9\x22\x4b\x19\xda\xcc\xc5\xae\xa7\x50\x04\x19\x52\xeb\x40\x85\x0c\x31\xcd\x40\x51\x93\xb6\xa9\x8a\x4c\x54\xa4\x23\xc7\x84\x3b\xa3\x18\xbb\x15\xc7\xa0\xc6\xa7\x8f\x58\xe8\x57\x4b\xe5\xcb\x0b\x4b\x1f\x82\x5f\x96\x3e\x04\x79\xc7\xc3\x27\x9c\x28\x4c\xf3\x41\xfe\xb0\x6e\x72\x2f\xe6\x0f\x1d\x3a\x1c\xa0\x26\x36\xfc\x23\x27\x3c\x7f\x4e\x4f\x4d\x83\x52\xe5\x62\xb9\x52\x02\xef\x81\x32\xc6\xe4\xc2\xb9\xc3\xaf\x3d\xff\xfe\xc2\xd2\x95\x52\x15\xbc\x07\xda\x6c\xf9\x8c\xd1\x38\xf5\xb3\xa9\x44\x64\x74\x10\xb5\x34\x82\xbf\x1f\x64\x78\xb0\xcc\x06\x42\x87\x27\x19\x6d\x66\xb5\xa0\x10\x8c\x12\x00\x33\x29\xea\x68\x68\x35\x19\x1a\x99\x20\x50\x0c\x9c\x09\xe3\x83\xd0\xb5\xac\xa1\xd1\x16\x46\x9b\xd0\xa6\x18\x12\x9a\x8a\x30\xd3\x96\x35\x44\xfd\xa1\x12\x62\x67\x36\x89\x7e\x60\x43\x8f\xc9\xf4\x5c\x21\x07\xce\x2f\x5e\xe6\x9b\x07\xb9\xde\x83\x6d\xfb\xce\xe7\xf6\xcb\xbf\xf6\xb6\x1e\xe7\x8b\xee\xcf\xdf\x16\x7a\x5f\x3f\xb6\x5f\xbc\x98\xce\xb9\xe8\x22\x6d\xaa\x20\xc1\x8e\x64\xf0\xa5\x93\x26\x11\x11\xe1\xff\x09\xc9\x81\xab\x57\xca\x95\x8b\xe0\x5c\x75\xa9\x54\x3a\x1a\x2a\x1b\x6d\x4d\x57\x65\xf0\x68\x6a\x26\xd2\x35\x1c\x65\x16\x07\x94\xd1\x64\x1e\x98\x7b\x1c\x22\x39\xcd\x62\x90\xb5\xad\x10\x9b\x44\x4c\x7d\xf8\xf9\xfb\xef\xed\xdd\x6e\xff\x4f\x3b\xbd\xf5\x0d\x17\x2e\x88\x52\x42\x43\x50\x18\xb1\xc0\xeb\x7b\x0f\x0f\xb6\xb7\xf7\x5f\x6d\xf5\x36\xb6\xbd\x05\x3a\x08\x33\xf9\x1d\xec\x77\x6f\xed\xef\xee\xe4\x06\xbb\xa7\x01\x68\xe4\x47\xcf\xb5\xf7\xd6\xed\x27\xb7\x7a\xf7\x77\x5e\xdf\x7f\xee\xae\xb0\xac\x61\xcd\x6a\xa5\x58\xa2\xbf\xfb\x71\xef\xb3\x7f\xf8\x97\x88\x40\x58\xb4\x89\xcd\x47\xf6\x6e\xd7\xbf\x42\x04\xe1\x82\x15\x7a\x8f\x9e\xf7\x3e\x7d\xe6\x5f\x21\x72\x71\x38\xd9\x36\xea\x18\x37\x37\x7b\x7f\x7b\x9a\x8b\x82\x3e\x5b\xb4\x2b\x86\x5a\xe3\xa8\x94\x01\x7c\x93\x92\xb6\x29\x09\x5b\x27\x8b\xa4\x21\x8e\x64\x97\x0d\x67\xc3\x5c\x5c\x1c\x5c\x46\x6e\x1b\x1e\xdb\x14\x93\x4c\x14\xa2\x22\xb1\x0d\x66\x0e\xfa\x19\xba\xce\x46\xb0\x62\x2c\x20\x52\xa4\x40\x1a\xac\x4f\x1a\x13\x16\x93\x2c\xe3\xd3\x53\x9a\x2f\x45\xfe\xbd\xd1\x7b\xf6\xbc\xdf\x7d\xa5\xa9\xb9\x31\x10\xf3\xbd\x93\x62\x8c\x88\x18\x45\x29\x77\xfe\x62\x7f\x7d\x3f\x27\x92\x21\x47\x41\xd0\x0f\x80\x44\x2d\x42\x99\x28\x61\x3d\xf0\x8a\xdd\x3a\xd9\x0c\x42\xa6\x4c\x02\xa5\xc4\x7c\x48\xc5\x08\x51\x1f\x4e\xb1\xd4\xc8\xcb\x34\xc1\x5d\xa7\xc8\xe1\xfd\xa8\xd9\x3d\x7e\xc5\x82\xae\x6b\xac\x26\xb8\x19\x7c\xbc\xb0\xbe\x6e\xff\xb1\xdb\xff\xe7\x64\x58\x45\xb4\x6f\x3f\xab\xfc\x48\x12\x19\x54\x5a\x3c\x80\x5a\x13\x13\x2a\x51\x17\x18\x06\xc4\xaa\x15\x2e\x0c\x56\xa1\xc6\xac\x3a\xf8\xc8\x22\xd8\x07\x68\x31\x6f\x4d\x92\x8d\x18\xd5\x9a\x4d\x2e\x61\x8f\x5b\x63\x27\x2b\x24\xff\x77\xb2\x35\x13\x59\xa9\xf4\xb5\x4c\x47\x25\x5e\xcd\x9a\x90\x42\x63\x10\x9f\xc8\x28\xc2\xf1\x02\xfd\xb8\xfb\x2d\x6d\xb7\x51\xc7\x7f\x1c\xb1\xc5\xe2\x85\xbe\x46\xdb\x99\x77\xdf\xd8\xa8\xf0\x0f\xb3\xeb\xe0\xc9\xe7\xf6\xed\xbb\xf6\xc3\x2f\xca\x17\x72\x87\xa0\x48\xbc\x4f\xa2\x1d\x18\xbc\x4c\x92\xe3\x15\xa4\xdb\x71\x1b\x18\xe2\x80\x30\x37\x20\xec\xe8\x01\x31\x90\x65\xa5\x69\x92\x9f\x2b\x5f\x2c\x57\xaa\xe9\xf2\x70\x14\xe1\xde\xbe\xfb\x7a\x7d\xe3\x60\xfd\xc6\x77\x7b\x9b\xf6\xed\xed\xfe\x97\xdd\xef\xf6\x6e\xe6\xbc\x78\x32\x5d\xae\x2a\x38\xd4\x44\x3a\xc1\xcd\x20\xfd\xc5\xe4\x72\xc2\x1a\xf2\x02\xca\x83\x40\xf0\x8b\xda\x54\x17\xdd\xb3\xc7\xd4\x2f\x22\xb4\x79\xbc\xd1\x4c\x6a\x38\xc6\x1b\xba\xac\x58\x2d\x7d\x50\x4d\xaa\xf1\xda\x0d\x5d\x53\xea\xa0\x5c\xa9\xe6\xc3\xb7\x53\xc1\x87\x9c\x1b\x4f\xed\xbd\xf5\x37\xe7\x9a\x0f\x77\x14\x83\xfb\x1e\xd1\x53\x94\x94\xd4\x09\x58\xe1\x86\xe5\xca\x85\xd2\x07\x6e\xa4\x3c\x92\xce\x14\x4d\x35\xce\x90\x1e\xa4\xd2\x10\x72\x5c\x47\x3b\xb9\xac\x4f\x55\xca\xdf\xdb\xd9\xdf\xdd\xd9\xef\x76\xd3\x84\x7f\x4c\x70\x45\xa3\x90\xe4\x7f\xef\xbc\xf9\xc1\x2f\x19\x46\x61\x50\xb8\xc8\x24\xb6\xb8\x0c\x92\x7a\xdf\x98\xe2\xdd\xe4\x61\x59\xc5\xd9\x36\x83\xfe\x7d\x52\x73\x3e\x57\xc8\x8d\xdf\x9b\x9f\x4c\x40\x6a\x0a\xc1\xcb\xfe\xdc\x90\x49\x0c\xb9\x32\x34\x70\xa3\xc4\xfb\x12\x2a\x0a\xb2\xac\x1a\x23\x2b\x28\xac\x2f\x22\xb6\x6b\x86\x5e\x8b\x5c\x94\xee\x17\x59\x88\x4a\x84\x59\x90\x08\x19\xf9\x33\xc5\xab\x59\x09\xa0\xb7\x8d\x06\xd7\x19\x3e\xc2\x1a\xa5\xd8\x7b\x4f\xb7\x7a\x9f\x3c\xf3\x29\xf6\xb0\xe6\x1f\xa5\xd6\xcd\xb6\xd5\xfa\x76\x7d\xc3\xa4\xdf\xae\x6f\x60\xc2\x90\xa7\x82\xfd\x2f\x5e\x05\xd9\x93\x2a\xd5\xc6\xca\x4f\xa1\xc3\xe2\xb5\xaa\xb8\xe0\x4a\x9d\xd9\x4c\xc3\x6b\x09\xd9\x6d\xd2\x9a\x20\x6e\x8e\x99\xf3\xee\x57\xd1\x09\x46\x35\x71\xa6\x4c\x94\x0a\xb8\x84\x1b\xe3\x7a\x94\x69\xad\xa4\x2c\x84\x55\xc8\x60\xb8\x30\xe5\x81\xb0\xc6\xaa\x36\x32\xf4\x11\xa7\x98\x2c\x8b\x52\x69\xdf\x99\xd0\xb2\xa4\x5c\x87\x35\x65\x45\x6a\x45\xd8\x81\x0c\x0a\x7b\x6a\x69\xeb\x12\x9d\x34\x35\x2c\x5b\x18\xd6\xa1\xc2\xb4\x0e\x4a\xba\x1f\x27\xa0\x31\x66\x66\xc0\xcc\x88\xcf\x54\xb9\x72\xa5\xb4\x54\xe5\x55\xd5\xa2\x83\x39\x37\xe0\x53\xbf\x5e\xb8\x74\xb5\x74\x65\x0a\x38\x91\x07\xe0\x2d\xa8\x1a\x1a\x7e\xeb\x84\xf3\x47\xd1\xfd\x91\x6b\x92\x15\x0d\x5b\x39\xef\x2f\x54\x2c\x40\x55\x39\x79\xf6\xd4\xd9\x06\x9c\x3b\x0b\x1b\x0d\x34\x77\x1a\x15\xe6\x7e\xba\x3c\x5b\x58\x3e\x73\xe6\x24\x1a\xd8\xf5\xbf\xd9\xea\xdf\xf9\x83\x7d\xf7\x81\xf7\x60\xe0\x1a\x00\x2a\x8b\xbf\xc9\x4f\x87\x1f\x16\xa7\x00\x98\x16\x1f\x03\x80\x38\xe0\xd6\xb8\xe0\xab\x7b\x67\x18\x89\x5f\x0e\xb8\x16\xc1\xa2\xce\x10\xbf\x5e\x0c\xa8\xe9\x82\x7f\xd0\x00\xa0\xde\xd0\x28\x6b\xa9\x70\x6d\x04\xa7\x3a\x54\x68\x40\xba\xe2\x26\xfe\x60\x1b\x88\x1a\x5e\xd6\x25\xf4\x8e\x06\x46\x8e\x5c\x14\xd8\xb8\x02\x20\xd1\x28\xca\xae\xdc\xdd\x47\xe5\x8b\xa1\x90\x4d\x47\xac\xd2\x9a\x35\x8d\x44\x49\x95\xcd\x03\xb7\x41\xd5\x10\x2a\x8d\x30\x90\xdd\x99\x74\x55\x3c\x71\xef\xd3\x83\xff\xde\xed\x7d\xf6\xbb\xd7\x0f\xef\x04\xe6\xa2\xeb\x48\x2c\x70\x7a\x37\x9f\x1c\x6c\xfd\x39\x66\xb6\x4a\x56\x71\x6c\xa8\x7d\xf5\xce\x8b\x5b\x07\x2f\x5f\xda\x9b\x3b\xf6\xc7\x1b\x81\x15\x24\xa4\x92\x48\xac\x06\x6c\x48\xa2\x9a\x0a\x2e\x45\x0e\xd7\x3a\x01\xe2\xc5\x57\x16\x70\x34\xac\x10\x1c\xc5\xf7\x54\xca\x66\x58\x50\xd6\x02\x50\x37\xac\x09\xc1\x93\x22\xa8\x32\x43\xce\x76\xf0\xf6\x2b\xf6\x75\x41\xc1\x33\x12\x77\x3f\xd2\xf7\x3f\x32\x01\x54\x26\xa1\xf7\x04\xd6\xf8\x5c\xe4\xb7\x4e\x70\x73\x50\x3b\x27\x36\x2a\x39\x69\x99\x08\x8b\x5f\xbb\x7a\xc6\xb2\xaf\x56\x23\x25\xd0\x48\x53\xf9\x22\x28\xa2\x52\x0f\xab\xd3\x78\x5c\x2e\x53\x64\xb5\xa4\x6c\xd1\x75\x53\xa3\xc8\xaa\x69\x38\xd9\xbf\x85\x90\xad\x34\xf2\x86\x3b\x91\x9e\x91\x2a\x01\x9d\x03\x86\x9b\xc8\x0e\x5a\x62\x9a\xcb\x13\x60\x56\x17\x42\xf9\xc1\x2f\x99\xa6\xcc\x50\xcb\x43\x9a\xd5\x05\x1e\x77\xc5\xca\xaa\x5a\xb9\x8e\x17\x57\xbf\x50\x6f\x4b\x98\xb9\xe5\x56\x58\x56\xc4\xed\xd0\x6b\x36\x8e\xfa\xf7\x5a\x5f\xa7\x51\xac\xc1\x8e\x18\x98\x35\x43\xaf\x99\x7a\xbb\xa9\x8d\xcb\x65\x41\x37\x26\xf8\x3a\xb1\xd1\x24\xee\xec\xc9\xf7\xf6\x32\xf7\x55\x44\xc1\xf8\x9c\x15\xd6\x31\x03\xe9\x62\xb5\x06\x72\x04\x38\x9f\x19\x60\x31\x64\xce\x03\xab\x85\x74\xfd\xe7\x56\xeb\x1a\x06\xde\xc7\xeb\xd6\x54\xa0\x81\xf8\xf0\x70\x00\x47\x9e\x0c\x5e\xe4\xcf\x0f\x1f\xf1\x95\x91\xd2\x22\x80\xaf\x4b\xc0\x2a\xa1\xba\xea\x7d\x73\x61\xa8\x74\x5c\x89\x93\xe6\x1c\xb3\xde\xee\x1b\x70\xf4\x49\xf8\x78\xc2\x59\x82\x43\x38\xe6\xd9\x31\x9e\xe7\xa4\x77\x06\x93\xac\x22\xea\x6c\x7d\xd4\xa9\x86\x56\x09\x67\x8b\x33\xc0\x89\x23\xe9\xce\x59\x3c\xca\x39\x4f\x0d\xf0\x27\x00\xa0\xd5\xba\x46\x93\x30\x18\x1c\xc3\x71\x0f\x35\x6c\xb6\xd9\xbc\xff\x09\x00\x2d\x62\xb1\x79\xa0\x13\x05\xea\xce\xaf\xb3\xb3\x00\xbc\xdd\xff\x6a\xdb\xbe\xfd\xd8\x7e\x75\xc3\xde\xfa\x2a\x68\xce\xab\xa7\x79\x40\x09\x61\xc1\xe7\x26\xb4\xac\x79\x50\x9c\x3d\x79\x6a\xee\x74\x70\x64\x95\xd0\x15\xcb\x84\x0a\x9a\x07\xef\xf2\x79\xef\x32\x64\x31\xf0\xf6\xfe\x8b\x6e\xff\xcb\xae\xfd\xec\x5f\xbd\x07\xdb\xe0\x27\xef\x2f\x5e\x2e\x81\xfe\xbd\x2f\x7a\x9b\xff\xe9\x3f\xfa\xc6\x7e\xf9\x89\x7f\x8d\x61\x20\xe8\x78\x90\x8b\xa3\x4d\x86\x0c\x53\x87\x0c\xfd\x48\x9c\x52\xc4\x79\xe8\x2e\x9f\xb7\xfc\xae\x88\x39\x71\xe8\xa0\x71\xa7\xe2\x5b\x4b\xe2\xe2\x8b\x44\x87\xb8\x39\x48\x07\xaf\x8f\x3d\x0f\x8a\xef\x14\xae\xe1\x0e\xa4\x3c\x2d\x9d\x7f\x58\x74\xf3\x93\x27\x0a\x6c\x22\x2f\x57\x83\x8c\xd6\xd6\x74\xd5\x7d\x8e\xc3\x0f\x78\x76\x0d\x13\x5c\x92\xee\x9b\x64\xc6\x59\x62\xa6\x18\x21\xca\xe1\xca\xfc\x83\x70\x67\x5e\xc8\x27\x4d\xe2\x4e\x03\x06\xd4\xf0\x3b\x4d\x32\xee\x66\x66\xc3\x9b\xe1\x79\x96\x7e\x2f\x4e\x76\xce\x74\xae\xe1\x54\xfc\x7d\x7c\xf0\x18\x5c\x71\x97\x61\x07\xe1\x37\x11\x1d\x1f\xc1\x0e\xcc\x12\x1f\x46\x07\x03\x45\x47\x10\x47\x1f\x6b\xfc\x8c\xc3\x2b\x2b\xfd\x06\xb3\xc0\x0c\xdf\x88\x07\x9a\x37\x14\x32\x83\x2a\xa2\x62\x1a\x6f\x22\x60\xb0\x69\x64\x89\x17\x6c\x1a\xc1\x79\xa9\xb7\x11\x41\x85\x23\x7b\xfc\x13\xa5\x37\xe2\xcd\x04\x09\xc8\xf8\x5f\x00\x00\x00\xff\xff\x73\x4b\x5a\xf3\xea\x3d\x00\x00")
func mysql_000001_gokins_up_sql() ([]byte, error) {
return bindata_read(
_mysql_000001_gokins_up_sql,
"mysql/000001_gokins.up.sql",
)
}
var _sqlite_000001_gokins_down_sql = []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\x28\x89\x4f\x2a\xcd\xcc\x49\x49\xb0\x06\x04\x00\x00\xff\xff\xaa\x8a\x92\x63\x1f\x00\x00\x00")
func sqlite_000001_gokins_down_sql() ([]byte, error) {
return bindata_read(
_sqlite_000001_gokins_down_sql,
"sqlite/000001_gokins.down.sql",
)
}
var _sqlite_000001_gokins_up_sql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xd1\xcf\x4a\xc4\x30\x10\xc7\xf1\xfb\x3e\xc5\x1c\x15\x7c\x03\x4f\xd1\x1d\x61\x31\xbb\x4a\xc9\x82\x7b\x6a\xa2\x19\x75\xa0\xcd\x86\xcc\xb4\xcf\x2f\xc5\x3f\x28\x36\xa5\xe7\xdf\x87\x84\x2f\x73\xdb\xa0\x71\x08\xce\xdc\x58\x04\xaf\xed\xf3\xc0\x5d\xf4\x70\xb1\x01\xf0\x1c\x3d\x38\x7c\x72\x70\x78\x70\x70\x38\x5a\x0b\x8f\xcd\x6e\x6f\x9a\x13\xdc\xe3\xe9\x6a\x12\x99\x33\x75\x9c\xa8\xfd\xa1\x5b\xbc\x33\x47\xfb\xc9\xff\x92\x91\x8a\xf0\x39\x2d\x50\xd1\xa0\x83\xd4\x56\x2a\xe5\x5c\xaa\xe3\x48\x49\x6b\xa3\x72\x4f\xad\x68\xe8\xb3\x87\xad\x71\xe8\x76\x7b\x9c\x53\xda\xd1\x77\xf0\x14\xfb\x4f\xf4\x24\x12\xde\x96\x8d\x68\x28\x4a\xf1\xd7\x47\xf3\xee\x95\x13\xcb\xfb\x0a\xf8\x52\x28\xac\x79\x70\xc8\x71\x95\xfb\x3a\x43\x2d\x62\x73\x79\xfd\x11\x00\x00\xff\xff\x55\x1f\xab\xd7\x13\x02\x00\x00")
func sqlite_000001_gokins_up_sql() ([]byte, error) {
return bindata_read(
_sqlite_000001_gokins_up_sql,
"sqlite/000001_gokins.up.sql",
)
}
// 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 {
return f()
}
return nil, fmt.Errorf("Asset %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() ([]byte, error){
"mysql/000001_gokins.down.sql": mysql_000001_gokins_down_sql,
"mysql/000001_gokins.up.sql": mysql_000001_gokins_up_sql,
"sqlite/000001_gokins.down.sql": sqlite_000001_gokins_down_sql,
"sqlite/000001_gokins.up.sql": sqlite_000001_gokins_up_sql,
}
// 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 name := range node.Children {
rv = append(rv, name)
}
return rv, nil
}
type _bintree_t struct {
Func func() ([]byte, error)
Children map[string]*_bintree_t
}
var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
"mysql": &_bintree_t{nil, map[string]*_bintree_t{
"000001_gokins.down.sql": &_bintree_t{mysql_000001_gokins_down_sql, map[string]*_bintree_t{
}},
"000001_gokins.up.sql": &_bintree_t{mysql_000001_gokins_up_sql, map[string]*_bintree_t{
}},
}},
"sqlite": &_bintree_t{nil, map[string]*_bintree_t{
"000001_gokins.down.sql": &_bintree_t{sqlite_000001_gokins_down_sql, map[string]*_bintree_t{
}},
"000001_gokins.up.sql": &_bintree_t{sqlite_000001_gokins_up_sql, map[string]*_bintree_t{
}},
}},
}}