e70da5cd4e
Change-Id: I2d2307e3fab87de47a72b3595d051e2c95ff4f8a
407 lines
35 KiB
Go
407 lines
35 KiB
Go
//lint:file-ignore * generated file
|
|
// Code generated for package schema by go-bindata DO NOT EDIT. (@generated)
|
|
// sources:
|
|
// 2018092201_initial-tables.down.sql
|
|
// 2018092201_initial-tables.up.sql
|
|
// 2019111301_fix_seq_scans_in_list.down.sql
|
|
// 2019111301_fix_seq_scans_in_list.up.sql
|
|
// 2020011301_drop_not_null.down.sql
|
|
// 2020011301_drop_not_null.up.sql
|
|
// 2020011601_kvimplementation_switchover.down.sql
|
|
// 2020011601_kvimplementation_switchover.up.sql
|
|
package schema
|
|
|
|
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
|
|
}
|
|
|
|
// Name return file name
|
|
func (fi bindataFileInfo) Name() string {
|
|
return fi.name
|
|
}
|
|
|
|
// Size return file size
|
|
func (fi bindataFileInfo) Size() int64 {
|
|
return fi.size
|
|
}
|
|
|
|
// Mode return file mode
|
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
|
return fi.mode
|
|
}
|
|
|
|
// Mode return file modify time
|
|
func (fi bindataFileInfo) ModTime() time.Time {
|
|
return fi.modTime
|
|
}
|
|
|
|
// IsDir return file whether a directory
|
|
func (fi bindataFileInfo) IsDir() bool {
|
|
return fi.mode&os.ModeDir != 0
|
|
}
|
|
|
|
// Sys return file is sys mode
|
|
func (fi bindataFileInfo) Sys() interface{} {
|
|
return nil
|
|
}
|
|
|
|
var __2018092201_initialTablesDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x8f\xc1\x0a\x82\x40\x10\x86\xef\x3e\xc5\x1e\x0d\x7a\x03\x4f\x5a\x5b\x08\xa1\x22\x5b\xe1\x69\x18\xd7\x89\xa4\x5c\x65\x1c\x03\xdf\x3e\x08\x0a\x54\xa8\x4e\x03\x33\xff\x7c\x7c\xff\x36\x4f\x33\xb5\x3b\x26\x1b\x13\xa7\x89\xba\xd7\xbd\x40\x55\x33\x59\x69\x79\x04\xa6\x07\x71\x4f\x7e\x54\x18\x1d\xae\xd5\x74\xc4\x89\xd1\x7b\x9d\xaf\x02\xef\x1b\xe3\xaf\x5f\x53\x64\x5a\x75\x28\x57\x40\x57\x41\x43\x82\x73\xa8\x6d\x9b\xae\x75\xe4\x04\x6a\x67\x99\x1a\x72\xe2\xff\xf0\x28\x47\x21\x9c\xc7\x17\x29\xe1\xc1\x59\x14\x02\xbc\x08\xf1\x8c\xb9\x80\x9f\x62\x7d\x7e\x89\x56\x28\x08\x1d\x93\xc8\xf8\xee\x10\x46\x07\xfd\xb9\x4d\x96\xe5\x60\x6f\x24\x7d\xe0\x3d\x03\x00\x00\xff\xff\x96\xd8\x40\x70\x6d\x01\x00\x00")
|
|
|
|
func _2018092201_initialTablesDownSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2018092201_initialTablesDownSql,
|
|
"2018092201_initial-tables.down.sql",
|
|
)
|
|
}
|
|
|
|
func _2018092201_initialTablesDownSql() (*asset, error) {
|
|
bytes, err := _2018092201_initialTablesDownSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2018092201_initial-tables.down.sql", size: 365, mode: os.FileMode(420), modTime: time.Unix(1576516079, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var __2018092201_initialTablesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x58\x6d\x6f\xdb\xba\x15\xfe\xee\x5f\x71\x3e\x14\x90\x85\x2b\x27\xe9\xb0\x02\x5b\x52\x17\x70\x1d\x3a\xd1\xea\xc8\x85\xac\x34\x08\x70\x01\x83\x92\x68\x9b\xab\x4c\x6a\x22\xd5\xc4\xc3\xfd\xf1\x03\xa9\x37\x4a\x96\x9d\xdc\xad\x28\x0a\xac\xfa\x12\x47\x3a\x7c\xce\xe1\x73\x0e\xcf\x0b\xa7\x3e\x9a\x04\x08\x82\xc9\xc7\x39\x82\x30\x8f\xbe\x12\x29\x60\x38\x00\x80\xf2\x3f\x86\x77\x04\x3e\x3e\x06\x68\xa2\x5f\xaa\xe7\xb3\xef\xde\x4d\xfc\x47\xf8\x84\x1e\x1d\xfd\x32\x26\x09\xdd\x81\xeb\x05\xb5\x88\xb7\x08\xc0\xbb\x9f\xcf\xeb\x17\xd3\x5b\x34\xfd\x04\xc3\x42\xf2\x03\x5c\xc0\xc4\xbb\x2e\xd7\xbd\x87\xbf\xbc\x7b\x67\x0f\xec\xab\xc1\x60\x34\x82\x9c\x49\x9a\x80\xdc\x12\xf8\x44\xf6\x5f\x70\x92\x93\xa5\xe4\x19\x01\xca\x24\xc9\xd6\x38\x22\x20\xf2\x34\xe5\x99\x14\x90\x62\x21\x28\xdb\x68\xe1\xc2\x58\x10\x24\xc5\x19\x96\x24\xd9\x3b\xc0\xb3\x06\x4f\x48\x9e\xfd\x13\x70\x24\x73\x9c\x24\xfb\x06\x22\xda\x62\xb6\xa9\x30\xb4\x39\x54\x92\x4c\xbd\xce\x70\xa4\x7e\xa5\x24\x2b\xb1\x1d\x90\x5b\x2a\x14\x64\x9c\xef\x76\x7b\xc8\xf8\x13\x88\x2d\xcf\x93\x18\x44\xbe\x5e\xd3\x88\xc0\x9a\x67\x40\xbe\x91\x6c\x2f\xb7\x94\x6d\xce\x06\xae\xb7\x44\x7e\xa0\x88\x59\x34\xdc\x36\xb4\x3a\x85\x46\x1b\xbe\x4c\xe6\xf7\x68\x09\x43\xcb\xba\xbc\xd4\x54\x3b\x80\x45\x44\xe9\xd0\x3a\xb7\x6c\xc5\xcb\xa0\xe5\xa6\x14\xcb\x6d\x8c\x25\x6e\xf9\xa9\xe3\xa3\x03\x07\xf8\x68\x86\x7c\xe4\x4d\xd1\xb2\xcf\x14\xbb\x70\xe4\x3a\x4f\x12\x85\xfe\x12\x58\xe9\xcd\x5a\xfc\xfd\x07\xb0\xac\x12\x63\x47\x24\xd6\xd6\xf5\x63\x38\x83\x41\x27\x86\x2a\x3b\x9c\x5a\x7d\x11\x0c\xe5\x9e\xbf\xb8\xe8\xa1\xde\xf2\x2a\xcd\x88\x94\x7b\x98\x2c\x35\xca\x12\xcd\xd1\x34\x00\xc2\x22\x1e\x93\x1a\xc6\x22\x22\xc2\x29\xb1\x6c\x98\x54\x9b\x75\x6a\x3b\x00\x2a\xf1\x4a\x5b\x67\x41\xfd\xba\x67\x49\xb5\xb7\xce\x92\xea\x75\xb9\x62\xe6\x2f\xee\x6a\x8b\x95\xf7\x46\x23\xd8\xd0\x6f\x84\x01\xd6\xaf\x01\x0b\xd8\xd1\xcd\x56\x42\xa8\x62\x26\x67\x31\x50\xa6\x23\xb0\xf6\xac\xc4\x61\x42\x1c\x90\x59\xce\x22\x2c\x09\x50\x09\x78\xad\xe2\x51\x49\x31\xf2\x2c\x8d\x60\x95\x1c\x42\xa2\x74\x14\x50\x58\x02\xcf\x4a\x69\x4b\xff\x49\xb9\xb0\x1c\xa0\x6b\xc0\x6c\x7f\x36\x18\x8d\x94\x2c\x7a\xc6\xbb\x34\x21\xe2\xb2\xfc\x5f\x3d\x95\xb6\x95\x5e\x65\x46\xa3\xf1\x34\x81\xe9\xc0\x5b\x1b\x60\xf4\x01\xa0\x96\x3c\x86\xb4\xe6\xfc\x10\xac\x17\xc9\x90\x3c\x01\x76\x7e\x80\x76\x0c\xec\xfc\x35\x68\x21\xce\xce\x43\xfc\xef\xbe\xd3\xe7\xc0\x5f\xbf\x2b\xda\x3b\x13\x4d\x49\xfe\xcf\x88\x7f\xfb\xee\x88\x7f\xef\x22\x1a\x92\xa7\x40\x0b\xd9\xef\x45\xe3\x49\xb4\x16\x8d\x26\x5c\x95\x35\x66\xf7\xde\x34\x70\x17\x5e\x17\x3a\x6c\xd2\x9b\xd3\xd4\x2d\x74\x83\x7c\x07\xaa\xc3\x52\xbd\xb1\xc1\x47\xc1\xbd\xef\x2d\x0b\x79\x75\xd2\xdf\xbc\x19\x5c\xa3\xe9\x7c\xe2\x23\x7d\xd6\x55\xe2\x2f\x3e\x5e\x35\x85\xd0\x40\xb8\x1a\x7c\x44\x37\xae\xd7\xc8\x5e\x8e\x41\xe4\xa1\x90\x19\x65\x9b\xd2\x16\x9d\x2d\x2a\xd5\x76\x07\xe7\x72\x0c\x29\x17\x54\x52\xce\x86\x82\xc8\x55\xb8\x97\x64\x68\x41\x43\xca\x45\x5d\x44\x5c\x4f\xab\x28\x11\xdc\x59\x03\xa2\xca\x6d\x70\x8b\x3c\xa3\x16\xa8\x6d\xf5\x5b\xf2\x16\x66\x0b\x1f\x86\x35\x17\xbf\x35\x38\x23\x78\x6b\x97\xf0\xc8\xbb\x06\x77\x56\xfc\x2e\xd1\x34\xc6\xd5\x00\x79\xd7\x57\x83\x37\x6f\x60\x3e\xf1\x6e\xee\x27\x37\x08\xac\x34\x49\x37\xe2\x5f\x89\x05\xee\xdd\xdd\x7d\x51\xc1\x96\x81\xef\x4e\x03\xa3\xb0\xd5\xee\x52\x1b\xc4\x2b\xca\xa2\x8c\xec\x08\x93\xc3\xb0\xa0\xb7\xdf\x15\x0d\xb9\x0f\xb7\xae\xea\x5f\x8a\x42\x54\x92\xa3\x5b\x8c\x4d\x45\x5a\xe8\x00\x8f\x24\x91\xab\x84\xb0\x8d\xdc\x0e\x43\x5b\xef\x07\xc6\xaa\xfb\x80\xf9\x62\xf1\xb9\xa6\x27\xec\xb8\xc9\x24\xa6\x0f\xa3\xa1\x44\xc1\xd4\xfc\x87\x30\x36\x8c\xe9\x73\x80\xaa\x87\x47\xf9\x14\xa7\x2d\x77\x5e\xde\xda\x6f\xda\xb6\x3f\xe9\x90\xd1\x08\x6e\xfe\xab\x5a\xf5\x44\x95\x74\x11\x2d\x44\x15\x1f\x9c\xa6\x84\xc5\x24\x56\x95\x47\x6e\xb1\xd4\x2b\x14\xfe\x16\x0b\x55\x8a\x14\xc5\x23\x92\x68\x3f\x0b\x07\x32\x22\xf3\x8c\x35\x05\x2e\xe5\x42\xd0\x30\x29\x14\x15\x00\xab\x48\xb5\x5b\x2b\x65\x4a\x69\x84\xd6\x0d\x43\xf1\x95\xa6\xa9\x6a\xe3\xf8\x37\xa2\xbb\x3e\x05\x9f\x72\x49\x98\xa4\x38\x69\x29\xb2\x4f\x55\xc0\x88\xef\x52\xce\x08\x93\x46\x04\x5a\xe7\xbd\x5d\x59\x99\x7f\x2e\xba\xa9\x4c\x3d\x43\xc6\x75\x07\x08\x11\x66\xca\xd8\x90\xc8\x27\x42\x18\x58\xe7\x16\x60\x16\xab\x55\xc0\xe5\x56\x97\x73\xcc\x94\x79\x6a\x8f\x02\x72\x16\xab\xa2\x7d\x6e\xd9\x2f\xda\xd4\x4d\xf6\x7d\xb6\x55\x42\xa6\x8d\xaf\x42\x0d\x39\xdf\x9d\x00\xee\x08\xc2\x1f\x7f\x00\xb2\x7e\xff\xfd\xf9\xe2\x42\x1b\xfe\x0a\x1a\x5a\xcb\x35\x23\xe6\x2b\x8d\xa4\x3c\xcc\x78\xb6\xc3\x49\x79\xe4\x79\x16\x13\x75\x1e\x5f\xe2\x46\x9b\x32\x43\xb3\xd9\x6c\xd6\xec\x41\x4d\x18\x85\xf1\xc5\xe7\xd9\xa9\x92\xd1\x87\x7a\xbc\x6e\xf4\xa7\x26\xa3\x3b\x9d\x4e\x96\x08\x1e\x6e\x91\x67\x9c\xd8\xa2\xef\x6c\x9f\x5a\xdd\xf9\x56\x49\x49\xab\x30\x3b\x50\xfd\xa8\x24\x62\xe0\x15\x76\xe8\x0c\x76\x20\xda\x59\x74\x90\x57\x8b\x3e\xfb\xf8\x2a\x34\x5f\x22\x23\x07\x9d\x34\xb8\x62\x44\x25\x9c\x7e\x48\xe4\x5d\x1f\x7c\xd0\x1a\x0a\x5e\x8d\x08\xaa\xfc\xd2\x5e\xdc\xc9\x60\x2f\x95\x93\xe0\xf1\x73\x31\x26\xad\x30\x8b\x57\xaa\x3d\x57\x6e\x19\xf6\xcc\x38\xbd\x33\x8b\x31\x7d\xd4\x41\x91\x50\x21\x57\x31\xcd\x48\x24\x79\xb6\x1f\x9a\x43\x97\x03\x31\xcd\xcc\xf8\x10\x12\x67\x72\x85\xcb\xcf\x66\x19\x70\x40\x77\xed\x2b\xc9\xab\xf0\x81\xb1\x2e\x03\xf6\xa0\x8a\xa2\x25\x0a\x16\xb3\x43\xe3\xcb\x98\x7a\x70\x83\x5b\xf0\xd1\xf4\xde\x5f\xba\x5f\x50\xcd\x12\x65\x69\x2e\x45\xb3\xc9\xea\x39\x08\xc1\xca\xd2\x6e\x69\xd2\x46\x14\x2e\xa9\x44\x54\x4d\x9a\x2c\x21\xc3\x6c\x43\x56\x09\x7f\x72\xfa\x5c\xfb\xa7\x90\xbb\x41\x58\x2e\xb1\xdb\xaa\xb6\x74\xb3\xed\xd5\xd5\x8a\xbe\x7a\xed\x6f\xf0\x56\xad\x6d\x0e\xad\x66\xbf\x17\x20\x3c\x2b\xe2\x74\xb2\x2c\x02\xf6\x88\x90\x71\xf1\x51\x0f\x90\x1d\x49\xdd\x11\x54\x73\x74\xd8\xfe\xf8\x70\x8b\x7c\x64\xde\x9e\x8c\xbb\x18\x76\xa3\x38\xa6\x42\x52\x16\x49\x35\xd8\xae\xe9\x33\x0c\xab\x7e\x35\x2e\x76\x77\xcc\xa3\xc3\xf2\x6f\xa7\xbd\x4d\xe3\xb3\x66\xac\xa5\xc5\x76\xd5\x8f\x0e\x3b\xc7\x0e\x7e\x6b\x72\x85\x34\xee\x17\x2b\x36\x38\xa4\x67\x75\x68\x80\xbb\x2c\xdc\xbc\xf0\xc1\x30\x01\x3e\x80\x21\x74\x34\xdb\xa8\x3e\xad\x46\x53\xde\x3f\x06\xf7\x1e\x4c\xa9\xd3\x78\xf5\x19\x54\xf1\x78\x60\xd7\xb8\x3e\xa3\x27\x51\xd2\xb8\x0c\x06\x18\x03\x3d\xeb\x8d\x84\xf2\x59\xf8\xd7\xc8\x87\x8f\x8f\xa6\x9a\x7e\xc9\xb9\x7b\xe7\x06\x87\x89\x52\x53\x5f\x1e\x63\xda\xfa\x76\xef\xa9\xfc\x33\x31\xae\x5f\xe0\x67\x8a\x83\x0e\xaf\x7d\xc5\x33\x5d\x3f\x9f\xb5\xe2\xba\xb6\xe9\x87\xc6\xc4\x8f\xf6\x66\xf7\x6c\xa7\xeb\x67\xa7\xdf\xc5\x15\x95\x5d\x9e\xf4\xa6\xbb\x97\x6f\xb6\xd9\x5c\x1c\x2e\x39\x76\x85\x95\xc6\x67\x7d\xf7\x54\x3d\x46\xc2\x1c\xcd\x02\x58\xdc\x07\xc8\x87\x7f\x2c\x5c\xcf\x8c\x04\x58\x78\x3d\x3a\xc7\x87\x44\xbd\x76\x47\xed\xe8\x1e\x8d\xf4\x2d\x2b\x70\x46\xf4\x8d\x15\x95\x40\x9e\xa9\x50\xf3\x41\x84\x99\xa5\xa7\x90\x14\x67\x12\xf8\xfa\x30\x75\xf2\x4c\xc9\x3f\xe9\x2b\xd9\x08\xe7\x82\x40\x2e\x40\x72\x50\xd3\x81\x9e\x0c\x00\x27\x49\xa5\x46\xe4\x61\xc4\x99\x9a\x10\x84\x02\xd3\x13\x4d\x81\xf3\x44\xac\x8c\x40\xc2\xf9\x57\xd5\xbb\xae\x79\x66\x3b\x20\x38\x3c\xa9\x69\x23\xfa\xaa\x54\x70\x06\x5b\x92\x91\x96\x1f\xcc\x03\x67\x50\x7d\x70\x94\x9a\x08\xe8\x39\x3f\x63\x33\x5f\x0e\xda\xa1\xd8\xa6\xb7\x88\xbb\xaa\x99\xe8\x6b\x8f\x96\xba\x37\x7a\xb1\x93\x59\x65\xe4\x1b\xc9\x04\xf9\xd5\xd1\x94\xcf\xaf\x8e\xe6\x57\x47\x73\xa2\xa3\x19\xff\xa4\x2d\xcd\xfb\x1f\xd2\xd2\xc0\x35\x5a\x4e\xff\x3f\xfa\x9a\xef\x1c\x0d\x6d\xa7\x1f\xd4\xc5\x9f\xce\x65\xbf\x9a\x97\xd7\xec\xe8\xa0\x3a\x1b\x6c\xbf\xbe\x44\xff\x27\x00\x00\xff\xff\xc5\xa8\x63\x2d\x85\x1f\x00\x00")
|
|
|
|
func _2018092201_initialTablesUpSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2018092201_initialTablesUpSql,
|
|
"2018092201_initial-tables.up.sql",
|
|
)
|
|
}
|
|
|
|
func _2018092201_initialTablesUpSql() (*asset, error) {
|
|
bytes, err := _2018092201_initialTablesUpSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2018092201_initial-tables.up.sql", size: 8069, mode: os.FileMode(420), modTime: time.Unix(1576516079, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var __2019111301_fix_seq_scans_in_listDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\x4d\x8f\xaa\x48\x14\xdd\xfb\x2b\xce\xc2\x44\xcd\xf8\x4c\xde\xf6\xbd\x71\x12\xda\x2e\xbb\x99\xf0\x60\x02\x38\x9d\xb7\x22\x25\x14\x5a\x11\xab\x18\xb8\x8c\xf6\xbf\x9f\x94\x22\x82\x62\x67\x66\xd3\x99\xda\x34\x70\xcf\x3d\xf7\xeb\xdc\x6a\x17\x3e\xb3\x42\x06\xcf\x87\xcf\xfe\x70\xac\x05\xc3\x72\xe5\x2e\x42\xdb\x73\x91\xc9\x92\xa2\x44\x16\x22\x26\x5d\xbc\x8f\xd7\x55\xbc\x13\x84\xa7\x9f\x21\xb3\xa6\x48\x64\x91\x73\xda\x5e\x5e\x4b\xe2\x05\x45\xbc\x36\x63\x8e\xd1\xe8\xdb\xb7\xda\x96\xc9\xbd\xa4\x88\x34\x6c\x37\x64\x2f\xcc\xc7\x1c\xee\xca\x71\x26\x03\x9f\x85\x2b\xdf\x0d\x10\xb0\xd0\x5b\xc2\xd0\x45\x5c\x25\xd1\x5e\x10\x87\x15\x60\x38\x1c\x00\xc0\x9b\x1d\xbe\xc2\x67\x8b\x95\x1f\xd8\x7f\xb2\xd3\x27\x73\xa4\xca\x2b\x2a\x0d\x6e\xdc\x7c\x33\x27\x60\x0e\x5b\x84\x58\x58\x01\xc3\xdb\x2b\x73\x9b\x4c\x5b\x39\x21\x34\x06\x93\x04\x98\x13\xb0\x06\xc2\xdc\x67\x43\x58\x70\xb5\x11\x51\xa6\x0f\xd3\x0e\x73\x7d\xfe\x13\xf3\xfa\x9d\x04\x8f\xa4\x8a\x0b\xb1\x17\x8a\xc6\xb5\xcb\xa4\x1b\x6a\x2b\x37\xdb\xde\x58\x3a\x26\x41\x51\x26\xd4\x86\xb6\x57\xdf\x5f\xf0\xd5\xf8\xc6\x7a\x9f\x6b\x25\x14\x45\xa7\xee\xf7\x12\xac\x67\x89\xc8\xe4\xde\xc0\x4f\x0f\x0f\x40\xe7\xd9\x2a\xbe\x17\x06\x79\x7e\xbb\x41\x2e\x7d\xef\x47\x6d\x29\xb1\xee\x1a\xdf\x5e\x99\xcf\xd0\x22\x99\xdf\x72\x4c\xae\x81\x13\x59\x92\x54\x31\x45\x79\x21\x52\x79\xc4\x98\x8a\x4a\xc5\x9c\x44\x72\xae\xee\xd1\x44\xc7\xf5\xdf\x0b\x3c\xe2\x29\x89\x62\x9c\x27\xb3\xb4\xca\x32\xe3\x3b\x85\x3c\x97\x6b\x1e\x6e\xba\x33\xe9\x2b\xfc\x52\x96\x71\x4e\x38\x71\xe4\x49\x3f\xec\x5c\xe0\x58\xce\x1a\x69\xc0\x0e\xce\x63\xf6\x7c\xb4\x52\xc0\x6f\x68\x81\x1e\x05\x85\xe5\x3e\x5f\xd9\xcc\xf4\x1f\xd1\xfd\x8a\x36\xea\x63\xbe\x66\x07\x8d\x1e\xef\xf2\x9a\x37\x3b\xfa\x21\x4b\x9e\xd4\x62\xc0\x1c\x72\xd6\xab\x84\xfa\x78\xfe\x33\xf3\xf1\xf4\xb3\x1d\xa6\x1f\xe9\xd8\x3f\xec\x10\x5f\x6f\xe3\x9e\x5a\x5f\xaf\xb1\xec\xd8\x56\xae\xb9\x7f\x2c\xc7\xf9\x7f\xea\xe0\xa6\xaf\xd7\x08\xd7\x3d\xcf\xd3\xe3\xac\xa3\xeb\x26\xa7\x4f\xd5\xc4\x67\x4f\xf3\x76\xb7\xf3\xf4\x38\xed\x1f\xf1\xa5\x95\xb7\x7d\x3a\x15\xed\x85\xa7\xc2\xaf\xb7\xc7\xe9\xa9\x9e\xfb\xbd\x8b\x15\xa0\x19\x7d\x3b\x48\x9e\xcc\xcc\xff\x12\x33\xd1\xc1\xc7\x49\xc2\x61\xcb\x10\xde\x2a\x64\x3e\x7e\xf7\x6c\xb7\xad\x04\x78\x6e\x4f\xcc\xf9\x7d\xa3\xfe\x6d\x45\x5d\x75\x7f\xf9\x02\xda\xca\x12\x5a\x89\x29\x64\x0a\x49\x10\x47\x59\x52\x39\x45\xcc\xd5\x88\xb0\x16\xc8\x79\x41\xd0\xe9\xfd\xd5\xa9\x0b\x83\x3f\xe8\x2a\x4b\x10\xf3\xaa\x14\xa8\x4a\x90\x46\xb9\x93\x39\xf4\xdf\xa2\x00\xcf\xb2\x4b\x98\xb2\x5a\xc7\x5a\x91\x50\x54\x1a\x32\xda\x0a\xd4\x3c\x07\x31\x2a\x04\x32\xad\x77\x52\x6d\x90\xea\x62\x32\x45\xa9\x71\x10\x20\x1e\xef\x4c\x08\xad\xb0\x15\x85\xe8\xcc\xa1\xbd\x70\xad\x56\xdf\xad\xd2\x55\x01\x3d\xfb\x33\x6f\xdf\x97\x83\xae\x14\xbb\xed\x3d\xeb\xee\xf2\x63\xe2\xfb\x60\x38\x84\x63\xb9\x2f\x2b\xeb\x85\x61\x54\xfe\x95\x8d\x10\x84\xd6\x93\xc3\xbe\x0f\xfe\x09\x00\x00\xff\xff\xc3\x49\xe0\x74\xd4\x08\x00\x00")
|
|
|
|
func _2019111301_fix_seq_scans_in_listDownSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2019111301_fix_seq_scans_in_listDownSql,
|
|
"2019111301_fix_seq_scans_in_list.down.sql",
|
|
)
|
|
}
|
|
|
|
func _2019111301_fix_seq_scans_in_listDownSql() (*asset, error) {
|
|
bytes, err := _2019111301_fix_seq_scans_in_listDownSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2019111301_fix_seq_scans_in_list.down.sql", size: 2260, mode: os.FileMode(420), modTime: time.Unix(1576516079, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var __2019111301_fix_seq_scans_in_listUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x56\xc1\x8e\xa3\x46\x10\xbd\xfb\x2b\xde\x61\x24\xdb\x0a\x6b\x69\xaf\xbb\x71\x24\xc6\xd3\x33\x43\xc4\x42\x04\x38\xa3\x3d\xa1\x36\x34\xe3\xd6\xe0\x6e\x02\x45\xec\xfd\xfb\xa8\x6d\x8c\x01\xe3\x49\x72\x19\x69\x39\x35\xf4\xeb\x57\xd5\xf5\x5e\x95\xbd\x0a\x98\x1d\x31\xf8\x01\x02\xf6\x87\x6b\xaf\x18\x1e\xd7\xde\x2a\x72\x7c\x0f\xb9\xac\x28\x4e\x65\x29\x12\xd2\xe5\x8f\xd9\xa6\x4e\xde\x04\xe1\xfe\x7b\xc4\x6c\x0b\xa9\x2c\x0b\x4e\xdb\xf3\x6b\x45\xbc\xa4\x98\x37\xdb\x58\x62\x3a\xfd\xf2\xa5\xd9\xcb\xe5\x4e\x52\x4c\x1a\x8e\x17\xb1\x27\x16\x60\x09\x6f\xed\xba\xf3\x49\xc0\xa2\x75\xe0\x85\x08\x59\xe4\x3f\xc2\xd0\xc5\x5c\xa5\xf1\x4e\x10\x87\x1d\xe2\xee\x6e\x02\x00\x2f\x4e\xf4\x8c\x80\xad\xd6\x41\xe8\xfc\xc9\x8e\x9f\xcc\x23\x55\x51\x53\x65\x70\xb3\xf6\x9b\x79\x42\xe6\xb2\x55\x84\x95\x1d\x32\xbc\x3c\x33\xaf\xcd\xb4\x93\x13\x22\xb3\x61\x92\x00\x73\x43\xd6\x42\x98\xf7\x60\x08\x4b\xae\x5e\x45\x9c\xeb\xbd\xd5\x63\x6e\x9e\xff\xc5\xbc\xf9\x41\x82\xc7\x52\x25\xa5\xd8\x09\x45\xb3\xe6\xc8\xbc\x1f\x6a\x2b\x5f\xb7\xa3\xb1\x74\x42\x82\xe2\x5c\xa8\x57\xda\x5e\xce\xfe\x82\xcf\xe6\x6c\xa2\x77\x85\x56\x42\x51\x7c\xac\xfe\x28\xc1\x66\x91\x8a\x5c\xee\x0c\xfc\xb8\xb8\x01\x3a\x69\xab\xf8\x4e\x18\xe4\xe9\x6d\x80\x7c\x0c\xfc\x6f\xcd\x4e\x85\x4d\x7f\xf3\xe5\x99\x05\x0c\x1d\x92\xe5\x90\x63\x7e\x09\x9c\xca\x8a\xa4\x4a\x28\x2e\x4a\x91\xc9\x03\x1a\x63\x59\xa0\xb2\x56\x09\x27\x91\x9e\x6e\x79\x4b\x59\xd9\x64\x3b\x7a\x95\x59\x03\x3a\x73\xc5\x3c\x23\x51\xce\x8a\x74\x91\xd5\x79\x6e\x88\x2d\xc8\x53\x4d\xcc\x62\x50\xc2\xf9\x18\xe5\xf9\xee\xe6\x70\xca\x89\xa3\x48\xc7\x61\xa7\x2a\xcc\xe4\xa2\xf5\x0f\x9c\xf0\xe4\x05\x3f\x40\x27\x05\xfc\x86\x0e\xe8\x56\x50\xd8\xde\xc3\x85\xcd\x58\xe4\x16\xdd\xaf\xe8\xa2\xde\xe7\x6b\x1b\xd5\x98\xf6\x2a\xaf\x65\xdb\xc8\xef\xb2\x14\x69\xa3\x01\x96\xad\x1c\xe3\x78\x3f\x78\x60\x01\xee\xbf\x77\xc3\x8c\x23\x5d\xe7\x9b\x13\xe1\xf3\x30\xee\xb1\xf4\x4d\xaf\xcb\xde\xde\xda\x33\x43\xca\x76\xdd\x9f\xd0\x24\x83\xa2\x5f\x22\x5c\x26\x45\x91\x1d\x16\xbd\x8e\x68\x73\xfa\x50\xc3\x7c\xb4\xd4\xc3\xe9\x50\x64\x07\x6b\x5c\xff\x73\x29\x87\x75\x3a\x5e\xda\x8f\x8e\x17\xbf\xcc\x9f\xe3\xaa\xd1\xfd\xfa\x88\x1d\xa2\x95\xbe\x1b\xa4\x48\x17\xe6\xd7\xc8\x28\x3a\x79\x3f\x49\xb8\xec\x31\x82\xbf\x8e\x58\x80\xdf\x7d\xc7\xeb\x3a\x01\xbe\x37\x12\x73\xd9\x93\x64\x58\x6b\x83\xef\x56\xfb\xbf\x5e\xb6\xdf\x15\x9f\x3e\x81\xb6\xb2\x82\x56\xc2\x82\xcc\x20\x09\xe2\x20\x2b\xaa\x2c\x24\x5c\x4d\x09\x1b\x81\x82\x97\x04\x9d\x5d\xcf\x65\x5d\x1a\xfc\x5e\xd7\x79\x8a\x84\xd7\x95\x40\x5d\x81\x34\xaa\x37\x59\x40\xff\x2d\x4a\xf0\x3c\x3f\x87\xa9\xea\x4d\xa2\x15\x09\x45\x95\x21\xa3\xad\x40\xc3\xb3\x17\xd3\x52\x20\xd7\xfa\x4d\xaa\x57\x64\xba\x9c\x5b\xa8\x34\xf6\x02\xc4\x93\x37\x13\x42\x2b\x6c\x45\x29\x7a\x12\x75\x7b\xb1\xa3\xc2\x55\x97\x5d\xcc\x31\xd2\x5a\xcb\xee\x9c\xfd\x17\x3b\xb7\xf6\xed\x7b\xf7\xe4\xd5\xf3\x5f\x98\xaf\x93\xbb\x3b\xb8\xb6\xf7\xb4\xb6\x9f\x18\xa6\xd5\x5f\xf9\x14\x61\x64\xdf\xbb\xec\xeb\xe4\x9f\x00\x00\x00\xff\xff\xb6\x5f\xc0\x59\x4a\x09\x00\x00")
|
|
|
|
func _2019111301_fix_seq_scans_in_listUpSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2019111301_fix_seq_scans_in_listUpSql,
|
|
"2019111301_fix_seq_scans_in_list.up.sql",
|
|
)
|
|
}
|
|
|
|
func _2019111301_fix_seq_scans_in_listUpSql() (*asset, error) {
|
|
bytes, err := _2019111301_fix_seq_scans_in_listUpSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2019111301_fix_seq_scans_in_list.up.sql", size: 2378, mode: os.FileMode(420), modTime: time.Unix(1576516079, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var __2020011301_drop_not_nullDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\xcd\xb1\x0e\x82\x40\x10\x04\xd0\x9e\xaf\x98\x50\xc9\x37\x50\x9a\xc5\x18\x13\x4c\xb0\xb2\x22\xcb\xed\x12\x0d\xc7\x1d\x39\xf6\x0a\xff\xde\xe2\xb0\xb3\x9d\x97\x99\x61\x6f\x9a\x60\x3c\x79\xc5\xc6\xf6\x12\x36\x46\x09\x5d\xf4\x79\x0d\x98\xb2\x5b\xd4\x20\x29\x6e\x10\x9d\x39\x7b\x6b\xab\xff\x35\x11\xb8\x18\x76\x4b\xfc\x0e\x86\xfa\x07\x63\x99\x18\xe7\x45\x3f\x35\xba\xfb\x40\xd7\x4b\x8f\x1b\x3d\x71\x2a\xd2\x60\xa0\x8e\x06\xea\xcf\xf4\x38\xfe\xf6\x83\x02\xaf\xda\xb4\xd5\x37\x00\x00\xff\xff\xab\x2d\x16\x1c\xa7\x00\x00\x00")
|
|
|
|
func _2020011301_drop_not_nullDownSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2020011301_drop_not_nullDownSql,
|
|
"2020011301_drop_not_null.down.sql",
|
|
)
|
|
}
|
|
|
|
func _2020011301_drop_not_nullDownSql() (*asset, error) {
|
|
bytes, err := _2020011301_drop_not_nullDownSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2020011301_drop_not_null.down.sql", size: 167, mode: os.FileMode(420), modTime: time.Unix(1579079994, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var __2020011301_drop_not_nullUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x8c\xb1\x0d\x43\x21\x10\xc5\x7a\xa6\x78\x1d\x43\x30\x0c\x3a\xe0\x50\x22\x2e\x80\xe0\x51\x64\xfb\x14\x48\xa9\x7e\x6b\xcb\x16\xa3\x2e\x50\x92\x29\xa6\xf0\x55\x84\x82\x0b\xf3\xb0\xf3\xe9\x48\x27\x37\x25\xb6\x12\x45\xab\x1c\x23\xbc\x0f\xee\x31\x2c\x6b\x4c\xe4\xd1\x37\x97\xbc\x3b\xff\x22\xde\x49\xac\x4d\xbf\xc1\xfd\x02\x00\x00\xff\xff\xe8\x90\x4e\xf6\x74\x00\x00\x00")
|
|
|
|
func _2020011301_drop_not_nullUpSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2020011301_drop_not_nullUpSql,
|
|
"2020011301_drop_not_null.up.sql",
|
|
)
|
|
}
|
|
|
|
func _2020011301_drop_not_nullUpSql() (*asset, error) {
|
|
bytes, err := _2020011301_drop_not_nullUpSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2020011301_drop_not_null.up.sql", size: 116, mode: os.FileMode(420), modTime: time.Unix(1579079994, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var __2020011601_kvimplementation_switchoverDownSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x58\x6d\x6f\xdb\xba\x15\xfe\xee\x5f\x71\x3e\x04\x90\x8d\xca\x49\x3a\xac\xc0\x96\xd4\x05\x5c\x87\x4e\xbc\x3a\x72\x21\x29\x0d\x02\x5c\xc0\xa0\x24\xda\xe6\x2a\x93\x9a\x48\x35\xc9\x70\x7f\xfc\x40\xea\x8d\x96\x64\xc7\xd9\x72\xb7\xee\xe2\xea\x4b\x1c\xe9\xf0\xe1\xe1\x73\xde\x39\x71\xd1\xd8\x47\xe0\x8f\x3f\xcf\x11\x04\x59\xf8\x9d\x48\x01\xfd\x1e\xec\x7b\x72\x11\x86\xb7\x04\x3e\x3f\xf8\x68\xbc\x5f\x52\x3d\x5f\xdd\xd9\xed\xd8\x7d\x80\x2f\xe8\xc1\xde\x2f\x19\x91\x98\x6e\x61\xe6\xf8\x87\xc1\x9c\x85\x0f\xce\xdd\x7c\x7e\x58\x6a\x72\x83\x26\x5f\xa0\x9f\x63\x7e\x82\x73\x18\x3b\x57\xc5\x0e\x1f\xe1\x4f\x1f\x3e\x0c\x7a\x83\xcb\x5e\x6f\x38\x84\x8c\x49\x1a\x83\xdc\x10\xf8\x42\x9e\xbf\xe1\x38\x23\x9e\xe4\x29\x01\xca\x24\x49\x57\x38\x24\x20\xb2\x24\xe1\xa9\x14\x90\x60\x21\x28\x5b\x6b\xe1\x9c\x00\x10\x24\xc1\x29\x96\x24\x7e\xb6\x81\xa7\x35\x9e\x90\x3c\xfd\x3b\xe0\x50\x66\x38\x8e\x9f\x6b\x88\x70\x83\xd9\xba\xc4\xd0\xea\x50\x49\x52\xf5\x3a\xc5\xa1\xfa\x95\x90\xb4\xc0\xb6\x41\x6e\xa8\x50\x90\x51\xb6\xdd\x3e\x43\xca\x1f\x41\x6c\x78\x16\x47\x20\xb2\xd5\x8a\x86\x04\x56\x3c\x05\xf2\x83\xa4\xcf\x72\x43\xd9\xfa\xb4\x37\x73\x3c\xe4\xfa\x8a\xc2\x45\x6d\xc4\xda\x54\x76\xbe\xe3\x00\xbe\x8d\xe7\x77\xc8\x83\xbe\x65\x5d\x5c\x68\xf3\xd9\x80\x45\x48\x69\xdf\x3a\xb3\x06\x8a\x97\xde\x8e\x3f\x24\x58\x6e\x22\x2c\xf1\x21\x87\x28\x09\x39\xc2\x1b\x8e\xb4\x20\xb8\x68\x8a\x5c\xe4\x4c\x90\xd7\x75\x98\xc1\x01\x4f\x82\x55\x16\xc7\x4a\xeb\xb7\x54\xa7\xf0\xa8\x0a\xfa\xe3\x27\xb0\xac\x83\x5a\x6c\x89\xc4\x9a\xb7\xd7\x68\x61\xf7\x0e\x08\x1a\x81\x54\x72\x61\x57\x87\xcd\x5d\xba\xb0\xdc\xb7\x19\xba\xaf\x0c\xb7\x4c\x52\x22\xe5\x33\x8c\xbd\x9e\x87\xe6\x68\xe2\x03\x61\x21\x8f\x48\x05\x61\x11\x11\xe2\x84\x58\x03\x18\x97\x64\x57\x07\x2b\x44\xcb\x5d\x1a\xc2\xd5\xeb\x86\x78\x79\xf6\x86\x78\xf9\xba\x37\x75\x17\xb7\x95\x7e\xca\xe3\x86\x43\x58\xd3\x1f\x84\x01\xd6\xaf\x01\x0b\xd8\xd2\xf5\x46\x42\xa0\xfc\x3c\x63\x11\x50\xa6\xa3\xa6\xf2\x46\x89\x83\x98\xd8\x20\xd3\x8c\x85\x58\x12\xa0\x12\xf0\x4a\xc5\x90\x92\x62\xe4\x49\x1a\x01\x26\x39\x04\x44\xed\x91\x43\x61\x09\x3c\x2d\xa4\x2d\xfd\x27\xe1\xc2\xb2\x81\xae\x00\xb3\xe7\xd3\xde\x70\xa8\x64\xd1\x13\xde\x26\x31\x11\x17\xc5\xff\xea\x29\x77\x5b\xea\x55\x66\x04\x19\x4f\x1d\x4c\x36\xbc\x1f\x00\x0c\x3f\x01\x54\x92\xfb\x90\x56\x9c\xb7\xc1\x3a\x91\x0c\xc9\x03\x60\x67\x2d\xb4\x7d\x60\x67\xc7\xa0\x05\x38\x3d\x0b\xf0\x3f\xbb\x32\x86\x0d\x7f\x7e\x53\xb4\x0f\x26\x9a\x92\xfc\x8f\x11\xff\xf2\xe6\x88\x7f\x6d\x22\x1a\x92\x87\x40\x73\xd9\xb7\xa2\xf1\x20\xda\x0e\x8d\x26\x5c\x99\x23\xa6\x77\xce\xc4\x9f\x2d\x9c\x26\x74\x50\xa7\x4e\xbb\xae\xca\xe8\x1a\xb9\x36\x94\xc1\x52\xbe\x19\x80\x8b\xfc\x3b\xd7\xf1\x72\x79\x15\xe3\x27\x27\xbd\x2b\x34\x99\x8f\x5d\xa4\x73\x82\x2a\x56\xf9\xc7\x4b\xfd\xbf\x06\x34\x10\x2e\x7b\x9f\xd1\xf5\xcc\xa9\x65\x2f\x46\x20\xb2\x40\xc8\x94\xb2\x75\xa1\x8b\xce\x16\xe5\xd6\x83\x06\xce\xc5\x08\x12\x2e\xa8\xa4\x9c\xf5\x05\x91\xcb\xe0\x59\x92\xbe\x05\x35\x29\xe7\x55\xe1\x9b\x39\x7a\x8b\x02\x61\x36\xad\x41\x54\x8b\xe0\xdf\x20\xa7\x4a\xbe\xf9\xb1\xba\x35\x79\x0f\xd3\x85\x0b\xfd\x8a\x8b\x77\x35\xce\x10\xde\x0f\x0a\x78\xe4\x5c\xc1\x6c\x9a\xff\x2e\xd0\x34\xc6\x65\x0f\x39\x57\x97\xbd\x93\x13\x98\x8f\x9d\xeb\xbb\xf1\x35\x02\x2b\x89\x93\xb5\xf8\x47\x6c\xc1\xec\xf6\xf6\x2e\xaf\xba\x9e\xef\xce\x26\xbe\x51\x8c\x2b\x73\xa9\x03\xe2\x25\x65\x61\x4a\xb6\x84\xc9\x7e\x90\xd3\xdb\x6d\x8a\x9a\xdc\xfb\x9b\x99\x6a\xee\xf2\xc2\x55\x90\xa3\xdb\xa2\x75\x49\x5a\x60\x03\x0f\x25\x91\xcb\x98\xb0\xb5\xdc\xf4\x83\x81\x3e\x0f\x8c\x54\xc7\x04\xf3\xc5\xe2\xeb\x4e\x6d\x0a\x1a\xa6\x32\xc9\xe9\xc2\xb9\xac\x56\x2b\x6a\x14\x5c\x65\x87\x00\x46\x86\x52\x5d\x86\x50\xb5\x71\x2f\xaf\xe2\xf0\x09\xec\x97\x8f\xf8\x4e\xeb\xf7\x4a\xc3\x0c\x87\x70\xfd\x6f\xd5\xac\x47\xaa\xa4\x73\xaf\x21\xaa\x08\xe1\x24\x21\x2c\x22\x91\xaa\x40\x72\x83\xa5\x5e\xa1\xf0\x37\x58\xa8\x92\xa4\x68\x1e\x92\x58\xdb\x5b\xd8\x90\x12\x99\xa5\xac\x2e\x74\x09\x17\x82\x06\x71\xbe\x51\x0e\xb0\x0c\x55\xab\xb8\x54\xaa\x14\x4a\xe8\xbd\xa1\x2f\xbe\xd3\x24\x51\x2d\x28\xff\x41\x74\xc7\xaa\xe0\x13\x2e\x09\x93\x14\xc7\x3b\x1b\x0d\x0e\x55\xc2\x90\x6f\x13\xce\x08\x93\x86\x27\x5a\x67\x9d\x1d\x65\x91\x87\xce\x9b\x29\x4d\x3d\x7d\xc6\x75\xf7\x0a\x21\x66\x4a\xd9\x80\xc8\x47\x42\x18\x58\x67\x16\x60\x16\xa9\x55\xc0\xe5\x46\x97\x75\xcc\x94\x7a\xea\x8c\x02\x32\x16\xa9\xe2\x7d\x66\x0d\x5e\xd4\xa9\x99\xf4\xbb\x74\x2b\x85\x4c\x1d\x8f\x42\x0d\x38\xdf\x1e\x00\x6e\x08\xc2\xaf\xbf\x02\xb2\x7e\xf9\xe5\xe9\xfc\x5c\x2b\x7e\x04\x0d\x3b\xcb\x35\x23\xe6\x2b\x8d\xa4\x2c\xcc\x78\xba\xc5\x71\x11\xfa\x3c\x8d\x88\x8a\xc9\x97\xb8\xd1\xaa\x4c\xd1\x74\x3a\x9d\xd6\x67\x50\xd3\x51\xae\x7c\xfe\x79\x7a\xa8\x74\x74\xa1\xee\xaf\x1f\xdd\x29\xaa\xe8\x49\x27\x63\x0f\xc1\xfd\x0d\x72\x8c\x68\xcd\x3b\xce\xdd\x88\xd5\xbd\x6e\x99\x98\x34\x7c\xab\x63\x56\x09\xc4\xc0\xcb\x75\xd0\x59\xec\x85\x2e\x5c\x2f\x6c\xe5\xd7\xbc\xbb\xde\xbf\x0a\xcd\x3d\x64\xe4\xa0\x83\x4a\x97\x8c\xa8\x84\x63\xe6\xc3\x5e\x0b\x30\xa7\xd1\x70\x98\xd2\x0c\xa6\x60\x2b\x61\xbd\x54\x45\xfc\x87\xaf\xf9\x44\xb7\xc4\x2c\x5a\xaa\x7e\x5c\x59\xe1\xd0\x64\x57\x3c\xbb\x33\xd5\xa1\xb9\xa7\x78\x5e\x33\xfe\x18\x93\xcb\xc2\x05\x17\x7d\x9d\x8f\x27\x86\x97\xc5\x54\xc8\x65\x44\x53\x12\x4a\x9e\x3e\xf7\xcd\x59\xd3\x86\x88\xa6\xa6\xc3\x09\x89\x53\xb9\xc4\xc5\x67\xb3\xae\xd8\xa0\xc7\x81\xa5\xe4\xa5\x3f\xc2\x48\xd7\x95\x81\x51\x4b\x3c\xf0\x90\xbf\x98\xb6\x29\x3a\x39\xe9\xdd\xcf\xfc\x1b\x70\xd1\xe4\xce\xf5\x66\xdf\xf2\xee\x86\xb2\x24\x93\x62\x97\xc2\x96\x3f\x97\x1a\x36\x6b\x9c\xde\x3c\x37\x76\x29\xa2\x8a\xdb\xd8\x83\x14\xb3\x35\x59\xc6\xfc\xb1\xc5\xf3\xab\x50\x9b\x9e\x5c\x2c\x19\xec\x6e\xb3\xa1\xeb\x4d\x6b\x9f\x1d\xf7\xad\xd6\xbd\x83\xf7\x6a\x5d\x1d\xf5\x9a\xed\xd6\xe2\xe0\x34\x77\xf2\xb1\x97\x7b\x7b\x87\x80\x71\x83\x54\xcd\x9c\x95\x94\x6e\x24\xca\xa1\x3f\xa8\x5e\xdf\xdf\x20\x17\x99\x77\x4f\x23\x73\x61\x31\x8b\x47\x54\x48\xca\x42\xa9\x86\xde\x15\x7d\xaa\xe7\xe4\xb2\xcb\x8d\xf2\xa3\x74\x99\x8c\x9e\x36\x86\xdf\xf2\xe9\x17\x02\x8d\x4e\x39\x89\x4e\xeb\xb9\x98\xe6\x87\x56\x3f\x1a\xfc\xb4\x73\xc7\xce\xf8\x0b\x49\xd4\x12\xc8\x8f\xda\xa7\xa7\x95\x27\xc0\xcc\xcb\x2d\xbb\x70\xc1\xd8\x17\x3e\x81\x21\xd4\x95\xa5\x54\x8b\x57\x01\x29\x5b\xef\x43\xfa\x08\xa6\xd4\x5e\xa8\x2a\xc0\x94\xe3\xb5\xb4\x19\x55\x01\xb8\x0f\x20\x89\x0a\x96\x61\x54\x11\xde\x12\x5d\xb8\x57\xc8\x85\xcf\x0f\x26\x78\x4b\x68\x3e\xbb\x9d\xf9\x66\x1e\xd5\xb4\x16\x21\x49\xab\xb7\x77\x8e\xca\x21\x63\xe3\x86\xe7\x27\x35\x77\x83\xc8\xae\xda\x9a\xac\x9e\x4e\x77\x1c\xb9\x52\xe4\xbf\x60\xfa\xdf\xda\x72\xcd\xd0\x4d\x56\x4f\x76\xdb\x9c\x05\x57\x4d\x22\xf4\xd1\xcc\xab\xbc\x41\xd9\x58\xb4\x45\xbb\x2e\xae\x92\xe8\x74\xf7\x76\xaa\x43\x1b\x98\xa3\xa9\x0f\x8b\x3b\x1f\xb9\xf0\xb7\xc5\xcc\x31\x6d\x0a\x0b\xa7\x63\xa7\xd1\x0e\xcd\x4d\x12\x95\x7c\x41\xe3\x31\xa7\xaa\x1d\x79\x38\xd4\xb7\xc3\xc0\x19\xd1\xb7\x56\x54\x02\x79\xa2\x42\xcd\x06\x21\x66\x96\x9e\x40\x12\x9c\x4a\xe0\xab\x76\x42\xe4\xa9\x92\x7f\xd4\x57\xc9\x21\xce\x04\x81\x4c\x80\xe4\xa0\x26\x03\x3d\x15\x00\x8e\x63\xb5\x85\xc8\x82\x90\x33\x35\x19\x08\x05\xa4\x27\x99\x1c\xe3\x91\x58\x29\x81\x98\xf3\xef\xaa\x67\x5d\xf1\x74\x60\x83\xe0\xf0\xa8\xa6\x8c\xf0\xbb\x82\xe7\x0c\x36\x24\x25\x95\x0d\xcc\xd0\x31\xa8\x6e\x85\x46\x6d\xf0\x8e\xa0\x18\x99\xb9\x6e\xbf\x4b\x56\x2e\x58\xf9\x5f\xee\x6f\x65\xf9\xef\x6a\x99\x3c\xdd\x2f\x5d\xb6\x1a\xdc\xdd\xd6\x63\x99\x92\x1f\x24\x15\xe4\x8f\x16\xe4\x8f\x16\xe4\x15\x2d\xc8\x11\xad\xc7\xcf\xdc\x61\x8c\x7e\xaa\x16\xe3\xe3\x6f\xd8\x62\xc0\x15\xf2\x26\x6f\xde\x67\xfc\xdf\xdb\x76\xd7\x84\xad\x22\xf5\xbf\xb4\xc2\xef\xbd\x67\x38\xaa\x31\x68\x15\xbc\x9c\xc1\xe3\xab\xde\xbf\x02\x00\x00\xff\xff\xd0\x7d\x34\x86\x00\x20\x00\x00")
|
|
|
|
func _2020011601_kvimplementation_switchoverDownSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2020011601_kvimplementation_switchoverDownSql,
|
|
"2020011601_kvimplementation_switchover.down.sql",
|
|
)
|
|
}
|
|
|
|
func _2020011601_kvimplementation_switchoverDownSql() (*asset, error) {
|
|
bytes, err := _2020011601_kvimplementation_switchoverDownSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2020011601_kvimplementation_switchover.down.sql", size: 8192, mode: os.FileMode(420), modTime: time.Unix(1579219631, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var __2020011601_kvimplementation_switchoverUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x91\xcd\x6e\xea\x30\x10\x85\xf7\x79\x8a\x59\x82\xc4\xea\x6e\xb3\x32\xb9\x03\xb2\x9a\xd8\xc8\x31\x6d\xb3\xb2\x4c\x18\x54\x54\x08\xc8\x0c\x48\xbc\x7d\x15\xfe\x43\xd4\x36\xcd\x26\x92\x3d\xdf\x99\x4f\xc7\xff\x8d\x9e\xc0\xab\xc4\x37\xd8\x7a\xfe\x98\x7b\xf6\x6e\x1b\x88\xf9\x18\x47\xa7\xab\xd1\x54\x25\x56\x6a\x05\xab\xe5\x8e\xdd\x7c\x19\xa8\xe4\x4d\x38\xba\x40\x07\x0a\x3b\xea\x0d\x0b\x8b\x62\x00\xcd\x9f\x54\x16\xc7\x68\xfa\x3f\x67\xfc\x8d\x2d\x37\xeb\xed\xa6\xa2\x8a\xdd\xb2\x2a\x03\xad\xa9\xe2\xde\x2f\xc8\xec\xc8\xe4\x9f\xc7\x5b\x53\x1c\xf6\x55\xe9\x99\x9c\x5f\x30\x85\xa7\xcc\x56\xb8\x2d\x26\x78\xaa\xca\xf9\x6a\xee\xd6\xc4\x3e\x8e\x12\x83\xc2\x22\x58\x31\x4c\x11\xe4\x08\x94\xb6\x80\xef\x32\xb7\xf9\xbd\xd4\xc3\x3f\xe8\x45\xd0\xf1\x5b\xec\x57\xab\x9a\x3c\x77\x02\x13\x23\x33\x61\x0a\x78\xc1\x62\xd0\x39\xa3\x56\xab\x37\x5f\x32\x6a\x27\x35\x4d\xd3\xa8\x1f\x47\x22\xb5\x68\x2e\xba\x8f\x82\xe7\xf3\x44\xa7\xd3\x4c\xdd\x1d\x72\xb4\x90\x5b\x6d\xc4\x18\x21\x13\x52\x75\xe4\x6f\xfb\xdb\xbc\x54\x39\x1a\x5b\x37\xab\x9b\x05\x5d\x77\x0e\x6e\x74\x1f\x72\x4c\x31\xb1\xd0\xbe\x82\x91\xd1\xd9\x8d\xbf\x3e\x4f\x43\xaa\x71\x38\xdb\x97\x9f\xc4\xbb\xef\xf5\x0d\x2a\x91\x21\x3c\x48\xc5\xd1\x57\x00\x00\x00\xff\xff\x82\xb3\x60\x76\x1f\x03\x00\x00")
|
|
|
|
func _2020011601_kvimplementation_switchoverUpSqlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
__2020011601_kvimplementation_switchoverUpSql,
|
|
"2020011601_kvimplementation_switchover.up.sql",
|
|
)
|
|
}
|
|
|
|
func _2020011601_kvimplementation_switchoverUpSql() (*asset, error) {
|
|
bytes, err := _2020011601_kvimplementation_switchoverUpSqlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "2020011601_kvimplementation_switchover.up.sql", size: 799, mode: os.FileMode(420), modTime: time.Unix(1579219631, 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){
|
|
"2018092201_initial-tables.down.sql": _2018092201_initialTablesDownSql,
|
|
"2018092201_initial-tables.up.sql": _2018092201_initialTablesUpSql,
|
|
"2019111301_fix_seq_scans_in_list.down.sql": _2019111301_fix_seq_scans_in_listDownSql,
|
|
"2019111301_fix_seq_scans_in_list.up.sql": _2019111301_fix_seq_scans_in_listUpSql,
|
|
"2020011301_drop_not_null.down.sql": _2020011301_drop_not_nullDownSql,
|
|
"2020011301_drop_not_null.up.sql": _2020011301_drop_not_nullUpSql,
|
|
"2020011601_kvimplementation_switchover.down.sql": _2020011601_kvimplementation_switchoverDownSql,
|
|
"2020011601_kvimplementation_switchover.up.sql": _2020011601_kvimplementation_switchoverUpSql,
|
|
}
|
|
|
|
// 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{
|
|
"2018092201_initial-tables.down.sql": &bintree{_2018092201_initialTablesDownSql, map[string]*bintree{}},
|
|
"2018092201_initial-tables.up.sql": &bintree{_2018092201_initialTablesUpSql, map[string]*bintree{}},
|
|
"2019111301_fix_seq_scans_in_list.down.sql": &bintree{_2019111301_fix_seq_scans_in_listDownSql, map[string]*bintree{}},
|
|
"2019111301_fix_seq_scans_in_list.up.sql": &bintree{_2019111301_fix_seq_scans_in_listUpSql, map[string]*bintree{}},
|
|
"2020011301_drop_not_null.down.sql": &bintree{_2020011301_drop_not_nullDownSql, map[string]*bintree{}},
|
|
"2020011301_drop_not_null.up.sql": &bintree{_2020011301_drop_not_nullUpSql, map[string]*bintree{}},
|
|
"2020011601_kvimplementation_switchover.down.sql": &bintree{_2020011601_kvimplementation_switchoverDownSql, map[string]*bintree{}},
|
|
"2020011601_kvimplementation_switchover.up.sql": &bintree{_2020011601_kvimplementation_switchoverUpSql, 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, "/")...)...)
|
|
}
|