migrations: Fix typos/errors and add missing migrations (#19316)

* fix public channels creation script for mysql

* fix several remaining migrations
Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2022-01-12 16:19:03 +03:00
коммит произвёл GitHub
родитель 4a1a0863c4
Коммит d0724d8b00
17 изменённых файлов: 388 добавлений и 94 удалений

Просмотреть файл

@@ -392,7 +392,7 @@ func mysql000001_create_teamsDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _mysql000001_create_teamsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x96\x41\x4f\xdb\x30\x14\x80\xef\xf9\x15\xef\xd6\x64\x9a\x26\xe8\x00\x21\x55\x9d\x66\x12\x17\xac\xa5\x4e\x97\xb8\x1a\x9c\x2a\xb7\x31\xc3\x52\x62\x47\x89\xcb\xca\xbf\x9f\xe2\xa4\x01\xda\xa0\x55\xa0\x5d\x10\x97\x48\xd8\x9f\x1f\xcf\xef\x7b\xb6\xeb\xc7\x18\x31\x0c\x0c\x5d\x84\x18\xc8\x04\x68\xc4\x00\x5f\x93\x84\x25\xc0\x04\xcf\x2b\x70\x1d\x00\x00\x92\xc2\x3d\x2f\x57\x77\xbc\x74\x87\x67\x9e\xa5\xe8\x3c\x0c\x3f\xdb\x49\xbf\x14\xdc\x08\x64\x60\x29\x7f\x4b\x65\xdc\xe1\x91\x07\x01\x9e\xa0\x79\xf8\x94\x9a\x17\xe9\x01\x54\x20\x32\x71\x00\x25\xab\x22\xe3\x0f\x94\xe7\xa2\xcb\xeb\xec\xa4\x8f\x3c\x00\x09\x44\xb5\x2a\x65\x61\xa4\x56\x8f\x9b\x3c\x3d\xed\x43\x71\xce\x65\xd6\x41\xc7\xc3\xf3\x3e\x88\x3d\x14\xe2\x5f\x81\x7c\x9d\x17\x5c\x1d\xb2\x01\x94\x65\xfa\x8f\x48\x03\x9d\x73\xa9\x2a\x30\x62\x63\x9a\x09\xa2\xee\xa5\x11\x4f\xc4\x7c\x1d\xf6\xad\x4f\x56\x77\x22\x17\x3b\xfe\xf6\xb1\x59\x4c\xa6\x28\xbe\x81\x1f\xf8\x06\x5c\x92\x7a\xad\x33\x4a\x7e\xce\xb1\x1d\xb4\xa9\xba\xf5\xb7\x9d\xab\x07\x65\xba\x59\x98\xba\x4d\x16\xd2\x66\xb3\x90\x29\xb8\xdb\xc4\x7a\xb9\xb5\xed\x82\x05\x37\xe0\x6e\x1b\xa2\x97\x5b\xd9\x9e\xb2\xdc\xb6\xbd\x7a\xb9\xd4\xf6\x8b\xe5\xb6\xad\xd3\xcb\x55\xb6\x0c\x36\xbf\x6d\x45\x3c\xc7\x03\x4c\x2f\x09\xc5\x63\xa2\x94\x0e\x2e\xba\xb2\xf8\x57\x28\x4e\x30\x1b\xaf\xcd\xed\x79\xbe\x3c\x19\x39\x4e\x82\x19\x7c\x2f\x4a\x51\xf0\x52\xa4\x89\xe1\x46\xe4\x42\x19\x18\x83\x9b\xe0\x10\xfb\x0c\xc8\xa4\x39\x28\xcd\xd7\x16\xbe\x99\xf0\xa3\x39\x65\xee\x27\x0f\x26\x71\x34\x05\x42\x27\x51\x3c\x45\x8c\x44\x74\x91\xf8\x57\x78\x8a\xbe\xf8\x51\x38\x9f\xd2\xa4\x5b\xf7\xeb\x0a\xc7\x18\x0c\x5f\x66\x62\xa1\xea\xa2\x8f\x61\x60\x8f\xe2\xa0\x43\x10\x0d\x5a\xc0\x6e\x8b\xc3\x18\x02\xc4\xd0\x05\x4a\xb0\xeb\x3d\xa3\x56\x3a\x5b\xe7\xaa\x8b\x63\x9b\x29\x2a\x84\x6a\x1c\x35\x11\x3d\xf8\x06\x47\x4d\xcd\x06\x6d\xd2\xc7\x83\xf6\x6f\x14\x32\x1c\xb7\xb7\x43\x73\x1f\xa0\x20\x80\x9d\x30\xb0\xd4\x3a\x1b\x0d\x1c\xcf\x1b\x39\xce\x2c\xc6\x33\x14\x63\xe0\x99\x11\x25\xb9\xa5\xda\xe0\x8d\xac\x4c\xd5\xec\x7f\xbf\x86\x23\x07\x5f\x63\x7f\xce\xf6\x57\x8c\x9c\x00\xa3\x30\x8c\xfc\xfa\x82\x7a\x29\xec\xfb\x71\x13\xf2\xca\xd4\xb1\xc8\x4a\xab\xe6\x68\xbc\x56\xcf\x7e\xa4\xf6\x36\xfd\x70\xf4\x46\x47\x4f\x9e\x8a\xd7\xca\x79\xe9\xb5\xf9\x70\xf3\x46\x37\x97\xa5\x5e\x17\xbe\x56\x95\x29\xb9\x54\x22\x7d\xad\xa0\xdd\x38\x60\xa4\x7a\xa8\x7f\x8a\x1c\xbf\x4f\x47\x09\x43\x8c\x24\x8c\xf8\xff\x49\x93\x54\xa9\xd8\x74\x61\x1e\x5f\xe4\x7a\x64\xdf\x51\x10\x47\x33\x20\x34\xc0\xd7\xf0\x1c\x85\x88\x36\x92\x46\x83\x5d\x9d\xcf\xa5\x94\x22\xd7\xf7\x82\xd4\xff\x95\xdc\x1e\xea\xa5\x67\x51\xaf\x9a\x5e\xee\x6f\x00\x00\x00\xff\xff\xe4\x4b\x7f\xd5\x44\x0b\x00\x00") var _mysql000001_create_teamsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x98\xdf\x8f\xa3\x36\x10\xc7\xdf\xf9\x2b\xa6\x4f\x40\x55\x55\xb7\xe9\xdd\xea\xa4\x28\x55\xbd\xe0\xdc\x5a\x25\x90\x82\xa3\xee\x3e\x45\x4e\xf0\xf6\x90\xc0\x20\x70\xb6\xc9\x7f\x5f\x61\x08\xf9\x81\x73\x9b\xcd\xa9\xbd\x2a\xb7\x2f\x48\xc1\x5f\x4f\xec\xf9\xcc\x8c\xc7\x38\x21\x46\x14\x03\x45\x77\x1e\x06\x32\x06\x3f\xa0\x80\x1f\x48\x44\x23\xa0\x9c\x65\x15\x58\x06\x00\x00\x89\xe1\x99\x95\xcb\xcf\xac\xb4\x06\xb7\xb6\x52\xf9\x33\xcf\xfb\x49\x0d\x3a\x25\x67\x92\x23\x09\x8b\xe4\xaf\x44\x48\x6b\xf0\xce\x06\x17\x8f\xd1\xcc\xdb\x57\xcd\x8a\xf8\x0c\x95\xcb\x53\x7e\x86\x2a\xa9\x8a\x94\x6d\x7c\x96\xf1\x6e\x5d\xb7\xef\x75\xca\x33\x24\x2e\xaf\x96\x65\x52\xc8\x24\x17\xbb\x4d\x7e\xf8\xa0\x93\xe2\x8c\x25\x69\x27\xba\x19\x7c\xd4\x89\xe8\xa6\xe0\x2f\x19\x72\xf2\xac\x60\xe2\x9c\x0d\xa0\x34\xcd\xff\xe6\xb1\x9b\x67\x2c\x11\x15\x48\xbe\x96\xcd\x00\x11\xcf\x89\xe4\x7b\x60\x7e\x19\xe8\xe6\x47\xcb\xcf\x3c\xe3\x47\xfc\xfa\xb2\x69\x48\x26\x28\x7c\x84\xdf\xf1\x23\x58\x24\xb6\x5b\x66\x3e\xf9\x63\x86\xd5\x4b\xb5\x54\xab\x7e\xb6\x63\xf5\xcb\x24\x5e\xcf\x65\x1d\x26\xf3\x44\xad\x66\x9e\xc4\x60\x6d\x17\xa6\xd5\xad\x54\x14\xcc\x99\x04\x6b\x1b\x10\x5a\xdd\x52\xc5\x94\xd2\x6d\xc3\x4b\xab\x8b\x55\xbc\x28\xdd\x36\x74\xb4\xba\x4a\xb9\x41\xad\x6f\xeb\x11\xdb\xb0\x01\xfb\x9f\x88\x8f\x47\x44\x88\xdc\xbd\xeb\xdc\xe2\xdc\xa3\x30\xc2\x74\xb4\x92\x4f\x1f\xb3\xc5\xfb\xa1\x61\x44\x98\xc2\x6f\x45\xc9\x0b\x56\xf2\x38\x92\x4c\xf2\x8c\x0b\x09\x23\xb0\x22\xec\x61\x87\x02\x19\x37\x89\xd2\x3c\x95\xe3\x9b\x01\x27\x98\xf9\xd4\xfa\xd1\x86\x71\x18\x4c\x80\xf8\xe3\x20\x9c\x20\x4a\x02\x7f\x1e\x39\xf7\x78\x82\x7e\x76\x02\x6f\x36\xf1\xa3\x6e\xde\x9f\xf7\x38\xc4\x20\xd9\x22\xe5\x73\x51\x3b\x7d\x04\xa6\x4a\x45\xb3\x93\x20\xdf\x6d\x05\x6a\x5b\x0c\x46\xe0\x22\x8a\xee\x50\x84\x2d\xfb\x40\xb5\xcc\xd3\x55\x26\x3a\x3b\x2a\x98\x82\x82\x8b\x86\x51\x63\xd1\x86\x5f\xe1\x5d\xe3\x33\xb3\x5d\xf4\x8d\xd9\xfe\x46\x1e\xc5\x61\x5b\x1d\x9a\x7a\x80\x5c\x17\x8e\xcc\xc0\x22\xcf\xd3\xa1\x69\xd8\xf6\xd0\x30\xa6\x21\x9e\xa2\x10\x03\x4b\x25\x2f\xc9\x93\x9f\x4b\xbc\x4e\x2a\x59\x35\xfb\xef\xfb\x70\x68\xe0\x07\xec\xcc\x68\x7f\xc6\xd0\x70\x31\xf2\xbc\xc0\xa9\x0b\xd4\x29\xb3\xd7\xc3\xc6\x63\x95\xac\x6d\x91\x65\x2e\x9a\xd4\xb8\x14\x4f\xdf\x52\x5b\x4d\xdf\x18\x7d\x25\xa3\xbd\xa3\xe2\x52\x38\xa7\x4e\x9b\x37\x36\x5f\xc9\xe6\x53\x99\xaf\x0a\x27\x17\x95\x2c\x59\x22\x78\x7c\x29\xa0\x63\x3b\x20\x13\xb1\xa9\x5b\x91\x9b\xeb\x64\x14\x51\x44\x49\x44\x89\xf3\x2f\x61\x4a\x44\xcc\xd7\x9d\x99\xdd\x89\x5c\xbf\xe9\x33\x72\xc3\x60\x0a\xc4\x77\xf1\x03\x1c\x4a\x21\xf0\x1b\x48\x43\xf3\x18\xe7\x21\x94\x92\x67\xf9\x33\x27\xf5\xbf\x92\xa7\x73\xb9\x68\x26\x69\xd1\x68\x75\xd7\x92\x41\x87\xad\xa6\xa9\x93\xca\xba\xb7\xfd\x61\x04\x66\xdd\x87\xf6\xe9\xf5\x33\x6a\x12\xb8\x64\xfc\x08\xcd\x36\x74\xcd\xec\x4b\x38\xaf\x22\xc7\xbe\x7d\x1d\x3c\xc9\xb1\x2b\x6e\xaf\xa7\xf9\xc5\x4a\xf9\x1d\x50\xfd\x56\x95\xb3\xbb\xcb\xbc\x7c\xc4\xb5\xd7\xfb\xe3\x82\xba\xbb\x0d\x6d\xab\xea\xee\x56\x74\x7c\xc8\x35\x37\xb1\xb6\xe4\xbd\x02\x98\x7e\x9e\x16\xdb\x29\xe9\xd5\xe4\x24\xdd\x14\xfc\xcb\x79\xb8\xdf\x0a\xbe\x3e\x13\x7b\x9f\x1c\xbe\x8b\xfc\xfb\x2f\x09\x6e\xd3\xe3\x4c\x8a\xb7\x17\x40\xd4\x7d\xa9\xf9\xdf\x70\xfc\x27\x00\x00\xff\xff\x18\x3e\x1e\x60\x28\x14\x00\x00")
func mysql000001_create_teamsUpSqlBytes() ([]byte, error) { func mysql000001_create_teamsUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -872,7 +872,7 @@ func mysql000013_create_incoming_webhooksDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _mysql000013_create_incoming_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x58\x51\x6f\xa3\x46\x10\x7e\xe7\x57\xcc\x9b\xa1\xb2\x2a\x27\x4a\x4e\x27\x59\xae\x6e\xb3\x8c\x93\x55\xd7\x4b\x0a\xeb\x26\x79\xb2\x36\xb0\x17\x50\x6c\x88\x60\xd3\xfa\xfe\x7d\xb5\x80\xb1\x49\x9c\x4b\x5a\xb9\x4a\xd5\x8b\x1f\x2c\x01\xdf\x7e\xcc\xcc\x37\xb3\xcc\x0e\x0d\x91\x48\x04\x49\xce\x38\x02\x9b\x82\x08\x24\xe0\x35\x8b\x64\x04\x2c\x8f\x8b\x55\x96\xdf\x5d\xe9\xdb\xb4\x28\xee\x2b\x70\x1d\x00\x00\x96\xc0\x1f\xaa\x8c\x53\x55\xba\xc7\x9f\xbc\x7a\x81\x98\x73\x3e\xac\x1f\xd2\x52\x2b\xa3\x89\x81\xdb\xec\x2e\xcb\x8d\x7b\x3c\xf2\xc0\xc7\x29\x99\xf3\x5d\xd4\xfc\x21\x79\x03\xca\xd7\x4b\xfd\x06\xae\x4a\x97\x4f\x4c\x7a\x0e\xa2\xa9\xca\x73\xbd\x7c\x15\x27\xb5\x5a\xbd\x0a\xf2\xb3\xea\x61\xa9\xbe\x09\xb5\xd2\x1d\xf2\xd3\xc9\x7e\x0f\xaa\xb8\xcc\x1e\x4c\x56\xe4\x1d\xf2\xe8\xf8\xf3\x4b\x6e\xe4\xaf\x33\x5e\x86\x6c\x46\xc2\x1b\xf8\x15\x6f\x5c\x96\x78\x8e\x07\x28\xce\x99\xc0\x09\xcb\xf3\xc2\x3f\xeb\x56\xd0\x0b\x12\x46\x28\x27\x8f\xe6\xeb\xe7\xd5\xed\xc9\xd8\x71\x22\x94\xf0\xe5\xa1\xd4\x0f\xaa\xd4\x49\x64\x94\xd1\x2b\x9d\x1b\x98\x80\x1b\x21\x47\x2a\x81\x4d\x1b\x7d\x9b\x7f\xfb\x6b\x1f\xd0\x60\x2e\xa4\xfb\x93\x07\xd3\x30\x98\x01\x13\xd3\x20\x9c\x11\xc9\x02\xb1\x88\xe8\x05\xce\xc8\xcf\x34\xe0\xf3\x99\x88\xba\x75\x57\x17\x18\x22\x18\x75\xbb\xd4\x8b\xda\xa7\x09\x0c\x9e\x26\xd3\xa0\x43\x13\xe1\xb7\xd8\x2a\x4e\xf5\x4a\xc1\x04\x7c\x22\xc9\x19\x89\xd0\xf5\x7a\xa8\xb8\x58\x3e\xae\xf2\x8e\x72\x13\xb2\x86\xca\x83\x5f\x60\xd4\x04\x69\x40\xb8\xc4\x70\x93\xd3\x4f\xb3\x78\x16\xf8\x6c\x7a\xb3\x0d\xf8\xef\x24\xb4\xd1\x72\x8f\x4f\x4f\xbd\xf1\xa0\x65\x68\x5d\x3f\x1a\x38\x9e\x37\x76\x9c\xcb\x10\x2f\x49\x88\xa0\x96\x46\x97\xec\xab\x28\x0c\xae\xb3\xca\x54\x4d\x48\x9e\x87\x75\xec\xe0\x35\xd2\xb9\x7c\xbe\x62\xec\xf8\x48\x38\x0f\xa8\xad\xba\x97\x68\xff\x97\x72\xb1\xb8\xc8\xe7\x21\x7f\xae\x56\x17\xeb\xb7\xa8\x47\x7c\x1f\x5a\x26\x30\x7a\x6d\xc6\x1f\x0a\x1d\x4c\xa1\x76\x97\xe4\x45\x7c\xaf\x93\x03\xe8\xd4\xe3\x03\x93\xe5\xdf\xec\x36\x7e\xd4\xdf\xd7\x3e\x04\x3c\x9c\x80\x3b\xdf\x9b\x7f\xb6\x29\xee\x7e\xb0\x24\x5e\xcb\x1f\x62\x3f\x8c\x24\x91\x2c\x92\x8c\xfe\xfb\x7a\x65\x79\xa2\xd7\x1d\x63\x96\xac\x17\x59\xcb\xba\xf8\xb3\xa1\x5d\x3c\x56\xba\x5c\x64\x6f\x28\xbf\xb6\x73\x63\xc2\xc7\x6b\xf8\x1e\x15\x04\x62\x4f\x2f\xd7\xf4\x4d\xde\xd3\xf2\x8b\xeb\x06\x8e\x59\x3b\xff\x96\xae\xfb\xd7\xed\x55\xf7\x25\xe8\x8f\xa3\xb1\xd1\x6a\x75\x20\x8d\x5b\xaa\xfd\x1a\x37\xed\xec\x87\xc6\xef\x52\xc7\xf5\x19\x67\xa1\xcc\x41\x2a\x79\x43\xf6\x42\x2d\xb7\xe7\xa9\x0f\xa5\xdf\x43\xe9\x26\x02\x07\x52\xba\x23\xdb\xaf\xf4\xe6\x7c\xfd\xa1\xf4\x7b\x28\x9d\xd4\x13\x89\x03\x29\xdd\x91\xed\x57\x7a\x33\xfd\xf8\x4f\x29\xdd\x7a\x75\x19\x06\x14\xfd\x79\x88\x40\x53\x1d\xdf\xd3\xba\x0b\x9d\xa9\x35\xd7\xf9\x9d\x49\x1b\x95\xb3\xbc\xed\x4e\x7b\x73\x92\x93\x53\x6f\xb8\x79\x6c\xd2\x52\x57\x69\xb1\x4c\x20\xcb\x0d\x78\xce\x19\x9e\x33\xd1\xcc\x4d\x90\x72\x6b\x07\x05\x26\xe4\xd8\x71\x7a\x19\x43\x38\x46\x14\x77\x52\x69\x3e\xdb\x5e\xd8\x1f\x25\x11\xf6\x6e\x5c\x5d\xa0\xa8\x27\x22\x0b\x8e\xe2\x5c\x5e\xb8\x5b\xc3\xac\x84\x5b\x3b\xa4\x05\x1e\xf5\xd6\x22\x8f\x10\x46\xfd\x5b\xc2\xef\xae\x5b\x6f\x46\x9e\xb5\x34\x00\x5a\x5f\x35\xc9\xfc\x44\xd1\xd6\x0d\x36\x75\xa9\x4d\x1b\xaf\x7e\xd9\x4e\x3d\x48\xf8\xb2\xd2\x55\xa5\xee\xb4\xd4\x6b\x5b\x3c\x34\x10\x94\x48\xf7\x59\x6e\xb7\x61\x85\xc1\x70\x27\xc0\x43\x18\x40\xaa\x2a\x48\x94\x51\xb0\x54\xe5\x9d\x2e\xc1\xa4\xca\x58\x54\xe7\x9f\x05\x59\x15\x54\x6c\x74\x59\x0d\xbc\xf1\xf6\xf5\xec\x5c\x10\x0e\xd1\x6f\xdc\x16\x1c\xc2\xe0\xe4\x74\x34\x1a\x0d\x7a\x6e\x5b\x13\x67\x18\x45\xe4\x1c\x17\xf6\x6c\x00\x93\x9e\xc5\x0d\x19\x0a\x1f\xd8\x74\xec\xa0\xf0\x6d\xba\x10\xce\xf7\xa7\xc8\x76\x78\x33\x84\x7a\xf0\xf2\x3d\xec\x66\x72\x30\x04\x38\x1a\x1d\x9f\xd8\x62\xf0\xc3\xe0\x72\x27\x0d\xd9\x74\x33\xb4\xdc\xc7\x30\x76\xfe\x0a\x00\x00\xff\xff\x4b\xc9\xbc\x8f\xe6\x14\x00\x00") var _mysql000013_create_incoming_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x58\x51\x6f\xe2\x46\x10\x7e\xf7\xaf\x98\x3e\xd9\xae\x50\x45\xa2\xe4\x74\x12\xa2\xba\xcd\x7a\x48\x56\x5d\xd6\xa9\xbd\xf4\x92\x27\xb4\x81\xbd\x60\x05\x0c\xb2\x37\x2d\xf9\xf7\xd5\xda\xc6\x60\xe2\x5c\xd2\x8a\x2a\xa7\x06\x1e\x90\x6c\x7f\xfb\x79\x66\xbe\x99\xf5\xce\xd0\x08\x89\x44\x90\xe4\x82\x23\xb0\x01\x88\x50\x02\xde\xb0\x58\xc6\xc0\xd2\xc9\x72\x91\xa4\xf7\x5f\xf5\xdd\x6c\xb9\x7c\xc8\xc1\x73\x00\x00\xd8\x14\xfe\x54\xd9\x64\xa6\x32\xef\xf4\x93\x5f\x2c\x10\x23\xce\x3b\xc5\x43\x9a\x69\x65\x34\x31\x70\x97\xdc\x27\xa9\xf1\x4e\xbb\x3e\x04\x38\x20\x23\xbe\x8b\x1a\xad\xa6\x6f\x40\x05\x7a\xae\xdf\xc0\x95\xeb\x6c\xcf\xa4\xe7\x20\x3a\x53\x69\xaa\xe7\xaf\xe2\xa4\x56\x8b\x57\x41\x41\x92\xaf\xe6\xea\x49\xa8\x85\xae\x91\x9f\xce\xda\x3d\xc8\x27\x59\xb2\x32\xc9\x32\xad\x91\x27\xa7\x9f\x5f\x72\x23\x7d\x9d\xf1\x3a\x62\x43\x12\xdd\xc2\x6f\x78\xeb\xb1\xa9\xef\xf8\x80\xe2\x92\x09\xec\xb3\x34\x5d\x06\x17\xf5\x0a\x7a\x45\xa2\x18\x65\xff\xd1\x7c\xfb\xbc\xb8\x3b\xeb\x39\x4e\x8c\x12\xbe\xac\x32\xbd\x52\x99\x9e\xc6\x46\x19\xbd\xd0\xa9\x81\x3e\x78\x31\x72\xa4\x12\xd8\xa0\xd4\xb7\xfc\xb7\xbf\xea\x01\x0d\x47\x42\x7a\x3f\xfb\x30\x88\xc2\x21\x30\x31\x08\xa3\x21\x91\x2c\x14\xe3\x98\x5e\xe1\x90\xfc\x42\x43\x3e\x1a\x8a\xb8\x5e\xf7\xf5\x0a\x23\x04\xa3\xee\xe6\x7a\x5c\xf8\xd4\x07\x77\x3f\x99\xdc\x1a\x4d\x44\x50\x61\xf3\xc9\x4c\x2f\x14\xf4\x21\x20\x92\x5c\x90\x18\x3d\xbf\x81\x9a\x2c\xe7\x8f\x8b\xb4\xa6\xdc\x84\xac\xa4\xf2\xe1\x57\xe8\x96\x41\x72\x09\x97\x18\x6d\x72\x7a\x3f\x8b\x87\x61\xc0\x06\xb7\xdb\x80\xff\x41\x22\x1b\x2d\xef\xf4\xfc\xdc\xef\xb9\x15\x43\xe5\xfa\x89\xeb\xf8\x7e\xcf\x71\xae\x23\xbc\x26\x11\x82\x9a\x1b\x9d\xb1\x6f\x62\x69\x70\x9d\xe4\x26\x2f\x43\xf2\x3c\xac\x3d\x07\x6f\x90\x8e\xe4\xf3\x15\x3d\x27\x40\xc2\x79\x48\x6d\xd5\xbd\x44\xfb\xbf\x94\x8b\x4d\x96\xe9\x28\xe2\xcf\xd5\xaa\x63\xfd\x16\xf5\x48\x10\x40\xc5\x04\x46\xaf\x4d\xef\xa8\xd0\xc1\x14\xaa\x76\x49\xbe\x9c\x3c\xe8\xe9\x01\x74\x6a\xf0\x81\x49\xd2\x27\xbb\x8d\x9f\x34\xf7\xb5\xa3\x80\x87\x13\x70\xe7\x7b\xf3\xef\x36\xc5\xdd\x0f\x96\xc4\x1b\xf9\x21\xf6\xc3\x58\x12\xc9\x62\xc9\xe8\x7f\xaf\x57\x92\x4e\xf5\xba\x66\x4c\xa6\xeb\x71\x52\xb1\x8e\xff\x2a\x69\xc7\x8f\xb9\xce\xc6\xc9\x1b\xca\xaf\x3a\xb9\x31\x11\xe0\x0d\x7c\x8f\x0a\x42\xd1\x72\x96\x2b\xcf\x4d\xfe\x7e\xf9\x4d\x8a\x03\x1c\xb3\x76\xfe\x23\x5d\xdb\xd7\xb5\xaa\xfb\x12\xf4\xe3\x68\x6c\xb4\x5a\x1c\x48\xe3\x8a\xaa\x5d\xe3\xf2\x38\x7b\xd4\xf8\x5d\xea\xb8\xe8\x71\xc6\xca\x1c\xa4\x92\x37\x64\x2f\xd4\x72\xd5\x4f\x1d\x95\x7e\x0f\xa5\xcb\x08\x1c\x48\xe9\x9a\xac\x5d\xe9\x4d\x7f\x7d\x54\xfa\x3d\x94\x9e\x16\x13\x89\x03\x29\x5d\x93\xb5\x2b\xbd\x99\x7e\xfc\x50\x4a\x57\x5e\x5d\x47\x21\xc5\x60\x14\x21\xd0\x99\x9e\x3c\xd0\xe2\x14\x3a\x54\x6b\xae\xd3\x7b\x33\x2b\x55\x4e\xd2\xea\x74\xda\x98\x93\x9c\x9d\xfb\x9d\xcd\x63\x33\xcb\x74\x3e\x5b\xce\xa7\x90\xa4\x06\x7c\xe7\x02\x2f\x99\x28\xe7\x26\x48\xb9\xb5\x83\x02\x13\xb2\xe7\x38\x8d\x8c\x21\x1c\x63\x8a\x3b\xa9\x34\x1a\x6e\x2f\xec\x8f\x92\x18\x1b\x37\xbe\x5e\xa1\x28\x26\x22\x63\x8e\xe2\x52\x5e\x79\x5b\xc3\xac\x84\x5b\x3b\xa4\x05\x9e\x34\xd6\x22\x8f\x11\xba\xcd\x5b\x22\xa8\xaf\x2b\x6f\xba\xbe\xb5\x34\x04\x5a\x5c\x95\xc9\xbc\xa7\x68\xe5\x06\x1b\x78\xd4\xa6\x8d\x5f\xbc\x6c\xa7\x1e\x24\x7c\x59\xe8\x3c\x57\xf7\x5a\xea\xb5\x2d\x1e\x1a\x0a\x4a\xa4\xf7\x2c\xb7\xab\xb0\x82\xdb\xd9\x09\x70\x07\x5c\x98\xa9\x1c\xa6\xca\x28\x98\xab\xec\x5e\x67\x60\x66\xca\x58\x54\xed\x9f\x05\x59\x15\xd4\xc4\xe8\x2c\x77\xfd\xde\xf6\xf5\xec\x52\x10\x0e\xf1\xef\xdc\x16\x1c\x82\x7b\x76\xde\xed\x76\xdd\x86\xdb\xd6\xc4\x21\xc6\x31\xb9\xc4\xb1\xed\x0d\xa0\xdf\xb0\xb8\x24\x43\x11\x00\x1b\xf4\x1c\x14\x81\x4d\x17\xc2\x79\x7b\x8a\x6c\x87\x37\x1d\x28\x06\x2f\xdf\xc3\x6e\x26\x07\x1d\x80\x93\xee\xe9\x99\x2d\x86\x20\x0a\xaf\x77\xd2\x90\x0d\x36\x43\xcb\x36\x86\x8f\xd1\xeb\xed\xe1\xcc\xd3\x4a\xc3\x4f\x7d\x70\x8d\x5e\xb7\xec\x57\x6f\xe9\x06\x4b\xcf\x1a\x4d\x61\x39\x72\xf9\x41\x9a\xc2\xbf\x03\x00\x00\xff\xff\x64\x2d\x58\xdb\xbc\x16\x00\x00")
func mysql000013_create_incoming_webhooksUpSqlBytes() ([]byte, error) { func mysql000013_create_incoming_webhooksUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -912,7 +912,7 @@ func mysql000014_create_outgoing_webhooksDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _mysql000014_create_outgoing_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x98\xdf\x6e\xa3\x38\x14\xc6\xef\x79\x8a\x73\x17\x58\xad\x56\x4d\x55\x55\x95\xa2\xac\xd6\x05\x67\x6b\x0d\x81\xca\x98\x69\x7b\x85\x1c\x70\x13\x54\xb0\x23\x70\x66\xd2\xb7\x1f\xf1\x27\x28\x6d\xe8\x64\x46\x62\xd4\x51\x27\xb9\x88\x92\xf8\x3b\x1f\xce\xf9\xf9\xc0\xb1\x6d\x8a\x11\xc3\xc0\xd0\xb5\x8b\x81\xcc\xc0\xf3\x19\xe0\x7b\x12\xb0\x00\xfc\x8d\x5e\xaa\x54\x2e\xef\xc4\x62\xa5\xd4\x53\x09\xa6\x01\x00\x40\x12\xf8\xc2\x8b\x78\xc5\x0b\xf3\xfc\xd2\xaa\x03\xbc\xd0\x75\xff\xae\x07\x99\x7a\x12\xf2\xc5\xb8\x83\x67\x28\x74\xf7\x35\x76\x21\xb8\x16\x48\xc3\x22\x5d\xa6\x52\x9b\xe7\x67\x7d\xaa\x70\x9d\xfc\x80\xca\x11\x99\x38\xae\xaa\xaf\xa8\x8a\x57\x33\xef\xd1\xad\xb8\x94\x22\x3b\xaa\x63\x82\xe7\xc7\x45\x45\xba\x5c\x8a\xe2\x4e\x15\x49\x09\x5a\x6c\x75\x7b\x0d\x9e\x65\x0b\x1e\x3f\x85\xd4\xdd\xff\xd9\x49\xcb\x75\xc6\x9f\x3d\x9e\x8b\xce\xf7\xf2\xa2\xcf\xf7\x96\x92\x39\xa2\x0f\xf0\x09\x3f\x98\x24\xb1\x0c\x0b\xb0\xf7\x3f\xf1\xf0\x94\x48\xa9\x9c\xeb\x2e\xc2\xbe\x41\x34\xc0\x6c\xba\xd1\x8f\x57\xf9\xe2\x62\x62\x18\x01\x66\xf0\xdf\xba\x10\x6b\x5e\x88\x24\xd0\x5c\x8b\x5c\x48\x0d\x53\x30\x03\xec\x62\x9b\x01\x99\x35\x88\x9b\xf7\xea\xd5\x0e\xd8\x7e\xe8\x31\xf3\x2f\x0b\x66\xd4\x9f\x03\xf1\x66\x3e\x9d\x23\x46\x7c\x2f\x0a\xec\x1b\x3c\x47\xff\xd8\xbe\x1b\xce\xbd\xa0\x8b\xbb\xbb\xc1\x14\x83\xe6\x8b\x4c\x44\xb2\xfa\x4f\x53\x18\xbd\x5e\x4f\xa3\x4e\x8d\x3c\xa7\xd5\x96\xf1\x4a\xe4\x1c\xa6\xe0\x20\x86\xae\x51\x80\x4d\xeb\x85\x2a\x56\xd9\x26\x97\x9d\xa5\xad\xa4\x16\x52\xb3\xe7\xb5\x68\xdc\x2c\xf8\x17\xce\x9a\x3c\x8d\xda\xb9\x8f\x47\xed\x77\xe4\x32\x4c\xdb\x95\x7e\xb0\xb6\x91\xe3\xc0\x9e\x1b\x7c\x46\xb4\x4a\xa0\x39\x3e\xbf\xb2\x26\x23\xc3\xb2\x26\x86\x71\x4b\xf1\x2d\xa2\x18\x78\xa6\x45\x41\x1e\x3d\xa5\xf1\x36\x2d\x75\xd9\x64\xe5\x30\xb3\x13\x03\xdf\x63\x3b\x64\x87\x11\x13\xc3\xc1\xc8\x75\x7d\xbb\xaa\xbd\xb7\x6c\x3f\x24\xb1\x5d\x55\xac\x84\x1c\x80\xd8\x9e\x1b\x54\xe5\x3f\x1e\xbf\xac\x98\x13\xb9\xe1\xc8\x85\xa5\x28\xaa\xcf\x03\x60\xdb\x59\x75\x55\xf6\xfa\x4e\x77\xe2\x36\x1c\x37\x12\x2b\x19\x52\x77\x00\x6c\xad\x53\xfd\xd4\x3a\x11\x1a\x8e\x90\x23\xca\xb8\x48\xd7\x3a\x55\x43\xdc\x13\xf7\xdc\x3e\x2e\xa9\x80\x21\x46\x02\x46\xec\x5f\x0f\x2b\x95\x89\xd8\x76\x8e\x69\xb2\x8d\x54\xeb\x1a\x7d\x6d\x6c\x23\x2d\x78\x1e\xa5\xc9\x71\x78\x6d\xb7\x4d\x3c\x07\xdf\xc3\xf7\xac\xc0\xf7\x7a\xfa\xef\xa6\xef\x3c\xe8\x47\xe2\xba\xa1\x26\xd5\x3c\x7f\x8a\x6b\x7f\x5c\x2f\xdd\xb7\xa4\x7f\x0e\xe3\x4d\xbd\x1f\x89\xb8\x1e\x82\x72\x67\xd6\xcf\x79\xb7\xf7\x39\x91\x7e\x0f\xd2\x4d\x06\x06\x22\xdd\x99\xf5\x93\xde\xed\x85\x4f\xa4\xdf\x83\x74\x52\x9f\x1e\x0c\x44\xba\x33\xeb\x27\xbd\x3b\xa9\xf8\x9d\x48\x7f\x0b\x00\x00\xff\xff\x93\xaa\x82\x1f\xfd\x11\x00\x00") var _mysql000014_create_outgoing_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x98\x5f\x6f\xa2\x4c\x14\xc6\xef\xf9\x14\xe7\xbd\x12\xde\x6c\x9a\xda\x34\x4d\x13\xe3\x66\xa7\x30\x6e\x27\x8b\xd0\xc0\xb0\x6d\xaf\xc8\x28\xa3\x92\xc2\x60\x60\xdc\xb5\xdf\x7e\xc3\x1f\x09\x2a\xad\xdd\x2c\x4d\x9b\x56\x2f\x8c\x3a\xcf\x3c\x0c\xe7\x37\x83\xe7\x1c\xdd\xc1\x88\x62\xa0\xe8\xca\xc4\x40\x46\x60\xd9\x14\xf0\x1d\x71\xa9\x0b\xf6\x4a\xce\x93\x50\xcc\x6f\xf9\x64\x91\x24\x0f\x19\xa8\x0a\x00\x00\x09\xe0\x17\x4b\xa7\x0b\x96\xaa\x67\x17\x5a\x31\xc1\xf2\x4c\xf3\x4b\x31\x48\x93\x07\x2e\xb6\xc6\x0d\x3c\x42\x9e\xd9\xd4\xe8\x29\x67\x92\x23\x09\x93\x70\x1e\x0a\xa9\x9e\x9d\xb6\xa9\xbc\x65\xf0\x02\x95\xc1\x23\x7e\x58\x55\x5c\x31\x49\x77\x56\xde\xa2\x5b\x30\x21\x78\x74\x50\x47\x39\x8b\x0f\x8b\xd2\x70\x3e\xe7\xe9\x6d\x92\x06\x19\x48\xbe\x96\xd5\x35\x58\x14\x4d\xd8\xf4\xc1\x73\xcc\xe6\xcf\x46\x98\x2d\x23\xf6\x68\xb1\x98\xd7\xbe\x17\xe7\x6d\xbe\x37\x0e\x19\x23\xe7\x1e\x7e\xe0\x7b\x95\x04\x9a\xa2\x01\xb6\xbe\x13\x0b\x0f\x89\x10\x89\x71\x55\xcf\xd0\xaf\x91\xe3\x62\x3a\x5c\xc9\xd9\x65\x3c\x39\x1f\x28\x8a\x8b\x29\x7c\x5b\xa6\x7c\xc9\x52\x1e\xb8\x92\x49\x1e\x73\x21\x61\x08\xaa\x8b\x4d\xac\x53\x20\xa3\x12\x71\xf9\x9e\xbf\xaa\x01\xdd\xf6\x2c\xaa\xfe\xaf\xc1\xc8\xb1\xc7\x40\xac\x91\xed\x8c\x11\x25\xb6\xe5\xbb\xfa\x35\x1e\xa3\x13\xdd\x36\xbd\xb1\xe5\xd6\xf3\x6e\xaf\xb1\x83\x41\xb2\x49\xc4\x7d\x91\xdf\xd3\x10\x7a\xbb\xfb\xa9\x57\xab\x91\x65\x54\xda\x6c\xba\xe0\x31\x83\x21\x18\x88\xa2\x2b\xe4\x62\x55\xdb\x52\x4d\x93\x68\x15\x8b\xda\x52\x4f\x84\xe4\x42\xd2\xc7\x25\x2f\xdd\x34\xf8\x0a\xa7\x65\x9c\x7a\xd5\xda\xfb\xbd\xea\x3b\x32\x29\x76\xaa\x9d\xbe\xb7\xb7\x91\x61\x40\xc3\x0d\x7e\x22\x27\x0f\xa0\xda\x3f\xbb\xd4\x06\x3d\x45\xd3\x06\x8a\x72\xe3\xe0\x1b\xe4\x60\x60\x91\xe4\x29\x99\x59\x89\xc4\xeb\x30\x93\x59\x19\x95\xfd\xc8\x0e\x14\x7c\x87\x75\x8f\xee\xcf\x18\x28\x06\x46\xa6\x69\xeb\xf9\xd9\x7b\xca\xf6\x43\x12\xdb\x9c\x8a\x05\x17\x1d\x10\x6b\xb8\x41\x7e\xfc\xfb\xfd\xed\x13\x73\x24\xd7\x1d\x39\x2f\xe3\x69\xfe\xb9\x03\x6c\x1b\xab\xfa\x94\xed\x3e\xe9\x8e\xdc\xba\xe3\x46\xa6\x89\xf0\x1c\xb3\x03\x6c\x95\x53\xf1\xaf\x75\x24\xd4\x1d\x21\x83\x67\xd3\x34\x5c\xca\x30\xe9\xe2\x99\xd8\x70\xfb\xb8\xa4\x5c\x8a\x28\x71\x29\xd1\x5f\x1f\x56\x28\x02\xbe\xae\x1d\xc3\x60\xed\x27\x95\xab\xff\xbb\xb4\xf5\x25\x67\xb1\x1f\x06\x87\xe1\x55\xd9\x36\xb1\x0c\x7c\x07\xcf\x59\x81\x6d\xb5\xe4\xdf\x65\xde\xb9\x97\x8f\x4c\x8b\x84\x9a\xe4\xeb\xfc\x2b\xae\xed\xf3\x5a\xe9\x3e\x25\xfd\x3c\x8c\x57\x45\x3d\xe2\x33\xd9\x05\xe5\xda\xac\x9d\xf3\xa6\xf6\x39\x92\x7e\x0b\xd2\x65\x04\x3a\x22\x5d\x9b\xb5\x93\xde\xd4\xc2\x47\xd2\x6f\x41\x3a\x28\xba\x07\x1d\x91\xae\xcd\xda\x49\x6f\x3a\x15\x9f\x85\xf4\x7b\xc9\xa5\x76\x74\x32\x2f\xee\xff\x1b\x42\x2f\x4f\x8d\xf6\xb1\x3f\x9b\x5d\x8d\x6d\x83\x8c\xee\xa1\xbc\xb3\x96\x3c\x6b\x77\xeb\x7c\xc0\xbc\xeb\x3d\xd4\x30\xaf\x46\x74\xbb\xbe\x79\x2f\x34\xff\x05\x67\x19\x21\x83\xcf\xd8\x2a\x92\x15\x54\x31\x4b\xd2\x98\xe5\xdb\xd6\x77\x0b\x0a\x27\xa5\x2c\x7b\xeb\x86\x02\x71\x1b\x5d\xce\x03\x75\x4e\x31\x58\x61\xab\xbb\x09\x79\xa0\xb6\xbb\x08\x2f\x62\x58\x85\xc7\x5a\x45\xd1\x8b\x29\x36\xe6\x3c\xc7\x71\x4b\xf6\x27\x00\x00\xff\xff\x89\xda\xc8\x3b\x6b\x17\x00\x00")
func mysql000014_create_outgoing_webhooksUpSqlBytes() ([]byte, error) { func mysql000014_create_outgoing_webhooksUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -1032,7 +1032,7 @@ func mysql000017_create_rolesDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _mysql000017_create_rolesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x93\x4f\x6b\xa4\x4c\x10\xc6\xef\xfd\x29\xea\xa6\xbe\x84\x97\x24\x84\x10\x10\x97\xed\xd1\x72\xd3\xac\xb6\xb3\xda\xb2\xc9\x29\x74\xc6\x4e\x22\x68\x3b\xd8\x3d\x4b\xf2\xed\x17\xff\xc4\x64\x76\x26\x84\xbd\xae\x07\xa1\xba\x7e\x55\x14\x4f\x3d\x15\xe6\x48\x05\x82\xa0\xab\x04\x81\xc5\xc0\x33\x01\x78\xc3\x0a\x51\x40\xde\x35\xca\x80\x4b\x00\x80\x55\xf0\x4b\xf6\x9b\x27\xd9\xbb\xe7\x97\xde\x08\xf1\x32\x49\x4e\x86\x1c\x97\xad\x5a\xb2\x97\x17\x1e\x44\x18\xd3\x32\x79\x47\x44\xb5\xd9\x36\xf2\x65\x0f\x3c\x3b\xbf\x3a\x46\x2a\xb3\xe9\xeb\xad\xad\x3b\x0d\x56\x3d\xdb\xf1\x31\xec\x95\xb4\x8a\x5a\xb8\xaf\x1f\x6b\x6d\xdd\xf3\xd3\x23\x95\xe5\xb6\xfa\x1c\x8a\x54\xa3\x3e\x85\xd6\xaa\x6f\x6b\x63\xea\x4e\x9b\xb7\x19\x8a\xcd\x93\x6a\x55\x2a\xb5\x7c\x54\x15\xd8\x5a\xbf\x0c\xf5\x67\xc7\xca\x73\x96\xd2\xfc\x16\xbe\xe3\x2d\xb8\xac\xf2\xa6\xe9\x38\xfb\x51\xe2\xf8\x36\xaa\xe0\x0e\x7f\x8f\x78\x80\xfc\x1b\xe3\x18\x30\xad\xbb\x68\xb5\x34\x0b\xaf\x69\x5e\xa0\x08\x76\xf6\xe1\xaa\xbd\xbf\xf0\x09\x29\x50\xc0\xd7\x6d\xaf\xb6\xb2\x57\x55\x61\xa5\x55\xad\xd2\x16\x02\x70\x0b\x4c\x30\x14\xc0\xe2\x71\x51\xd3\xba\xc6\x6f\x4e\x84\x59\xc9\x85\xfb\x9f\x07\x71\x9e\xa5\xc0\x78\x9c\xe5\x29\x15\x2c\xe3\x77\x45\x78\x8d\x29\xfd\x3f\xcc\x92\x32\xe5\xc5\x52\xf7\xf3\x1a\x73\x04\x2b\xef\x1b\x75\xa7\x87\x61\x03\x70\x46\x2b\x38\x0b\x42\x79\x34\x03\x66\xd0\x45\x42\x00\x11\x15\x74\x45\x0b\x74\xbd\x3d\x6a\xd3\x35\xbb\x56\x2f\x7d\x56\xbb\xba\xb1\x4c\x4f\x9d\x3c\xf8\x02\xa7\xa3\x3c\xe0\xcc\xc3\x9e\x39\x73\x4c\x13\x81\xf9\xec\xca\xc9\x87\x34\x8a\x60\x2e\xff\x48\x7f\xdf\x21\x9e\xe7\x13\xb2\xce\x71\x4d\x73\x04\xd9\x58\xd5\xb3\x07\xde\x59\x7c\xae\x8d\x35\x93\x04\x87\x32\xfa\x04\x6f\x30\x2c\xc5\x61\x85\x4f\x22\xa4\x49\x92\x85\xc3\x8d\x7c\xd4\xd6\x27\xa4\x5c\x47\x03\x31\x4d\x3a\xec\x6a\xdf\x2f\x01\x9c\x92\x49\xd6\x71\xfb\xc3\xf9\x30\x0e\xae\x63\x5e\x8c\x55\xed\xdd\xce\xa8\xde\x39\x81\xd7\x50\x56\x6d\xad\x87\xd8\x2a\xf9\x96\x1c\x83\x25\xb5\x79\x92\x5a\xab\x66\xc9\xbe\xc6\x13\xe0\xfd\x3b\x8e\x79\x77\x8d\x87\xae\x39\x74\x49\x9a\x45\x2c\xbe\xdd\xbb\xe1\xa6\xd3\x8f\xc3\x1d\xfb\xce\x9f\x5e\x3b\xea\x96\xbf\xb4\xca\xe7\x3e\x79\x25\x7e\x07\x00\x00\xff\xff\x87\x1b\xad\x91\x6a\x05\x00\x00") var _mysql000017_create_rolesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x54\xd1\x6e\xea\x38\x10\x7d\xae\xbf\x62\xde\x92\xac\xaa\x0a\xaa\xaa\xaa\x14\xb1\x5a\x93\x4c\x8a\xb5\x89\xc3\x26\x4e\xb7\x7d\xaa\x5c\x70\x69\xa4\xc4\xa0\xc4\x5c\xb5\x7f\x7f\xe5\x24\x50\xb8\x50\x55\xf7\xf5\xf2\x00\x1a\xcf\x99\xe1\xe8\xcc\x9c\x09\x32\xa4\x02\x41\xd0\x69\x8c\xc0\x22\xe0\xa9\x00\x7c\x64\xb9\xc8\x21\x5b\x57\xaa\x05\x97\x00\x00\x5b\xc2\x0f\xd9\x2c\xde\x64\xe3\x5e\xdf\x7a\x1d\x88\x17\x71\x7c\x69\x73\x5c\xd6\x6a\x9f\xbd\xbd\xf1\x20\xc4\x88\x16\xf1\x01\x22\x2c\xdb\x4d\x25\x3f\x8e\x80\xe3\xeb\xbb\x73\x48\xd5\x2e\x9a\x72\x63\xca\xb5\x06\xa3\xde\x4d\xf7\x18\x34\x4a\x1a\x45\x0d\xbc\x94\xab\x52\x1b\xf7\x7a\x74\xa6\xb2\xd8\x2c\xbf\x07\x85\xaa\x52\xdf\x82\xe6\xaa\xa9\xcb\xb6\x2d\xd7\xba\xfd\xe4\x90\x2f\xde\x54\xad\x12\xa9\xe5\x4a\x2d\xc1\x94\xfa\xc3\xd6\x8f\xcf\x95\x67\x2c\xa1\xd9\x13\xfc\x8b\x4f\xe0\xb2\xa5\xd7\xb3\xe3\xec\xbf\x02\xbb\xb7\x4e\x05\xd7\x7e\x7b\xc4\x03\xe4\xf7\x8c\xe3\x84\x69\xbd\x0e\xa7\xfb\x66\xc1\x8c\x66\x39\x8a\xc9\xd6\xbc\xde\xd5\x2f\x37\x3e\x21\x39\x0a\xf8\x67\xd3\xa8\x8d\x6c\xd4\x32\x37\xd2\xa8\x5a\x69\x03\x13\x70\x73\x8c\x31\x10\xc0\xa2\x6e\x50\xfd\xb8\xba\xcf\x90\x08\xd2\x82\x0b\xf7\x2f\x0f\xa2\x2c\x4d\x80\xf1\x28\xcd\x12\x2a\x58\xca\x9f\xf3\x60\x86\x09\xbd\x0a\xd2\xb8\x48\x78\xbe\xaf\xfb\x7f\x86\x19\x82\x91\x2f\x95\x7a\xd6\x96\xec\x04\x9c\x6e\x15\x9c\x3d\x84\xf2\x70\x00\xb4\x56\x17\x09\x13\x08\xa9\xa0\x53\x9a\xa3\xeb\x1d\xa1\x16\xeb\x6a\x5b\xeb\x7d\x9f\xe9\xb6\xac\x0c\xd3\x7d\x27\x0f\xfe\x86\x51\x27\x0f\x38\x03\xd9\xb1\x33\xc4\x34\x16\x98\x0d\x5b\xd9\xef\x21\x0d\x43\x18\xca\xbf\xd2\xdf\x77\x88\xe7\xf9\x84\xcc\x33\x9c\xd3\x0c\x41\x56\x46\x35\xec\x95\xaf\x0d\xbe\x97\xad\x69\x7b\x09\x4e\x65\xf4\x09\x3e\x62\x50\x88\xd3\x0a\x9f\x84\x48\xe3\x38\x0d\xac\x47\xbe\x6a\xeb\x13\x32\xb8\x68\x9e\xa5\x01\x86\x45\x86\x90\x94\xab\x46\x1a\x35\x58\xc8\x23\x53\xbc\x67\x1c\x42\x0c\x62\x9a\x21\xb9\xe8\xd6\x49\x3e\xa8\xc6\xae\x19\x08\x7c\x14\x3e\xb9\x18\x34\x78\x90\xd5\x56\xf5\x54\xf3\x8f\xd6\xa8\xba\x1d\x46\xc2\x07\x11\x87\x32\x07\x18\x17\x29\x1c\xb5\xf2\x09\x8b\xdc\xe3\xe6\x13\x70\x6e\xae\xc6\xa3\xab\x91\xe3\x81\x98\x21\x27\xa4\x98\x87\x96\x6c\xcf\xcd\x2e\xd6\xf1\x72\x4f\x60\x44\x0e\xfe\xd0\x7a\x9d\x71\x70\x9d\xb6\x23\xf3\xbc\x6d\x55\xe3\x5c\xc2\x2e\x94\xcb\xba\xd4\x36\x36\x4a\x7e\x26\xbb\x60\x9f\x5a\xbc\x49\xad\x55\xb5\xcf\xee\xe2\x1e\x60\x27\x86\x3c\x04\x16\xf9\xf6\xd7\xaa\x29\xab\xea\x48\x41\xd7\xf3\x49\x98\xa5\xf3\x03\x81\x59\xb4\x3b\x53\x87\xc0\x3f\xc7\x29\x07\x57\xe8\xd4\x2d\xa7\xee\x48\xd2\x90\x45\x4f\x47\xb7\xab\x5a\xeb\x95\xbd\x5f\xbe\xf3\xab\xc7\xce\xba\xe4\x37\x2d\xf2\xbd\x3f\x76\x88\x9f\x01\x00\x00\xff\xff\x55\xe6\x44\x39\x62\x06\x00\x00")
func mysql000017_create_rolesUpSqlBytes() ([]byte, error) { func mysql000017_create_rolesUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -1992,7 +1992,7 @@ func mysql000041_create_upload_sessionsDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _mysql000041_create_upload_sessionsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x96\x51\x6f\x9b\x30\x10\xc7\xdf\xf9\x14\xf7\x16\x98\xa6\xa9\xcb\xa4\xbd\x44\x99\xe6\xc2\xa1\x5a\x23\x10\xd9\x46\x4b\x9f\x90\x1b\x2e\x0b\x12\x21\x19\x76\xa6\x74\x9f\x7e\x22\x50\xd4\xa6\x49\xbb\xa9\xdb\x34\xad\xe5\x01\xc9\xf8\xef\xbf\xcf\xf7\x3b\xf9\xf0\x05\x32\x85\xa0\xd8\x79\x84\xc0\x43\x88\x13\x05\x38\xe3\x52\x49\x48\x37\xe5\x5a\xe7\x92\x8c\x29\xd6\x95\x01\xd7\x01\x00\xe0\x39\x7c\xd3\xf5\x7c\xa9\x6b\x77\xf8\xde\xdb\xcb\xe3\x34\x8a\x5e\xef\x27\xd5\xf5\x86\xfa\xe9\x77\x43\x0f\x02\x0c\x59\x1a\xdd\x96\xf8\x35\x69\x4b\xcc\xc2\x55\xf1\xa5\xa8\xac\x3b\x3c\x3b\xa6\x4a\x0d\xd5\x07\x3b\x1d\xb1\x5a\xea\xaa\xa2\xf2\x51\x5d\x58\x94\x54\xe9\x15\x81\xa5\x9d\x6d\x3f\x4d\xb5\x5d\xde\x1a\x36\x0a\x59\x7c\xa7\x87\x83\x6a\x54\xc9\x62\x61\xe8\x91\xe0\xa7\x82\x4f\x98\xb8\x84\x4f\x78\x09\x2e\xcf\x3d\xc7\x1b\x39\x8e\x44\x05\x1f\x37\x35\x6d\x74\x4d\xb9\xb4\xda\xd2\x8a\x2a\x0b\x63\x70\x25\x46\xe8\x2b\xe0\x61\x9b\xe0\xf6\xdd\x3c\xdd\x84\x9f\xa4\xb1\x72\x5f\x79\x10\x8a\x64\x02\x3c\x0e\x13\x31\x61\x8a\x27\x71\x26\xfd\x0b\x9c\xb0\x37\x52\x31\xc5\xa5\xe2\xbe\xec\x97\x7e\xbe\x40\x81\x60\xf5\x55\x49\xd9\xfe\xe8\x63\x18\xdc\xc5\x39\xe8\xb5\x2c\x0e\x3a\xa5\x99\x2f\x69\xa5\x61\x0c\x01\x53\xec\x9c\x49\x74\xbd\x3b\xaa\xa2\xca\x69\xd7\xfb\x15\xf9\x2e\xdb\xee\x3d\x4d\xe7\x99\x6d\x0d\xd5\x59\x91\xb7\xde\x1e\x7c\x80\xb3\x36\x23\x83\xee\x28\x6f\x07\xdd\xb8\xab\x3a\x1e\x07\x38\x83\xd3\x46\x90\xc4\x07\x55\xe8\xb6\x95\xe1\x8d\x06\x8e\xd7\xa4\x75\x2a\x70\xca\x04\xc2\x7c\x5f\x56\xbc\x09\x90\x2f\xe2\xb5\xc5\x5d\x61\xac\x69\x53\x76\x3f\xed\x23\x07\x67\xe8\xa7\xea\xd4\xba\x91\x13\x20\x8b\xa2\xc4\x6f\x82\x7c\x78\x8b\xe7\x82\xb6\x3d\x7d\xa6\xed\xd3\xe1\xf6\x56\x47\xf0\xde\x5c\x0f\x2f\x80\xff\x36\x60\x7b\xbd\xa1\xa7\xb3\x6d\x5c\x8e\x60\x6d\x1a\xc3\x73\x41\xea\x27\x51\x3a\x89\xff\x34\xcf\xf9\xba\xdc\xae\xaa\xde\x50\xd0\x6a\x6d\x89\xff\xc4\xd5\xcb\x22\x85\xa2\xeb\xf7\x07\x1d\x9e\x05\x01\xdc\x18\x9d\xec\xa9\x87\x14\x75\x69\xa9\xfe\x25\x7e\x87\x2b\x8e\x92\xbb\x2f\xfa\x0f\x99\x7d\x6d\x7e\x29\x7e\x0b\xb4\xce\xe9\xdf\xa3\xf6\x23\x00\x00\xff\xff\xa2\x53\x34\x50\x60\x0a\x00\x00") var _mysql000041_create_upload_sessionsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x56\x51\x6f\xd3\x30\x10\x7e\x5e\x7e\xc5\xbd\x25\x41\xd3\x34\x36\xe0\x25\x2a\xc2\x4b\x2e\xcc\x22\x75\xaa\xd8\x19\xdd\x53\xe5\xb5\x1e\x8d\x94\xa6\x25\x71\x51\xc7\xaf\x47\x6e\xdc\xb2\x76\xd9\x06\x1a\x20\xc4\xe8\x43\xab\xd4\xdf\x7d\x3e\x7f\xdf\xc5\x77\x61\x86\x44\x20\x08\x72\x96\x20\xd0\x18\x58\x2a\x00\x87\x94\x0b\x0e\xf9\xa2\x9c\xcb\x09\x57\x4d\x53\xcc\xab\x06\x3c\x07\x00\x80\x4e\xe0\x8b\xac\xc7\x53\x59\x7b\x27\x6f\xfc\x35\x9c\xe5\x49\x72\xb8\x5e\x14\x37\x0b\xb5\x5d\x3e\x3d\xf1\x21\xc2\x98\xe4\xc9\x6d\x48\x58\x2b\xa9\x15\xd1\x70\x55\x7c\x2a\x2a\xed\x9d\x1c\x77\xa1\xf2\x46\xd5\x7b\x3b\x75\x50\x4d\x65\x55\xa9\xf2\x51\x5c\x5c\x94\xaa\x92\x33\x05\x5a\xad\x74\xfb\xd7\x40\xea\xe9\xad\x47\x83\xe0\xc5\x57\xf5\x70\x52\x06\x95\x5e\x5f\x37\xea\x91\xe4\x07\x19\xed\x93\xec\x12\x3e\xe0\x25\x78\x74\xe2\x3b\x7e\xe0\x38\x1c\x05\xbc\x5b\xd4\x6a\x21\x6b\x35\xe1\x5a\x6a\x35\x53\x95\x86\x1e\x78\x1c\x13\x0c\x05\xd0\xb8\x15\xb8\xfd\x36\x1f\xbb\x10\xa6\x39\x13\xde\x0b\x1f\xe2\x2c\xed\x03\x65\x71\x9a\xf5\x89\xa0\x29\x1b\xf1\xf0\x1c\xfb\xe4\x88\x0b\x22\x28\x17\x34\xe4\xdb\xd0\x8f\xe7\x98\x21\x68\x79\x55\xaa\xd1\xfa\xe8\x3d\x70\x77\xed\x74\xb7\x58\xc2\x22\x8b\x6c\xc6\x53\x35\x93\xd0\x83\x88\x08\x72\x46\x38\x7a\xfe\x0e\xaa\xa8\x26\x6a\xb5\xe5\x2b\x26\xab\xd1\x72\xcd\xd9\x58\xce\xd1\xb2\x51\xf5\xa8\x98\xb4\xdc\x3e\xbc\x85\xe3\x56\x11\xd7\x1e\xe5\xa5\x6b\x9f\x6d\xd5\x51\x16\xe1\x10\xee\x27\x82\x94\xed\x55\xa1\xd7\x56\x86\x1f\xb8\x8e\x6f\x64\x1d\x64\x38\x20\x19\xc2\x78\x5d\x56\xd4\x24\x48\xaf\xd9\x5c\xe3\xaa\x68\x74\xd3\x4a\x76\x57\xf6\xc0\xc1\x21\x86\xb9\xb8\x2f\x2e\x70\x22\x24\x49\x92\x86\x26\xc9\x87\xb7\x78\x2e\xd6\xb6\xa7\x1f\x49\xfd\x74\x73\xb7\x54\x1d\xf6\x6e\xae\x87\xff\x06\xff\x69\x83\xf5\xcd\x42\x3d\xdd\x5b\xc3\xd2\x61\xab\x69\x0c\xcf\xc5\xd2\x30\x4d\xf2\x3e\xfb\xdd\x7e\x8e\xe7\xe5\x72\x56\x6d\x09\x33\x35\x9b\x6b\x45\x7f\xe0\xea\x25\x89\xc0\xcc\xf6\xfb\xbd\x0e\x4f\xa2\x08\x36\x44\xf7\xf6\xd4\x7d\x17\x65\xa9\x55\xfd\x53\xfe\xed\x47\x74\x3a\x77\x17\xf4\x0f\x7a\xf6\xd9\x8c\x14\xbf\xc4\x34\xcb\xf4\x17\xba\x66\x6f\x8c\x41\x96\x86\x18\xe5\x19\x02\x9f\x9a\x1d\xec\xf0\xd6\xf0\xe5\x62\x31\xaf\x35\x78\xbe\x73\x86\xef\x29\x83\x08\xc3\x84\x64\xe8\x1c\xf0\xb5\x9a\x17\xaa\x36\xe7\x04\x81\x43\x11\x38\x07\x56\x98\x0b\x59\x2e\x55\x9b\x33\xbf\x69\xb4\x9a\x35\xd6\x32\x66\xb5\xb5\x61\x2e\x50\x26\x52\xd8\xa1\x0a\x1c\x1a\x7b\xbb\xe4\x3d\x70\x5f\x1f\x9d\xbe\x3a\x3a\x76\x7d\x10\xe7\xc8\xda\x19\x74\x10\x99\xc4\xf7\xe4\x36\x45\xb8\x79\x47\x7a\xae\x7b\xf8\x5d\xfb\x9e\xeb\xda\x24\xb6\xef\x10\xe5\xad\xf8\x0e\xb2\x08\x68\xbc\xfe\x35\x92\xc8\xb2\xec\x96\xc1\xf3\x03\x27\xca\xd2\xc1\x2d\xb9\x68\xbc\x99\xc7\x3b\x23\x02\xe7\x5b\x00\x00\x00\xff\xff\x91\x63\x8f\x24\xc2\x0b\x00\x00")
func mysql000041_create_upload_sessionsUpSqlBytes() ([]byte, error) { func mysql000041_create_upload_sessionsUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -2392,7 +2392,7 @@ func mysql000051_create_msg_root_countDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _mysql000051_create_msg_root_countUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x57\x5b\x6f\xa4\x36\x14\x7e\xf7\xaf\x38\x6f\x40\x95\x8e\xd2\xbe\xa2\x89\xea\x18\xcf\xc6\x15\x98\x11\x97\x36\x7d\x42\x24\xb8\x09\xd2\x04\x26\xd8\xab\xdd\x9f\x5f\x19\x18\x06\x83\x37\x89\xa2\xee\x6a\xab\x6e\x9e\xa2\x39\x17\xbe\xf3\x9d\xcb\x07\x24\xa1\x38\xa3\xb0\x4f\x62\x42\x83\x3c\xa1\x10\xd5\x0f\x5d\xa9\x44\xd2\xb6\x2a\x12\x8d\xaa\xdb\x86\xb4\x1f\x1b\x05\xae\x07\xd7\xf4\x03\xe3\x10\x50\x12\x62\xed\x38\xb3\x6a\xef\x82\xde\xb2\x34\x03\xc6\x33\xff\xec\x23\x1f\x6c\x76\x94\xd2\x90\x92\x0c\x48\x9c\xf3\xcc\xfd\xc9\x43\xbb\x24\x8e\x80\xf1\x5d\x9c\x44\x38\x63\x31\x2f\x52\x72\x43\x23\xbc\x21\x71\x98\x47\x3c\x45\x7f\xde\xd0\x84\x42\x86\xaf\x43\x5a\x70\x1c\x51\xd8\x82\x43\x1e\xcb\xa6\x11\x07\xe9\x20\x00\xcc\x03\x50\xe5\xdd\x41\x14\xf2\xfe\x51\x3c\x95\xb0\x85\x00\x67\xf8\x1a\xa7\xd4\xf5\x46\xfb\x90\x6b\x0a\xcf\x5a\x55\x1e\xe6\xf8\x1c\x0d\x2d\xb6\x40\xfe\x57\xe1\x46\xe2\xe9\x4e\x74\xef\x05\x6d\xc3\x6b\x6d\x83\x8f\x50\x4a\x33\xf8\xed\xd8\x89\x63\xd9\x89\x2a\x55\xa5\x12\x4f\xa2\x51\xb0\x45\x00\xee\x58\x10\xdb\xb9\x08\xcc\x3f\x77\x59\xeb\xc2\x0e\xaf\xd5\xbe\xf4\x7f\x1b\x17\xcb\xbf\xd7\xb8\xb1\xf9\x2f\xb9\x5a\x10\xe3\x78\x70\x05\x97\x17\xe0\x8c\x15\xfe\xe2\x5c\x80\x83\xc3\x8c\x26\x03\x3a\x30\x51\x01\x0e\x4e\x29\x57\x1c\xc3\x5d\xfd\x50\x37\xca\xfd\xf5\xd2\xf3\x1d\xcf\xf3\x11\xda\x27\x74\xaf\x07\xbe\x3c\x28\xd1\xb1\xbf\x79\xab\xe8\xe7\x5a\x2a\x39\xd0\xb5\x6e\x83\x8f\xe8\x2d\x25\x79\xb6\x8e\xf0\x51\x40\x71\x18\xc6\x64\x58\x4b\x7b\x5a\x1f\xa1\x7c\x1f\x68\x0f\x13\x34\x62\x9c\xd3\x04\x7e\x8f\x19\x9f\xb5\x79\xf4\x61\xd5\xc5\x8c\x39\x12\xe3\x90\xa6\x84\xba\x69\x1e\xb9\x79\xd3\x89\xb2\x1a\xcb\x94\xde\x05\x5c\x7a\x80\x53\x30\x7f\x9e\x47\xe7\x52\x74\xac\x42\xa7\x79\xc8\x1e\x07\xc7\x1e\xc4\x63\x7d\x94\xda\x12\xd2\x5d\xd6\x43\x19\xcd\x12\x62\xbe\xf6\xdc\xec\x5b\xa9\x58\x05\xdb\x93\xd7\xf8\x83\xce\xf0\x21\x89\xf3\x3d\x5c\xff\x35\x99\xac\x95\x80\x25\xe9\x80\xaf\x2f\xe2\x59\x3f\xf6\xf9\x1c\x0a\xdb\x05\x69\x67\x13\xd2\x63\xf4\x3c\x06\xaf\xfd\xc6\xa2\xfb\x59\x33\x2d\xc6\xa5\xbc\x82\xcb\x7e\xf9\x56\x53\xb3\x4a\x68\x84\xfd\xac\x9f\x6c\x10\xfe\x9f\x58\xe2\xaf\xb5\xbe\xeb\xfb\xfc\xc6\xfd\x35\x36\x77\x95\xe5\x7b\x58\xdd\xff\x6f\x53\xc3\x52\xf6\x5d\xd0\x2b\x8e\xdf\xd7\x51\x33\xc5\x8f\x76\xbe\xa5\x9d\x5f\x59\x68\xdf\xb1\xa4\x36\x91\x7d\x69\x4b\xbf\x7d\x57\xd9\xce\xb5\xbc\xbd\x6e\xb5\x32\x66\x37\x94\x2f\xf4\xf7\x65\xe5\x95\x1b\x56\xc1\xfd\xf0\x7f\x6d\x57\xe1\xd3\x18\xf4\xd2\xdb\x88\x4f\xf7\xfa\xc1\x56\xcf\x08\xdf\xba\x7a\xf8\xe5\x86\x74\xa2\x54\x02\xab\x49\xaf\x0f\xa5\x54\xc7\x56\xaa\x49\x97\x27\x74\x86\x1c\xf7\xd1\xbd\x4f\x9c\x10\x0a\x8c\x07\xf4\x16\xdc\xba\xfa\x5c\xe8\x60\x59\x8c\x48\x8b\xba\x2a\x3e\x1e\xab\x52\x89\xa2\x54\x9e\x56\xd1\x79\x39\x5b\x18\x41\x4c\xe2\x39\xcd\xe0\x60\xd0\xac\xf5\x7e\x8e\x63\x68\xf9\x2c\xc9\x5c\x9f\x27\x7a\xce\x32\xa9\x5d\xfa\xed\x5a\x5f\xf1\x2d\x3c\x6f\x4c\x96\x16\x77\x41\x3b\x9c\xe8\xf0\x11\xe5\x01\xb0\xdd\xd8\x55\xfb\x77\xcb\x97\x3a\x7b\x9a\x54\x12\xd9\x5b\xbc\xc2\x36\x6f\x9a\xf9\xa2\x62\x42\x5c\x35\x69\xce\xc6\x40\x43\xb4\x78\x35\xd1\x09\xfe\xa8\xc5\x27\x51\x61\x05\x57\xa7\x12\xbb\xb6\xed\xcb\x2c\xd5\xf0\xda\x61\xf2\xb4\xc2\x37\x63\xe3\xfb\xbf\x5c\xdf\x48\x88\xe0\x74\xb6\xac\xea\x13\x24\xf1\xde\x2e\x3f\xbe\x33\x3f\x75\x36\xfd\x19\xee\x09\x7a\xeb\x99\x7a\xfd\x46\x4d\x07\x8a\xf2\xc0\x47\x88\xe0\x30\x7c\xe1\x9b\xdd\x47\xa8\x47\x7f\xfe\xbe\x67\x3b\xe8\x07\x3e\xfd\x52\x94\x8f\xfe\x09\x00\x00\xff\xff\x9a\x97\x60\xfb\x14\x10\x00\x00") var _mysql000051_create_msg_root_countUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x58\x5d\x6f\xab\x46\x10\x7d\xf6\xfe\x8a\x79\x03\xaa\xd4\xf2\xed\x63\x11\x51\x37\xcb\xfa\x66\x2b\x58\x2c\x3e\xda\xf4\x09\x91\xb0\x4d\x90\x1c\x70\x60\xaf\xee\xfd\xf9\xd5\x02\xc6\x7c\x6c\x1c\x2b\xea\x55\x5b\x35\x7e\xb2\x98\x99\xe5\xcc\x9c\x99\x39\x2b\x48\x48\x71\x4c\x61\x17\x06\x84\xba\x49\x48\xc1\x2f\x1e\xeb\x4c\x8a\xb0\xaa\xa4\x2f\x4a\x59\x54\x25\xa9\xbe\x94\x12\x4c\x0b\x6e\xe8\x67\xc6\xc1\xa5\xc4\xc3\xca\x71\x64\x55\xde\x29\xbd\x63\x51\x0c\x8c\xc7\xf6\xc9\xa7\x79\xd4\xd9\x51\x44\x3d\x4a\x62\x20\x41\xc2\x63\xf3\x07\x0b\x6d\xc3\xc0\x07\xc6\xb7\x41\xe8\xe3\x98\x05\x3c\x8d\xc8\x2d\xf5\xf1\x9a\x04\x5e\xe2\xf3\x08\xfd\x7e\x4b\x43\x0a\x31\xbe\xf1\x68\xca\xb1\x4f\xc1\x01\x83\x3c\x65\x65\x29\xf6\x8d\x81\x00\x30\x77\x41\x66\xf7\x7b\x91\x36\x0f\x4f\xe2\x39\x03\x07\x5c\x1c\xe3\x1b\x1c\x51\xd3\xea\xed\xdd\x59\x43\x78\x5c\xc9\x6c\x3f\xc6\x67\x28\x68\x81\x06\xf2\xdf\x0a\xd7\x17\xcf\xf7\xa2\x7e\x2f\x68\x1d\x5e\x2d\x0d\x36\x42\x11\x8d\xe1\x17\xf9\x7c\x48\x1f\x94\x29\xad\xab\x4a\xc2\xcf\x0e\x6c\x6c\xb4\x62\x5b\xf3\x15\xf6\x1c\xf8\x64\x41\x7c\x4b\x39\x5a\xad\xfa\xac\x35\x67\x0c\x85\x58\xad\xda\x52\x4c\x73\x43\xab\xd5\xaa\xab\xc0\x18\x2e\x38\xc0\x13\xcf\x53\xc6\x20\x5c\xa0\xee\xad\x36\xa2\xdc\x05\xb6\x3d\xc2\x3f\xd4\xe2\x90\xd5\x22\x8f\x64\x26\xc5\xb3\x28\x25\x38\x08\xc0\xec\x91\xb1\xad\x89\x60\xfa\x33\xe7\x54\xcd\xec\xf0\x16\x75\x73\xff\xcb\xa8\x9c\xff\xde\xa2\x56\xe7\x3f\xa7\x7a\x56\x21\xc3\x82\x6b\xd8\x5c\x81\xd1\x67\xf8\xc9\xb8\x02\x03\x7b\x31\x0d\x3b\x74\x33\x12\x00\xbb\xc7\x23\x97\xc5\xbe\x2f\x1e\x8b\x52\x9a\x3f\x6d\x2c\xdb\xb0\x2c\x1b\xa1\x5d\x48\x77\x6a\x5e\xb3\xbd\x14\x35\xfb\x93\x57\x92\x7e\x2b\x1a\xd9\x74\xe5\x5a\xd2\x60\x23\x7a\x47\x49\x12\x2f\x23\x6c\xe4\x52\xec\x79\x01\xe9\xb6\x8a\xfe\x58\x1b\x21\xb6\x35\xe7\x8d\x75\x0d\x9b\xbe\xf7\x92\x9d\xab\xc2\x67\x6d\xc5\x38\xa7\x21\xfc\x1a\x30\x3e\xea\x81\xde\x87\xe5\x57\xa3\xb2\x92\x00\x7b\x34\x22\xd4\x8c\x12\xdf\x4c\xca\x5a\x64\x79\x5f\x83\xc6\xba\x52\x6f\xc1\x11\x4c\x1f\x8f\xa3\x93\x46\xd4\x2c\x47\xc7\x66\x89\x9f\x3a\xc7\x16\xc4\x53\x71\x68\x94\xc5\xa3\xdb\xb8\x85\xd2\x9b\x1b\x08\xf8\xd2\x73\xbd\xab\x1a\xc9\x72\x70\x8e\x5e\xfd\x03\x75\xc2\xe7\x30\x48\x76\x70\xf3\xc7\x60\xd2\x66\x02\x9a\x43\x3b\x7c\x6d\x12\x2f\xea\xb5\x2f\xa7\x50\x70\x66\x45\x3b\x99\x90\xea\xb1\x97\x3e\x78\xe9\xd7\x27\xdd\x36\xe2\xd4\x32\x51\x81\x6b\xd8\xb4\x93\xa9\x99\xdf\x73\x61\x3f\xaa\x37\x4f\x0a\xfe\x9f\x9a\xf4\xef\x35\xe3\x4b\x0d\xba\x70\xc8\x27\xe3\xbd\x38\xe5\xdf\x30\xdf\xff\x5f\x52\xbd\xac\x69\x59\xc0\xef\x63\xf3\x14\xfe\x41\xe3\x25\x34\x7e\x67\x15\x7e\xc7\x70\xea\x14\xf8\xdc\x74\xfe\x23\xe2\xab\xb9\x99\x3b\xaf\xe8\xef\x79\xe5\x6d\xd6\x2c\x87\x87\xee\x7f\xa1\x57\xe1\x63\x1b\xb4\xd2\x5b\x8a\xaf\xad\xe6\x6b\x3d\x7d\x7c\x67\x2a\x89\x6c\xd6\xa4\x16\x99\x14\x58\x0e\x7a\xbd\xcf\x1a\x79\xa8\x1a\x39\xe8\xf2\x80\x6e\x22\xc7\x6d\x74\xeb\x13\x84\x84\x02\xe3\x2e\xbd\x03\xb3\xc8\xbf\xa5\x2a\xb8\x49\x7b\xa4\x69\x91\xa7\x5f\x0e\x79\x26\x45\x9a\x49\x4b\xa9\xe8\x38\x1d\x07\x7a\x10\x83\x78\x0e\x3d\xd8\x19\x54\xd5\x5a\x3f\xc3\x98\x68\xf9\xe8\x90\xb1\x3e\x0f\xe5\x39\xc9\xa4\x72\x69\xa7\x6b\xb9\xbd\x1d\x78\x59\x4f\xab\x34\xda\x09\xca\x78\x2c\xc5\x48\x43\xcf\xdd\xe8\xcf\xde\xaa\x80\xf8\x7a\x7a\x17\xb8\xc6\x84\x4d\x2f\x29\x27\x78\x0b\x72\xc6\x55\xe8\xd2\xf7\x67\x57\x12\x15\xfc\x5b\x21\xbe\x8a\x1c\x4b\xb8\x3e\xa6\xa7\x2e\x84\x99\xec\xae\x1a\xd3\xda\x2c\x70\x7d\xdc\x24\xa6\xa2\x03\xc7\x35\xa5\x55\x1a\x37\x0c\x76\x4b\xa9\xb1\x8d\xf1\x5a\xd3\x69\x4d\xb7\x3b\xd0\xa5\x2b\xe9\xed\x7d\x34\x2c\x23\xca\x5d\x1b\x21\x82\x3d\xef\xcc\xb7\x07\x1b\xa1\x16\xf9\xe9\x3b\x05\xdb\x42\xdb\xe0\xd1\x6b\x51\x36\xfa\x2b\x00\x00\xff\xff\xac\x42\x60\x96\xdc\x10\x00\x00")
func mysql000051_create_msg_root_countUpSqlBytes() ([]byte, error) { func mysql000051_create_msg_root_countUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -2432,7 +2432,7 @@ func mysql000052_create_public_channelsDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _mysql000052_create_public_channelsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x56\x5d\x8f\x9b\x38\x14\x7d\xc6\xbf\xe2\xbe\x05\x56\x51\xd4\x8e\xba\xd5\x4a\x28\xab\xf5\xc0\xa5\xf1\x2e\x31\x2c\x18\xed\xf4\x29\xf2\x80\xdb\x41\x4a\x18\x44\x3c\x55\xfa\xef\x57\xc6\x84\xc9\xe7\x6a\x56\x95\xaa\x4a\x9d\x3c\x80\xb0\x8f\x8f\xaf\xcf\xb9\x37\xbe\x41\x86\x54\x20\x08\x7a\x1b\x23\xb0\x08\x78\x22\x00\xef\x58\x2e\x72\x48\x9f\xee\xd7\x75\x19\x3c\xc8\xa6\x51\xeb\x2d\xb8\x04\x00\x80\x55\xf0\x45\x76\xe5\x83\xec\xdc\x9b\xf7\x5e\x0f\xe7\x45\x1c\x4f\xfb\xc9\x50\xad\x95\x56\x54\xc3\x7d\xfd\xb9\x6e\xb4\x7b\xf3\xc6\x83\x10\x23\x5a\xc4\x87\x28\xa1\xe4\xe6\x84\xe6\x1c\x14\xd6\xdb\x76\x2d\xbf\x72\xb9\x51\x23\xf2\xfd\xbb\x4b\xc8\x17\x40\x16\x4a\x56\xaa\x03\xad\x76\xda\x0e\xa4\x4f\x5d\xfb\xb8\x7d\x5e\x76\xf3\xeb\xc5\x48\xd3\x8c\x2d\x69\xf6\x11\xfe\xc2\x8f\xe0\xb2\xca\xb3\xa3\x05\x67\x7f\x17\xd8\x0f\xf6\x7b\xbb\xe6\x39\x1d\x8e\xe5\x11\x0f\x90\x7f\x60\x1c\xe7\xac\x69\x1e\xc3\xdb\x91\x36\x58\xd0\x2c\x47\x31\x7f\xd2\x9f\x7e\xdb\xdc\xbf\xf3\x09\xc9\x51\xc0\x1f\x6d\xa7\x5a\xd9\xa9\x2a\xd7\x52\xab\x8d\x6a\x34\xcc\xc1\xcd\x31\xc6\x40\x00\x8b\xac\xe8\xf6\x69\x7e\xc3\x44\x90\x14\x5c\xb8\xbf\x78\x10\x65\xc9\x12\x18\x8f\x92\x6c\x49\x05\x4b\xf8\x2a\x0f\x16\xb8\xa4\xb3\x5c\x50\xc1\x72\xc1\x82\x7c\x5c\xfa\xcf\x02\x33\x04\x2d\xef\xd7\x6a\xd5\x98\xb8\xe7\x30\x39\xb6\x78\x32\x62\x29\x0f\x07\xe4\xb6\x7c\x50\x1b\x09\x73\x08\xa9\xa0\xb7\x34\x47\xd7\x3b\x42\xd5\x4d\xa5\x76\x23\x5f\x5d\xed\x56\x6d\xcf\x59\x0e\x9c\x2b\xad\xe4\x66\x55\x57\x96\xdb\x83\xdf\xe1\x8d\x55\x71\x32\x1c\xe5\xed\x64\xf8\x1e\x32\x91\xf1\x10\xef\xe0\x3a\x11\x24\xfc\x24\x33\xdd\x41\x79\x7f\x42\x3c\xcf\x27\x24\xcd\x30\xa5\x19\x42\xd9\x29\xa9\x15\x33\x01\xb2\x4f\xfc\x51\xe3\xae\xde\xea\xad\x95\xec\x5c\x76\x9f\xe0\x1d\x06\x85\xb8\xb6\xce\x27\x21\xd2\x38\x4e\x02\x13\xe4\x7f\x6f\xf1\xb3\x58\x6b\xa6\xbe\xdd\xd7\x7e\x83\x73\x53\xcd\xf0\xab\xa5\xdf\xdb\xd2\xaa\xff\x07\x5f\x49\xfd\xed\xbe\x8e\x54\x17\xcc\xb5\x73\x52\xbf\x1a\xfc\xbd\x0d\xde\x2a\x73\xe5\xad\xf4\xee\xe5\x0e\x47\x45\x1c\x0b\xbc\x13\xd7\xad\x7e\x26\xbd\x52\xc8\x53\xa8\xec\x7d\x6e\x3f\x5a\x7b\xfd\xfe\x50\xee\x0f\x87\x4d\xb3\x24\xc0\xb0\xc8\x10\x96\xf5\xe7\x4e\x6a\x95\x06\xe0\x7a\xe4\x16\x3f\x30\x4e\x1c\x16\xb9\x07\x0d\x92\x4b\x1c\xc7\x6a\x46\x1c\xc7\x79\x6b\xe3\x3c\x3e\xbd\xe7\x81\x58\x20\x27\x8e\xc3\x78\x8e\x99\xd1\x50\x24\x67\x9d\x15\xab\xa6\x63\xef\xb4\x6f\x24\xa6\x87\x2d\xd0\x14\xec\xd3\x36\x32\xd3\x7d\xff\xe2\x1d\x05\x50\xce\xcc\xaa\x72\xf6\xcc\x54\xce\xf6\x5c\xe5\xec\x88\xad\x9c\xed\xdf\x7b\xc6\x72\x36\x70\x12\xc7\x31\xe7\x30\x84\x63\x80\x25\x71\x9c\x18\x23\x01\x7f\x26\xec\xd4\x5f\x68\x4b\x63\xba\xdb\x9a\xed\x61\x0e\xe6\xe5\x11\xa7\x4f\x6f\x62\x82\x12\x5f\xdb\x3e\x19\x93\x49\x9f\xa1\x16\xc7\xf2\xbe\xcd\xf2\x89\x83\x3c\x04\x16\xf9\x04\x79\x68\x5c\xa0\x71\xfc\xac\xbc\x6b\x92\x23\xcc\x92\xf4\xc0\x16\x16\xed\xe5\x1f\x61\x3f\x4b\xed\x5e\xbe\x6f\x7b\x7d\xfe\xe7\xed\xea\x4f\x4e\x4b\xfe\xb8\x10\x3b\xb5\x79\xfc\xb2\xaf\x92\x97\x56\xe1\x85\x45\x17\x4b\xf0\x22\xee\xdf\x00\x00\x00\xff\xff\xca\x7e\x0b\xde\x88\x0c\x00\x00") var _mysql000052_create_public_channelsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x56\xdf\x8f\xa3\x36\x10\x7e\xb6\xff\x8a\x79\x0b\x54\x51\xb4\x5d\x5d\x4f\x95\x50\xaa\x7a\x61\xb8\xb8\x25\x26\x05\xa3\xee\x3d\x21\x16\x7c\xb7\x48\x09\x41\xc4\x7b\xca\xfd\xf7\x95\xf9\x95\x4d\x96\x54\x5b\x9d\x74\xaa\x74\x9b\x07\x50\xf0\x37\x9f\xc7\xf3\xcd\x78\xc6\x8d\x90\x49\x04\xc9\xee\x02\x04\xee\x83\x08\x25\xe0\x3d\x8f\x65\x0c\x9b\xa7\x87\x6d\x99\xbb\x8f\x59\x55\xa9\xed\x01\x2c\x0a\x00\xc0\x0b\xf8\x92\x35\xf9\x63\xd6\x58\xb7\xef\xed\x16\x2e\x92\x20\x98\xb7\x8b\x9e\xda\x2a\xad\x98\x86\x87\xf2\x73\x59\x69\xeb\xf6\xc6\x06\x0f\x7d\x96\x04\xcf\x51\x52\x65\xbb\x0b\x9a\x97\x20\xaf\x3c\xd4\xdb\xec\xab\xc8\x76\x6a\x44\xbe\x7f\x37\x85\x7c\x05\x64\xa5\xb2\x42\x35\xa0\xd5\x51\x77\x1f\x36\x4f\x4d\xbd\x3f\x9c\xcc\x6e\x7f\x99\xf4\x74\x13\xf1\x35\x8b\x3e\xc2\x9f\xf8\x11\x2c\x5e\xd8\xdd\xd7\x44\xf0\xbf\x12\x6c\x3f\xb6\x7b\x5b\xe6\x39\xef\x8f\x65\x53\x1b\x50\x7c\xe0\x02\x97\xbc\xaa\xf6\xde\xdd\x48\xeb\xae\x58\x14\xa3\x5c\x3e\xe9\x4f\xbf\xee\x1e\xde\x39\x94\xc6\x28\xe1\xf7\xba\x51\x75\xd6\xa8\x22\xd6\x99\x56\x3b\x55\x69\x58\x82\x15\x63\x80\xae\x04\xee\x77\x41\xef\x9e\xe6\xd7\x2f\xb8\x61\x22\xa4\xf5\x93\x0d\x7e\x14\xae\x81\x0b\x3f\x8c\xd6\x4c\xf2\x50\xa4\xb1\xbb\xc2\x35\x5b\xc4\x92\x49\x1e\x4b\xee\xc6\xa3\xe9\xdf\x2b\x8c\x10\x74\xf6\xb0\x55\x69\x65\xfc\x5e\xc2\xec\x5c\xe2\xd9\x88\x65\xc2\xeb\x91\x87\xfc\x51\xed\x32\x58\x82\xc7\x24\xbb\x63\x31\x5a\xf6\x19\xaa\xac\x0a\x75\x1c\xf9\xca\xe2\x98\xd6\x2d\x67\xde\x73\xa6\x5a\x65\xbb\xb4\x2c\x3a\x6e\x1b\x7e\x83\x9b\x2e\x8a\xb3\xfe\x28\x3f\xcf\xfa\xff\x7d\x26\x72\xe1\xe1\x3d\x5c\x27\x82\x50\x5c\x64\xa6\xd5\x47\xde\x99\x51\xdb\x76\x28\xdd\x44\xb8\x61\x11\x42\xde\xa8\x4c\x2b\x6e\x1c\xe4\x9f\xc4\x5e\xe3\xb1\x3c\xe8\x43\x17\xb2\x97\x61\x77\x28\xde\xa3\x9b\xc8\x6b\x76\x0e\xf5\x90\x05\x41\xe8\x1a\x27\xff\x7d\x8b\x1f\x45\x5a\xb3\xf4\xed\xba\xb6\x1b\xbc\x14\xd5\x14\xd5\x9b\xa4\xdf\x5b\xd2\xa2\xbd\xc1\xd3\x4c\x7f\xbb\xae\x23\xd5\x84\xb8\x43\xa3\x78\x13\xf8\x7b\x0b\x7c\x50\xa6\xe5\xa5\xfa\xf8\x7a\x85\xfd\x24\x08\x24\xde\xcb\xeb\x52\x9f\x48\xaf\x14\xf2\xfc\x79\x3f\x9f\x0f\xed\xf7\x7f\xa5\x7e\x7f\xd8\x4d\x14\xba\xe8\x25\x11\xc2\xba\xfc\xdc\x64\x5a\x6d\x5c\xb0\x6c\x7a\x87\x1f\xb8\x00\x0f\xdd\x80\x45\x48\xc9\xf9\x11\x53\x77\xff\x54\x69\xe0\x42\x3a\x94\x74\x41\xa4\x84\x0c\x49\x41\x89\xf1\x9f\x92\x0b\x23\x03\x0f\x61\x8a\xc8\xa1\x84\xfb\xd6\xe4\x16\x4b\xb8\xb1\x41\xae\x50\x50\x42\xb8\x88\x31\x92\x53\x34\x66\x56\x99\x8f\xc3\xd8\x30\x99\x5c\x68\xd0\x3d\xbb\xc9\xe8\xa4\x08\x25\xa7\x03\x90\x7c\x61\xac\xf2\xc5\x89\x29\x5f\x0c\x5c\xf9\xe2\x8c\x2d\x5f\x0c\xef\x81\x31\x5f\xf4\x9c\x94\x0c\x01\x20\xa3\x83\x39\x25\x24\x40\x5f\xc2\x1f\x21\xbf\x4c\x18\xa8\x73\x93\x45\x56\x6d\xb6\x87\x25\x98\x97\x4d\x49\x5b\x2f\xd4\x38\x25\xbf\xd6\x6d\x76\x87\xb3\x36\xe5\x3b\x1c\x8f\xdb\xb9\xcd\xa1\x04\x85\x07\xdc\x77\x28\x0a\xcf\xc8\xca\x82\xe0\x24\xa5\x65\xb2\xcd\x8b\xc2\xcd\x33\x9d\xb9\x3f\x0c\xbc\x23\xec\x47\xb9\x0c\xa6\x1b\x78\x1b\x9f\xff\xd8\xae\x9d\xd9\xe5\x1d\x72\x5e\xd9\x8d\xda\xed\xbf\x0c\x65\xf7\xda\xb2\x9e\x30\x9a\xac\xe9\x49\xdc\x3f\x01\x00\x00\xff\xff\x53\xb2\xed\x93\xd9\x0c\x00\x00")
func mysql000052_create_public_channelsUpSqlBytes() ([]byte, error) { func mysql000052_create_public_channelsUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -3352,7 +3352,7 @@ func postgres000001_create_teamsDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000001_create_teamsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x92\x4f\x6f\xaa\x40\x14\xc5\xf7\x7c\x8a\xbb\x94\xe4\x2d\x7c\xbe\xa7\x69\xc2\x8a\xca\x34\x25\x55\xb0\x88\x8d\xae\xc8\xc8\xdc\xd8\x49\x60\x86\xc0\xd8\xd6\x6f\xdf\xe0\x0c\x22\xfe\x49\x70\x7b\xce\xe4\x77\xe1\x9c\x33\x8d\x88\x1b\x13\x88\xdd\xe7\x19\x01\xff\x05\x82\x30\x06\xb2\xf6\x97\xf1\x12\x14\xd2\xbc\x82\x81\x05\x00\xc0\x19\x7c\xb8\xd1\xf4\xd5\x8d\x06\xa3\x89\x0d\x8b\xc8\x9f\xbb\xd1\x06\xde\xc8\xe6\xcf\xd1\x4f\x4b\xa4\x0a\xa9\x82\x2d\xdf\x71\xa1\xb4\xb8\x2f\xd8\xb5\xc8\x30\xc3\x6b\x91\x57\x45\x46\x0f\x82\xe6\x78\xba\x33\xf9\x6f\x6b\xf3\xb6\xca\xb0\x4a\x4b\x5e\x28\x2e\x45\xfb\x69\xe3\xb1\x71\x31\xa7\x3c\x3b\xe9\x7f\x47\x4f\x46\x57\x87\x02\x6f\x3c\x4f\x65\x5e\x50\x71\xe7\x3e\xcd\x32\xf9\x8d\x8c\xc9\x9c\x72\x51\xb5\xd0\xe1\x70\x68\x5e\x70\xf1\xc5\x15\x9e\x65\xf4\x6f\x64\x9c\x2a\xfd\xc4\x1c\xbb\xe9\x69\x67\x15\xf8\xef\x2b\x32\xa8\x4f\xda\x96\xed\x58\x96\x69\xc2\x0f\x3c\xb2\xbe\x68\x82\xb3\x9f\xe4\xd8\x46\xa2\x2f\x25\x9c\x41\x18\x34\x05\x35\xd7\x6d\xa7\x1f\x43\xd7\x92\x50\x75\xc6\x68\xaa\xea\xcb\xd0\x7d\x77\x19\xcd\x06\xfa\x32\xf4\x12\xba\x8c\x66\x1d\x7d\x19\x3a\xdf\x6e\x1e\x4d\xe6\x75\xa8\xee\x2c\x26\x91\x59\xb7\xb6\x5d\xcf\x83\x69\x38\x5b\xcd\x83\x0b\xe8\xb1\x66\x59\xa0\xd0\x79\xc2\x56\xca\x0c\xa9\x70\x1e\x61\x64\xb4\x52\xf5\x13\x9e\x4a\xa1\x23\x35\x33\x7f\x88\x72\x6f\xda\x0f\x41\x76\xa5\xdc\x17\xa9\x14\x95\x2a\x29\x17\xc8\xda\xff\xb1\xbc\x28\x5c\xb4\xb9\x5e\x65\x5a\x4f\xd2\xb1\x7e\x03\x00\x00\xff\xff\x43\xcb\x77\x18\x19\x04\x00\x00") var _postgres000001_create_teamsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x95\x51\x6f\xda\x30\x10\xc7\xdf\xf3\x29\x6e\x12\x12\x64\x9a\x26\xd6\xad\x68\x5a\xc4\x43\x4a\xcc\x88\x06\x09\x0b\x61\x2b\x4f\x91\x49\xdc\xd6\x52\x62\x47\x89\xe9\xda\x6f\x3f\xc5\x8e\x81\x90\x76\x0a\xe2\x69\x7d\x42\xba\xbb\xfc\xcf\xfe\xdd\xdf\xc7\x24\x40\x76\x88\x20\xb4\x6f\xe6\x08\xdc\x29\x78\x7e\x08\xe8\xd6\x5d\x85\x2b\x10\x04\x67\x25\x0c\x0c\x00\x00\x9a\xc0\x2f\x3b\x98\xcc\xec\x60\x70\x35\x32\x61\x19\xb8\x0b\x3b\xd8\xc0\x0f\xb4\xf9\x20\xf3\x71\x41\xb0\x20\x58\xc0\x96\xde\x53\x26\x54\x70\x97\x27\xed\x60\x42\x52\xd2\x0e\xd2\x32\x4f\xf1\x33\xc3\x19\xd9\xf7\x19\x7d\x31\x55\xf2\xe5\x68\x42\xca\xb8\xa0\xb9\xa0\x9c\x1d\x8e\x76\x7d\x5d\x67\x49\x86\x69\xba\x8f\x7f\xba\xfa\x5a\xc7\xc5\x73\x4e\x5e\x28\x8f\x79\x96\x63\xf6\x4a\x7f\x9c\xa6\xfc\x0f\x49\x12\x9e\x61\xca\xca\x83\xe8\x70\x38\xac\x2b\x28\x7b\xa4\x82\x1c\x31\xfa\x7c\x55\x67\xca\xf8\x81\x64\xa4\x49\x4f\x65\xd6\x9e\xfb\x73\x8d\x06\x55\x4b\xd3\x30\x2d\xc3\xa8\x27\xe1\x7a\x0e\xba\x3d\x99\x04\x4d\x9e\x22\x39\x8d\x48\x75\x8a\x68\x02\xbe\xa7\x07\xa4\xbb\x9b\x56\x37\x0d\x35\x96\x08\x8b\x23\x0d\x3d\xaa\xae\x1a\x6a\xde\x4d\x0d\xed\x81\xae\x1a\xca\x09\x4d\x0d\xed\x8e\xae\x1a\x8a\x6f\x93\x87\x66\x5e\x41\xb5\xe7\x21\x0a\x6a\x77\xab\xb4\xed\x38\x30\xf1\xe7\xeb\x85\x77\x22\x2a\xc7\xcc\x73\xc2\x14\x4f\xd8\x72\x9e\x12\xcc\xac\x73\x34\x52\x5c\x8a\xaa\x84\xc6\x9c\x29\xa4\xb5\xcd\xcf\x52\x79\xcd\xda\x67\x89\xdc\x17\x7c\x97\xc7\x9c\x95\xa2\xc0\x94\x91\xe4\x70\x1f\xc3\x09\xfc\xe5\x81\x6b\x8b\x69\x65\xc9\xaa\xca\x87\x5e\xcf\x70\xd0\x64\x6e\x07\x08\xea\x67\x92\xee\x32\x16\x91\x27\x5a\x0a\xad\x07\xdf\xc6\x70\x87\xd3\x92\x58\xc6\x0d\xfa\xee\x7a\xc6\x0a\xcd\xd1\x24\x84\x98\xef\x98\x18\xbc\x37\xe1\xdd\x18\x86\xe0\x7a\xa1\xdf\xf8\x5c\xea\x4d\x03\x7f\x01\x94\xdd\xf1\x22\xc3\xd5\x6d\xd5\x38\xf1\x47\x55\x58\xca\x9a\xdf\x33\x14\x20\x10\x78\x9b\x12\x79\x32\x18\x43\x5f\x9e\xb3\x2f\xd3\xb6\xe7\x68\x5d\x9d\x6d\xbe\xd7\x43\x59\x05\x27\xc1\x02\x47\x72\x09\x8c\xa1\xff\x88\x8b\xf8\x01\x17\xea\x25\xf7\x2d\xc3\x9d\x36\x6f\x18\xce\x90\xa7\xbe\x6e\x63\x97\x91\x1a\xfc\xc9\x82\x08\x37\x4b\xd4\xdc\x12\x96\x81\x3c\x07\xdc\xa9\xfa\xed\xf5\xfe\x67\xba\xa7\xbe\xfa\x07\xdf\xfa\x0e\x17\x90\x6d\x99\x58\xb2\xdd\x3b\xf9\xed\x50\xad\x90\x75\x70\x6a\xb5\x05\x2e\xc0\x29\xe5\x1a\xf6\x54\x6b\xe5\xed\x70\xd4\xbb\xbf\x0b\xcb\xd1\x25\x28\xf7\x7f\xec\x12\xe7\x91\x66\x9b\xe6\xdf\x00\x00\x00\xff\xff\xff\x01\x39\xf9\x63\x09\x00\x00")
func postgres000001_create_teamsUpSqlBytes() ([]byte, error) { func postgres000001_create_teamsUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -3832,7 +3832,7 @@ func postgres000013_create_incoming_webhooksDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000013_create_incoming_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x5f\x4f\xa3\x4e\x14\x7d\xe7\x53\xdc\x87\x26\x4a\xf2\x7b\xc0\xc6\x9a\x5f\x16\xb7\x09\xc2\xad\x4e\x96\x82\x01\xba\xea\x13\x19\x87\x49\x21\xd2\x19\x03\xd3\xb8\xfb\xed\x37\xc3\x9f\x6a\x5b\x88\xb1\xb1\x2f\x0d\xf7\x5e\xce\x9c\x73\xcf\x19\xdc\x08\x9d\x04\x21\x71\x6e\x7c\x04\xb2\x80\x20\x4c\x00\x1f\x49\x9c\xc4\x50\x08\x26\x37\x85\x58\xbf\xf1\xe7\x5c\xca\x97\x1a\xce\x0d\x00\x80\x22\x83\xdf\x4e\xe4\xde\x39\xd1\xf9\xf4\xca\x84\xfb\x88\x2c\x9d\xe8\x09\x7e\xe1\xd3\x7f\x4d\x9f\x55\x9c\x2a\x4e\x15\x3c\x17\xeb\x42\xa8\xb6\xb8\x7d\xcd\x8e\x8b\x19\x2f\xf9\xf1\x64\xcd\xab\xfd\x23\x3a\xd8\x9c\x0a\xc1\xcb\xa1\x96\xe2\x74\x33\x54\xcf\x8a\xfa\xb5\xa4\x7f\x05\xdd\xf0\x5d\xf3\xea\xb2\x6f\xf2\x9a\x55\xc5\xab\x2a\xa4\xd8\x35\x2f\xa6\xff\x9b\x86\x69\x1b\x46\xb7\x15\x12\x78\xf8\x78\xb8\x95\xec\x4f\xda\x6f\x26\xed\x56\x93\x6a\xd2\x69\x91\x41\x18\x0c\x6c\xad\x55\x64\xda\x5f\x46\xd5\xba\x46\x51\x5b\xd1\x27\xa0\xb6\x56\xa4\x54\x8d\xb0\xed\x9c\x3a\x01\xb9\x75\x7e\x14\xb9\x0f\xc6\x09\xc8\x6d\x52\x46\x91\xfb\x20\x69\xeb\x1c\x3f\xc1\xa8\xcb\xf3\xd1\xa4\xe3\x79\xe0\x86\xfe\x6a\x19\x1c\x9c\xaa\x3d\xda\xcb\xc9\x74\x36\x33\xed\x13\xc1\x0a\x26\xc5\xb6\x2a\xdf\x63\x65\x4d\x2f\x4f\x06\xeb\x72\x5f\x4a\xf6\xc2\x33\x78\x96\xb2\xe4\x54\x7c\x06\xd6\x34\x3b\xb8\x8f\x41\x4f\x9e\xee\x71\x47\x6b\x66\x59\x7a\x61\x5e\x08\x93\x89\x71\x7d\xcd\x72\xce\x5e\xea\xf9\xdc\xf0\xd0\xf5\x9d\x08\x9b\x5b\xf2\x56\x49\xb1\x4e\xfb\xed\xd4\x29\x93\x5b\xa1\xa0\x10\x8a\xaf\x79\x05\x3f\x7e\x82\x65\x7f\x98\xd3\xc2\xd3\x6d\x55\x0e\xcf\xdd\xe0\x2d\x09\x9a\xe9\x18\x7d\x74\x13\x70\x43\xc7\xc7\xd8\xc5\xf6\xbb\xd2\x34\x56\xcb\xf7\x07\xfd\x73\x9d\x18\xf7\x0a\x0f\x77\x18\x80\xa6\x9f\xfa\x18\xdc\x26\x77\xe7\x3d\x37\x13\xe6\x30\x9d\xcd\x20\xd1\x03\x17\x7b\xef\xa0\x1f\x23\x58\xfb\xa5\xc0\xdb\x3d\x77\x1f\x04\xcb\x04\x12\x24\xe1\xb0\xe4\x66\x62\x11\x85\xcb\xa3\x65\xdb\xc6\xb7\x4b\xea\xf2\xa3\x15\xe9\xe8\x7c\x97\xa4\x03\x77\x3e\x95\x44\x16\x23\xf6\xcf\xc1\x6a\x38\xed\x8e\x8b\x1c\x12\x23\xe0\xa3\x8b\xf7\x09\x09\x03\x38\x23\x1d\xe2\x43\x9f\x48\x26\xcb\xed\x46\xc0\xaa\xbf\x66\x39\xad\x21\xa3\x8a\x42\x49\x2b\x9d\x10\x95\x53\xd5\xd8\xc7\x72\x5a\x51\xa6\x78\x55\x9f\xb5\xc9\xc2\xc0\x03\xb2\x38\xa4\x74\x98\xb4\x23\x4a\x5f\xa2\x45\x98\x14\xab\xc8\x1f\x66\xd5\x58\x30\x4a\x4b\xff\xb7\x37\x07\x26\x13\xdb\xf8\x17\x00\x00\xff\xff\x92\x5f\x6f\x12\x4f\x07\x00\x00") var _postgres000013_create_incoming_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x55\x6d\x6b\xa3\x4c\x14\xfd\xee\xaf\xb8\x0f\x04\x12\x1f\x96\xc5\x86\xa6\x2c\x9b\x36\x60\x75\xd2\xca\x1a\x2d\x6a\xb6\xed\x27\x99\xe8\x34\x4a\xcd\x18\x74\x42\xdb\x7f\xbf\xcc\x8b\xd6\xbc\x51\x1a\x92\x2f\xc1\xb9\xd7\x33\xf7\x9e\x73\xee\xd5\x0a\x90\x19\x21\x88\xcc\x5b\x17\x81\x33\x05\xcf\x8f\x00\x3d\x39\x61\x14\x42\x4e\x93\x72\x95\xd3\xe5\x1b\x59\x64\x65\xf9\x5a\xc3\x40\x03\x00\xc8\x53\xf8\x6b\x06\xd6\xbd\x19\x0c\x86\x57\x3a\x3c\x04\xce\xcc\x0c\x9e\xe1\x0f\x7a\xfe\x21\xe2\x49\x45\x30\x23\x98\xc1\x22\x5f\xe6\x94\xc9\xc3\xcd\x3a\xdd\x3f\x4c\x49\x41\xf6\x33\x6b\x52\x6d\x5f\xa1\x60\x33\x4c\x29\x29\x0e\x85\x18\xc1\xab\x43\xe7\x69\x5e\xaf\x0b\xfc\x41\xf1\x8a\xb4\xc1\xab\xcb\x26\x48\xea\xa4\xca\xd7\x2c\x2f\x69\x1b\xbc\x18\xfe\xd2\x35\x7d\xac\x69\x8a\x15\xc7\xb3\xd1\xd3\x2e\x2b\xe9\x7b\xdc\x30\x13\x2b\x6a\x62\x5e\x74\x9c\xa7\xe0\x7b\x07\x58\x93\x1d\xe9\xe3\x6f\xa3\xf2\xbe\x8e\xa2\xca\xa6\x4f\x40\x95\x52\xc4\x98\x1d\xa9\x56\x29\x75\x02\xb2\x54\xfe\x28\x72\x63\x8c\x13\x90\xa5\x53\x8e\x22\x37\x46\xe2\xd2\x99\x6e\x84\x02\xe5\xe7\xbd\x4c\xd3\xb6\xc1\xf2\xdd\xf9\xcc\xdb\xb9\x95\x6b\xb4\xe5\x93\xe1\x68\xa4\x8f\x4f\x04\xcb\x93\x92\x6e\xaa\xe2\xd3\x56\xc6\xf0\xf2\x64\x30\xe5\xfb\xa2\x4c\x5e\x49\x0a\x8b\xb2\x2c\x08\xa6\x5f\x81\x89\xa0\x82\xeb\x1a\x3d\x7a\x7e\x40\x6d\x59\x23\xc3\xe0\x84\xd9\x3e\xf4\x7a\xda\xf5\x75\x92\x91\xe4\xb5\x9e\x4c\x34\x1b\x59\xae\x19\x20\x31\x25\x6f\x55\x49\x97\x71\xc3\x4e\x1d\x27\xe5\x86\x32\xc8\x29\x23\x4b\x52\xc1\xef\x1b\x30\xc6\x9d\x3c\xde\x78\xbc\xa9\x8a\xc3\x79\xb7\xe8\xce\xf1\x44\x76\x88\x5c\x64\x45\x60\xf9\xa6\x8b\x42\x0b\xc9\xbd\x22\x02\xf3\xd9\xe7\x03\xff\x59\x66\x88\xb6\x0e\x1e\xef\x91\x07\xbc\xfc\xd8\x45\xde\x5d\x74\x3f\x68\x6a\xd3\x61\x02\xc3\xd1\x08\x22\x9e\x70\xb1\xf5\x0e\x72\x43\x04\xc6\xf6\x91\x67\xb7\xcf\x6a\x21\x18\x3a\x38\x5e\xe4\x1f\x6e\x59\x64\x4c\x03\x7f\xb6\x47\xf6\x58\x3b\x7b\x4b\xca\x3f\xbc\x23\x6e\x9d\x73\xb5\xb4\xa3\xce\x97\x2d\x39\xd3\x23\xf2\x4f\xc0\x10\x35\xb5\xd7\x05\xa6\x13\x22\x40\x4f\x16\x7a\x88\x1c\xdf\x83\xbe\xa3\x10\x1f\x1b\x47\x26\x65\xb1\x59\x51\x98\x37\x63\x96\xe1\x1a\x52\xcc\x30\x14\xb8\xe2\x0e\x61\x19\x66\x42\xbe\x24\xc3\x15\x4e\x18\xa9\xea\xbe\x74\x16\xf2\x6c\x70\xa6\xbb\x25\xed\x3a\x6d\xaf\xa4\x6f\x95\xe5\x24\x25\x9d\x07\xee\xe1\xaa\x84\x04\x47\xcb\xe2\xff\x72\x72\xa0\xd7\x6b\xa7\x49\x8d\x10\xc8\x2f\x97\xb8\x24\x26\xef\x79\xcd\x9a\x01\xe6\x23\xf1\x82\x8b\x9a\x34\x63\xa1\xfc\x23\xba\x19\xfc\xaf\xc3\x7f\x37\x60\x48\xf1\xba\xaf\x77\x35\x7b\x29\xab\x15\xe6\x53\x1d\xd7\x49\x46\x56\xf8\xa7\x4c\xac\x35\xe5\xa9\x00\x01\xc3\x8b\x82\xc4\x82\xf0\x1b\xe8\xef\xca\xdc\x17\x99\x26\x6f\x40\x5e\xd1\x24\x76\x36\xc6\x67\x0e\x5f\x49\x9c\x9b\x98\x7d\xac\x45\x56\x77\x8d\xf4\xc7\x9a\x33\xdd\x6e\xb4\x55\xe3\x6c\x9b\xaa\x4b\x39\xe7\xfa\x5f\x00\x00\x00\xff\xff\xf7\x6c\x68\x65\xbb\x08\x00\x00")
func postgres000013_create_incoming_webhooksUpSqlBytes() ([]byte, error) { func postgres000013_create_incoming_webhooksUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -3872,7 +3872,7 @@ func postgres000014_create_outgoing_webhooksDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000014_create_outgoing_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x93\x41\x6f\x82\x40\x10\x85\xef\xfc\x8a\x39\x4a\xd2\x83\x1a\x6b\x9a\x70\xda\xea\x36\x25\x55\x6c\x90\x36\x7a\x22\x2b\x3b\xc1\x8d\xeb\x2e\x59\x96\x58\xff\x7d\xa3\x80\x56\xc1\x43\xb9\xbe\x07\xdf\x30\xc3\x7b\x93\x90\x92\x88\x42\x44\x5e\x67\x14\xfc\x37\x08\x16\x11\xd0\x95\xbf\x8c\x96\xa0\x0b\x9b\x6a\xa1\xd2\x03\x6e\xb6\x5a\xef\x72\xe8\x39\x00\x00\x82\xc3\x37\x09\x27\xef\x24\xec\x0d\xc7\x2e\x7c\x86\xfe\x9c\x84\x6b\xf8\xa0\xeb\xa7\xb3\x6f\xf5\x0e\xd5\xdf\x47\x4a\x39\x31\xc8\x2c\x32\x0b\x1b\x91\x0a\x65\x4b\xb1\xc8\x78\x53\xe4\x28\xb1\x21\x9e\x5f\xd7\xe6\x76\x78\x65\x6d\x99\x52\x28\xdb\x2c\x8b\x6c\xdf\xaa\x1b\x91\xa6\x68\x0e\xda\xf0\xfc\xe2\x0e\xfa\xc3\x51\x8d\x64\x52\x6e\x58\xb2\x2b\x8c\x6c\xf5\xb9\xc8\x33\xc9\x8e\x8a\xed\xf1\x62\x8f\x47\xae\xe3\x7a\x8e\x43\x66\x11\x0d\xab\x83\x36\x4e\x48\xa6\x53\x98\x2c\x66\x5f\xf3\xe0\xee\xd8\x89\x56\x16\x95\xb5\xc7\xec\x4a\x1c\x0c\x5f\x5c\xaf\x23\xaf\xde\x70\x8b\x0a\x84\xb2\x98\xa2\xe9\x8a\x2a\x72\x34\xf7\x9b\x76\x65\x89\x44\xab\xc2\xc8\xdb\x9b\x76\x85\x71\xcc\x13\x23\x32\x2b\xf4\x35\x6f\xcf\xfd\xfe\xe9\x27\x54\xb1\xf6\x83\x29\x5d\xdd\x7f\x02\xff\x89\xeb\x19\x71\x35\x24\x3e\x05\x25\x16\x1c\x16\x41\x4b\xec\xcb\x14\xb9\xde\xbf\xa9\x65\xbc\x63\x66\xdb\xb9\x75\xfa\x3b\x90\xcb\x36\x3d\x24\xd7\x65\xeb\x40\x2e\xdb\xf7\x90\x5c\x97\xd3\xf5\x9c\xdf\x00\x00\x00\xff\xff\x5c\xad\xac\xd6\x3b\x04\x00\x00") var _postgres000014_create_outgoing_webhooksUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x95\x51\x6f\x9b\x30\x14\x85\xdf\xf9\x15\x77\x52\x24\xca\x34\x4d\x69\xd5\x55\x53\x23\x1e\x68\x70\x56\x34\x4a\x2a\x42\xb7\xf6\x09\x19\x70\x89\x55\xc7\x8e\xc0\xa8\xed\xbf\x9f\xc0\x40\x02\x25\x53\xca\xf6\xd4\xbc\x44\xf2\x3d\x3e\xb6\x3f\x9f\x6b\xe6\x3e\xb2\x02\x04\x81\x75\xe5\x22\x70\x16\xe0\x2d\x03\x40\xf7\xce\x2a\x58\x81\x28\x64\x2a\x28\x4f\x9f\x49\xb4\x16\xe2\x29\x87\x13\x0d\x00\x80\x26\xf0\xcb\xf2\xe7\xd7\x96\x7f\x72\x76\x61\xc0\xad\xef\xdc\x58\xfe\x03\xfc\x44\x0f\x5f\xaa\xba\x14\x4f\x84\xef\x4b\xd4\x70\x9c\x11\x2c\x09\x96\x10\xd1\x94\x72\xa9\x06\x8b\x6d\xf2\x76\x30\x21\x8c\xbc\x19\xac\xa6\x8b\xac\xbb\x78\x5d\x5a\x63\xce\x09\x1b\x2a\x49\x82\x37\x83\xe3\x19\x4d\x53\x92\x3d\x8b\x2c\xc9\xdb\xea\xe9\xf4\xec\xbc\xb1\xc4\x8c\x45\x38\x7e\x2a\x32\x36\x58\x4f\x68\xbe\x65\xf8\x95\xe3\x0d\x69\xcb\x17\xe7\x86\x66\xcc\x34\xcd\x72\x03\xe4\xd7\x40\xdf\x20\xb4\x6c\x1b\xe6\x4b\xf7\xee\xc6\xeb\xc1\x8e\x05\x97\x84\x4b\xf9\xba\xdd\x39\x9e\x9e\x7d\x37\x66\x23\xfd\x9a\x13\xae\x09\x07\xca\x25\x49\x49\x36\xd6\xaa\xc8\x49\xd6\x3f\xe9\x58\x2f\x1a\x0b\x5e\x64\xac\xcb\x74\xac\x59\x42\xf2\x38\xa3\x5b\x49\xc5\x2e\x6f\xdf\xa6\xd3\xf2\x12\xea\x58\x3b\x9e\x8d\xee\xfb\x5b\x48\x5e\xc2\x66\x8d\xb0\x5e\x24\x2c\x83\x12\xd2\x04\x96\xde\x40\xec\x55\x8a\x8c\xd9\xbb\x5d\x55\xbc\x43\x2c\x87\x7d\x9b\xf4\x8f\x70\x56\xdd\x74\xd0\xb9\x69\xb6\x11\xce\xaa\xfb\x0e\x3a\x37\xcd\x59\x42\xb6\x97\x30\x99\x68\x36\x9a\xbb\x96\x8f\x40\x35\x8e\x60\xc5\x86\x87\xe4\x85\xe6\x12\x22\x21\x18\xc1\x1c\x2e\x4d\x78\xc4\x2c\x27\x33\xed\x0a\xfd\x70\x3c\x6d\x85\x5c\x34\x0f\x20\x16\x05\x97\x27\x9f\x0d\xf8\x64\xc2\x14\x1c\x2f\x58\x76\xa6\x57\x7e\x0b\x7f\x79\x03\x94\x3f\x8a\x6c\x83\xcb\x7b\x0e\xf3\x78\x4d\x36\xf8\xab\x12\xe6\x95\xe6\xf7\x35\xf2\x11\x48\x1c\x31\x12\x56\x39\x35\x41\xef\x6f\x5c\xaf\x94\x96\x67\x37\x4b\x34\xc2\xbd\x0c\xed\x34\x25\xa3\x04\x4b\x1c\x56\xed\x68\x82\xbe\x9f\x2e\x7d\xa6\x39\x8b\xee\x41\x83\x6b\xe4\xa9\xc9\x7f\xcd\x71\x55\xac\x93\xbc\x9f\xdd\xe0\xe1\x16\xf5\x02\x8c\x3c\x1b\x9c\x85\xfa\x9f\x4c\x3e\x08\xeb\xba\xf9\x8f\xe0\x5c\x3d\x0b\xff\x07\x74\xf3\xe2\x74\x20\xd7\xcf\xce\x01\xca\x8a\x5c\xb9\x8c\xb3\xa8\x3f\x7a\xe5\xaf\x45\x59\x6d\x28\x21\x8f\xb8\x60\xf2\xf2\x52\x7d\xa5\x5a\xd5\x31\x14\xfb\x24\x95\xc4\xd4\xb7\x45\xc4\x68\xac\xb7\x9a\x92\xd1\x8e\xb5\x79\x80\xf4\x00\x6d\x53\x6f\x1e\x6d\x25\x31\xa0\xbc\xf6\x96\xde\xfb\x08\xb6\xef\xff\x0a\x05\x60\xa3\x85\x75\xe7\x06\xe0\xdd\xb9\xee\xac\x32\xfb\xc0\x10\x3b\x81\xfd\x27\x86\x4d\x0a\x8f\x43\xf8\x27\x00\x00\xff\xff\x82\x0c\xce\xa6\x95\x09\x00\x00")
func postgres000014_create_outgoing_webhooksUpSqlBytes() ([]byte, error) { func postgres000014_create_outgoing_webhooksUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -3992,7 +3992,7 @@ func postgres000017_create_rolesDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000017_create_rolesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x90\xcf\x6e\xf2\x30\x10\xc4\xef\x7e\x8a\xbd\x91\x48\x1c\xf8\x10\x42\x5f\x85\x7a\x70\xc1\x15\x51\x21\x50\xc7\x69\xe1\x54\x99\x64\x0b\x96\x1c\x27\x8a\x9d\x03\x6f\x5f\xe5\x2f\x6d\x51\x8f\x33\x3f\xef\xac\x77\x96\x9c\x51\xc1\x40\xd0\xa7\x0d\x83\xe0\x19\xc2\x9d\x00\x76\x08\x22\x11\x41\x99\x6b\xb4\xe0\x11\x00\x00\x95\xc2\x1b\xe5\xcb\x35\xe5\xde\x74\xee\xc3\x9e\x07\x5b\xca\x8f\xf0\xc2\x8e\xe3\x86\x1b\x99\xe1\xf0\x62\x3e\xf3\x5b\x37\x55\xb6\xd0\xf2\xfa\x03\xfe\x9b\xfe\xef\x29\xda\xa4\x54\x85\x53\xb9\xb9\xd1\xc9\xb4\x1f\x4e\x4a\x94\x0e\xa5\x83\x93\x3a\x2b\xe3\x5a\xb3\x2a\xd2\x7b\x33\x45\x8d\x77\x66\x81\x65\xa6\xac\x55\xb9\xb1\x43\xfa\x6c\xf2\x30\xef\xd2\x6d\x72\xc1\x0c\x33\x69\xe4\x19\x53\x38\xe5\xb9\x46\x69\x5a\x14\x87\xc1\x6b\xcc\xbc\xfa\xd7\x3e\xf1\x17\x84\xd0\x8d\x60\xbc\xab\xa8\x2d\x85\xae\x56\xb0\xdc\x6d\xe2\x6d\xf8\xab\xb3\x53\xa5\xb4\x53\xa6\x0f\x5c\x10\x12\xef\x57\x75\xc1\xbc\x99\x8b\x98\x80\xa8\xd9\xbc\xed\x36\x3f\xc2\xa7\xd4\x16\xc9\xfb\x9a\x71\x06\x61\xdd\x54\x1d\x17\x84\xe0\x8d\xec\xd5\x3a\xcc\x3e\x2a\x8b\xe5\x68\x0c\xbd\x94\x69\xa6\x4c\xad\x1d\xca\x1b\x6c\xc4\x80\x92\x8b\x34\x06\xf5\x40\x7b\xdd\x3e\xf8\xe3\xa6\xc6\xe9\xae\xfa\xde\x9e\x38\xee\x19\x08\x76\x10\x0b\xf2\x15\x00\x00\xff\xff\x09\xcf\xd0\xb7\x2e\x02\x00\x00") var _postgres000017_create_rolesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x51\xd1\x6e\xda\x40\x10\x7c\xbe\xfd\x8a\x7d\x40\xb2\x2d\x45\x11\x41\x08\xb5\x72\x12\xc9\xc1\x4b\xb1\x0a\x86\xda\x47\x1a\x9e\xa2\x03\x6f\xc9\x49\xf6\x19\xf9\x4c\xa5\xfc\x7d\x65\x1b\x93\xd2\xd4\x2f\xd6\xcc\xdc\xcd\xde\xcc\x4e\x13\x0a\x24\xa1\x0c\x9e\x16\x84\xd1\x0c\xe3\x95\x44\x7a\x89\x52\x99\x62\x55\xe6\x6c\xd1\x05\x44\x44\x9d\xe1\x73\x90\x4c\xe7\x41\xe2\x8e\x26\x1e\xae\x93\x68\x19\x24\x5b\xfc\x4e\xdb\x9b\x56\x37\xaa\xe0\xcb\x89\xc9\xd8\xeb\xd8\x4c\xdb\x63\xae\xde\xaf\xc4\xbb\xd1\x97\x5e\x65\xbb\xaf\xf4\xb1\xd6\xa5\xf9\x50\x87\xa3\xfe\xf2\xbe\x62\x55\xb3\xaa\x71\xa7\x0f\xda\xd4\x1d\x79\x3a\x66\x9f\xc9\x8c\x73\xfe\x44\x1e\xb9\x2a\xb4\xb5\xba\x34\xf6\xe2\x3e\x1e\x7e\x9d\x9c\xdd\xed\xfe\x8d\x0b\x2e\x94\x51\x07\xce\x70\x57\x96\x39\x2b\xd3\x49\x9b\x38\xfa\xb1\x21\xb7\x79\xb5\x07\x9e\x0f\x10\x2c\x24\x25\xe7\x8a\xba\x52\x82\x30\xc4\xe9\x6a\xb1\x59\xc6\xff\x74\xb6\x3b\xe9\xbc\xd6\xa6\x37\xf4\x01\xc2\x15\x0e\x06\x20\xee\xef\xb1\xd0\x87\x4a\xd5\xfc\xda\x59\x3c\x3e\xc2\x13\x7d\x8b\x62\x10\xd1\xcc\x75\x41\x88\x94\x16\x34\x95\x20\x84\xf8\xad\xf2\x13\x83\x10\xb3\x64\xb5\x44\xfb\x6e\x6b\x2e\x2c\x88\x9f\x73\x4a\x08\x84\x88\x9b\x36\x1f\xd0\x79\xe6\xaa\x49\xe7\x78\x0d\x18\xdf\xde\x0d\x6f\x87\x8e\x87\x72\x4e\x71\x9b\xa2\xff\x36\xeb\xb0\x59\x70\xd2\x0e\x4d\x49\x62\xda\x26\x5f\x9e\x93\x3f\xe0\x2f\x95\x5b\xbe\xba\xd2\x4e\xc2\x76\x4e\x13\x2d\x8a\xd1\x75\xba\x67\xbc\x9e\x2c\x57\xce\x0d\xf6\x50\x65\x85\x36\x0d\xae\x59\x7d\x88\x2d\xb8\x48\xfb\x37\x65\x0c\xe7\x17\xb5\xc7\xdd\x01\xcf\x07\x41\x71\x88\xd1\xcc\x87\xe6\x7f\x55\x12\x0c\x06\xff\xaf\xbf\x65\xce\x0b\xf8\x7b\xd1\x72\xbb\x26\x94\xf4\x22\x7d\xf8\x13\x00\x00\xff\xff\x5f\x67\xca\x8f\xd9\x02\x00\x00")
func postgres000017_create_rolesUpSqlBytes() ([]byte, error) { func postgres000017_create_rolesUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -4112,7 +4112,7 @@ func postgres000020_create_postsDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000020_create_postsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x94\x41\x6f\x9c\x30\x10\x85\xef\xfc\x8a\xb9\x05\xa4\x3d\xd0\xa6\x1b\x55\xe2\x44\x77\x69\x8b\xba\x61\x23\x96\x54\xc9\xc9\x72\xd6\x53\xb0\xc4\xda\xc8\x76\xab\xf4\xdf\x57\xc4\x18\x8b\x2c\xaa\xe0\xea\xc7\x7c\x83\xe6\xbd\x99\x5d\x99\xa5\x55\x06\x55\xfa\xe5\x90\x41\xfe\x15\x8a\x63\x05\xd9\x53\x7e\xaa\x4e\xd0\x49\x6d\x34\x84\x01\x00\x00\x67\xf0\x33\x2d\x77\xdf\xd3\x32\xfc\x78\x17\xc1\x43\x99\xdf\xa7\xe5\x33\xfc\xc8\x9e\x37\x6f\xfa\x59\x21\x35\x48\x0d\xbc\xf0\x9a\x0b\x63\x1f\x7f\x77\xec\xfa\x91\x61\x8b\xd7\x5f\x6a\x54\xd3\x16\x03\xb6\xa1\x42\x60\x3b\x27\x29\x29\xcd\xdc\x7b\x47\x15\x8a\x59\x45\xaa\xbe\x23\x9d\xa5\x5d\x50\x6b\x5a\xe3\x28\xdc\x6d\xb7\xb7\xdb\x41\x33\x7f\x3b\x9c\xe9\xa3\x64\xa7\xc7\xe7\xcf\x71\x1c\x0f\x42\x43\x75\x63\x68\xed\xb5\x0f\x5e\xfb\xc5\x5b\x14\xf4\x82\x5e\xfc\xd4\x8b\x41\x94\x04\x41\x7a\xa8\xb2\x72\x30\xc2\x8e\x3e\xdd\xef\x61\x77\x3c\x3c\xde\x17\xef\x9c\xe9\x31\x9c\x79\xc8\x6d\x1c\x47\xc9\x1a\x40\x43\xb5\x42\x7a\x36\x5c\x0a\x0d\x2f\x52\xb6\x48\xc5\x2a\x00\x32\x6e\x46\x0f\x57\x55\x72\xdd\x71\x21\x90\xf9\xb6\xc1\x90\xc1\xbc\xd8\x67\x4f\xef\xbf\x66\xaf\xe4\x0d\x48\x6c\x98\x08\x35\x70\x2c\x6c\x8f\xd0\xe5\x2b\x4a\x96\x21\x6c\x48\x27\x08\x97\xdb\xa5\x08\x9b\xde\x09\xc2\x05\x7a\x29\xa2\x0f\x2e\xe1\xcc\x03\x6c\x92\x97\x96\xf7\xab\x32\x29\xb7\xbb\xb3\xb4\x9c\x6b\x32\xcc\x7f\x04\x38\x47\x16\x8f\xd1\x2e\x25\xe1\x6c\xce\x94\x71\x65\x37\xb0\xda\x1f\x0f\x1e\xe7\x3c\x6b\x9a\x6f\xe1\x86\xbf\x81\xb5\x4e\x0e\x1b\x4f\xcc\xab\x27\xc3\xe3\x29\x2f\xbe\x41\xcd\x45\x68\x24\x31\xfa\x0f\x9e\x8d\x54\xe1\x0d\x8a\xba\xe5\xba\xb9\xd9\xb8\x3b\x11\x2d\xed\xe2\x8e\xc1\xca\x36\xae\x2c\x5a\x79\x18\x14\x5e\xa4\xc1\xe9\x81\x4b\x82\x60\x5f\x1e\x1f\xfc\x8f\xfe\x67\xee\x49\xf0\x2f\x00\x00\xff\xff\x0b\x22\x54\x2e\x10\x06\x00\x00") var _postgres000020_create_postsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x94\x5f\x6f\x9b\x3c\x14\xc6\xef\xfd\x29\xce\x2b\x45\x4a\x78\x15\x4d\xd9\xba\x56\xd3\x50\x2e\x68\x70\x5a\xb4\x14\x2a\x42\xb7\xf6\x0a\xb9\xe1\x34\x58\x22\x76\x84\xdd\xaa\xfb\xf6\x13\x18\x87\xd1\xa0\x09\xae\x22\xf9\x39\xe7\x77\xc8\xf9\xf3\xac\x62\xea\x25\x14\x12\xef\x7a\x43\x21\x58\x43\x18\x25\x40\x1f\x83\x6d\xb2\x85\xa3\x54\x5a\xc1\x8c\x00\x00\xf0\x0c\x7e\x7a\xf1\xea\xd6\x8b\x67\x5f\xae\x1c\xb8\x8f\x83\x3b\x2f\x7e\x82\x1f\xf4\x69\x5e\xeb\xbb\x12\x99\x46\xa6\xe1\x99\xef\xb9\xd0\xe6\xf1\xf5\x98\x9d\x3f\x66\x58\xe0\x79\xa4\xc2\xb2\x5b\xa2\xc1\xe6\x4c\x08\x2c\xfa\xa4\x52\x4a\xdd\xf7\x7e\x64\x25\x8a\x5e\x45\x96\x55\x45\xd6\x4b\x3b\xa0\x52\x6c\x8f\x27\xe1\xea\xf2\xf2\xe2\xb2\xd1\xf4\xef\x23\xf6\xd4\x29\xe5\x51\x9d\x9e\xbf\x2d\x16\x8b\x46\xc8\x99\xca\x35\xdb\xb7\xda\xe7\x56\x7b\xe1\x05\x0a\x76\xc0\x56\xfc\x5a\x89\xc4\x71\x09\xf1\x36\x09\x8d\x9b\x41\x98\xd6\x7b\xbe\x0f\xab\x68\xf3\x70\x17\x7e\x98\x4c\x85\xe1\x59\x0b\xb9\x58\x2c\x1c\x77\x0c\x20\x67\xaa\x44\xb6\xd3\x5c\x0a\x05\xcf\x52\x16\xc8\xc4\x28\x00\x66\x5c\x9f\x66\x38\x2a\x93\xab\x23\x17\x02\xb3\xb6\x2c\x69\x76\x30\x08\x7d\xfa\xf8\x31\x3a\x7b\x4f\x6b\x60\x6a\x96\x29\x65\x1a\xa2\xd0\xd4\x98\xd9\xfd\x72\xdc\x61\x08\xb3\xa4\x1d\x84\xdd\xdb\xa1\x08\xb3\xbd\x1d\x84\x5d\xe8\xa1\x88\x6a\x71\x53\x9e\xb5\x00\xb3\xc9\x43\xd3\xab\x53\xe9\xa4\x9b\xdb\x19\x9a\xce\x55\xda\xf4\xff\x04\xb0\x13\x19\xdc\x46\x73\x94\x29\xcf\xfa\x86\x72\x3a\xd9\x39\x8c\x9e\x4f\x0b\x3e\xf5\xb9\x77\x68\x6d\x09\xdb\xfc\x39\x8c\x9d\x64\x73\xf1\xa9\x7e\x6f\xc9\xf0\xb0\x0d\xc2\x1b\xd8\x73\x31\xd3\x32\xd5\xea\x0d\x77\x5a\x96\xb3\x29\x8a\x7d\xc1\x55\x3e\x9d\x5b\x9f\x70\x86\x56\xb1\x66\x30\xb2\x8c\x4d\x73\x46\x1a\x43\x89\x07\xa9\xb1\x6b\x70\x2e\x21\x7e\x1c\xdd\xb7\x1f\xfa\x8f\xbe\x57\xb1\x11\x4c\x26\xc4\xa7\xab\x8d\x17\x53\x30\x2e\x2c\x8b\xd7\x83\x48\xf1\x9d\x2b\x6d\xcf\x16\xbe\x2f\xe1\x85\x15\x0a\x5d\x72\x4d\x6f\x82\x90\x6c\xe9\x86\xae\x12\xd8\xc9\x57\xa1\x67\xff\x3b\xf0\xdf\x12\x16\x10\x84\x49\xd4\x49\xaf\x79\xeb\x38\xba\x03\x2e\x5e\x64\x79\x60\x95\x05\xa5\x6a\x97\xe3\x81\x7d\x32\x81\xaa\x8e\xf9\x75\x4b\x63\x0a\x9a\x3d\x17\x98\x56\x8e\x09\x4b\x98\xd6\x5f\x3b\xad\x65\x2f\xf4\x2d\xd7\xaa\x8d\x29\xb6\x7a\xd5\x97\x8c\x69\x96\xd6\x06\xbe\x84\xe9\x1b\x2b\x77\x39\x2b\x6b\xbb\x9c\xba\x24\x58\x77\xff\x59\x72\x4b\x43\x93\x7c\xde\xf0\xfa\xa5\x69\xb9\x75\xdf\xe4\xe9\x9e\xc2\xdf\x4c\x97\xd0\xd0\x87\x60\x6d\x7e\x27\x13\x97\xfc\x09\x00\x00\xff\xff\xdd\xfc\x87\xdf\x5e\x07\x00\x00")
func postgres000020_create_postsUpSqlBytes() ([]byte, error) { func postgres000020_create_postsUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -4952,7 +4952,7 @@ func postgres000041_create_upload_sessionsDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000041_create_upload_sessionsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x91\xc1\x4f\x83\x30\x14\xc6\xef\xfc\x15\xef\x08\x89\x17\x31\xf3\xc2\xa9\x42\x8d\x44\x06\xa6\xab\x66\x3b\x91\x2a\x0f\xd7\x84\x15\xa4\x5d\xa2\xfe\xf5\xa6\x03\xa6\xd4\x5d\xb6\xeb\xf7\xda\xdf\xf7\xde\xf7\xc5\x8c\x12\x4e\x81\x93\xbb\x8c\x42\x7a\x0f\x79\xc1\x81\xae\xd3\x15\x5f\xc1\xbe\x6b\x5a\x51\x69\xd4\x5a\xb6\x4a\x83\xef\x01\x00\xc8\x0a\x5e\x08\x8b\x1f\x08\xf3\xc3\xdb\x00\x9e\x58\xba\x24\x6c\x03\x8f\x74\x73\x75\x98\x9b\xaf\x0e\x8f\x2f\x6e\xc2\x60\x50\xdf\x7a\x14\x06\x85\x81\x57\xf9\x2e\x95\x19\xc4\xbd\xc6\x7e\x8e\x1b\x1f\x6f\x85\x52\xd8\x9c\x1a\xd5\xb2\x41\x25\x76\xbf\x0e\xe1\x62\x1a\x75\xc2\x6c\x8f\xf2\xe2\x3a\xfc\xf3\x43\xcb\x6f\x9c\x39\x5b\xb1\xad\x6b\x8d\xd3\x42\x5e\x10\x79\xde\x18\x45\x9a\x27\x74\xed\x44\x21\xab\xcf\x72\x1e\x47\x69\xb7\x2f\x65\x05\x45\xee\x04\xe5\x0f\x77\x05\xd1\x99\xc0\x21\xa3\x52\x98\x13\xc8\x29\xbf\xb3\xa1\x87\x3a\xfe\xf3\xac\x6c\x4f\x26\x19\xa7\x6c\x2c\xdf\xa9\x9b\x24\x09\xc4\x45\xf6\xbc\xcc\x1d\x97\x1e\x77\xad\xc1\x79\x3b\xd1\x85\xa4\x0f\xdb\x84\x8b\xfa\x09\x00\x00\xff\xff\x4f\xbb\x76\x79\x93\x02\x00\x00") var _postgres000041_create_upload_sessionsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x52\xd1\x6e\x9b\x30\x14\x7d\xb6\xbf\xe2\x3e\x44\x02\xa4\xaa\xda\xd2\x65\x2f\xb4\x95\x68\x30\x8b\x35\x62\x2a\x43\xba\xf6\x09\x79\xc3\x59\x2c\x11\xa0\xd8\x99\xd6\x7d\xfd\x64\x20\xd9\x60\x79\xc9\x78\x41\x3e\xd7\x3e\xf7\x9e\x73\xee\x92\x93\x20\x23\x90\x05\x0f\x31\x01\x1a\x01\x4b\x32\x20\xcf\x34\xcd\x52\x38\x34\x65\x2d\x0a\x2d\xb5\x56\x75\xa5\xc1\xc5\x00\x00\xaa\x80\xa7\x80\x2f\x57\x01\x77\xe7\x1f\x3d\x78\xe4\x74\x1d\xf0\x17\xf8\x4c\x5e\xae\xba\xba\x79\x6b\xe4\xe9\xc6\xcd\xdc\xeb\xd1\x6f\xad\x14\x46\x0a\x03\x5f\xd5\x77\x55\x99\x1e\x3c\x68\xd9\x8e\xe9\x86\xcb\x3b\x51\x55\xb2\x3c\x57\xda\xaa\x52\x56\x62\xff\xa7\xc3\x7c\x71\x2c\x35\xc2\xec\x4e\xf0\xe2\xfd\xfc\xaf\x17\x5a\xfd\x92\xa3\xce\x16\xac\xb7\x5b\x2d\x8f\x03\x61\xcf\xc7\x78\xb0\x82\xb2\x90\x3c\x4f\xac\x50\xc5\xcf\x7c\x6c\x47\x6e\xa7\xcf\x55\x01\x09\x9b\x18\xe5\xf6\xba\x3c\xff\x42\xc2\xde\xa3\x5c\x98\x33\x94\x47\xff\x2e\x26\xed\xe2\xf8\x97\xcf\xc2\x56\x72\x10\x67\x84\x0f\xe1\x4f\xe2\x0e\xc2\x10\x96\x49\xbc\x59\xb3\x49\x97\x56\xee\x6b\x23\xc7\xe9\xf8\xff\xc9\xf4\x6a\x93\x98\x52\xe1\x30\x81\xd9\x0c\xa3\xdb\x5b\xd0\x3b\xd1\xca\x22\x1f\x36\x22\xd7\x87\xa6\xa9\x5b\x03\xf7\xf7\xf8\x81\x7c\xa2\x0c\x23\x1a\xb9\x2e\x46\x28\x25\x31\x59\x66\x18\x21\xf4\x43\x94\x07\x89\x11\x8a\x78\xb2\x06\xfd\xa6\x8d\xdc\x6b\x8c\xbe\xac\x08\x27\x18\x21\x66\x77\xe7\x0e\x9c\x27\xd9\xda\xd9\x1c\xcf\x1e\x16\xd7\x37\x1f\xae\xdf\x39\x1e\x64\x2b\xc2\xba\xfd\x18\xbe\xcd\x63\x68\xad\xde\x74\x72\xd2\xa3\x9c\x94\x64\xc0\x3b\x0f\x68\x71\xe7\x38\x57\xc0\xe5\x6b\xa4\xca\xfe\x04\x5d\xa7\x53\x1d\x68\x0a\x6c\x13\xc7\x3e\x46\x84\x85\x40\x23\x1f\xdb\xff\x79\x59\x78\x36\xf3\xf1\xef\x00\x00\x00\xff\xff\x89\x49\xdd\x77\x90\x03\x00\x00")
func postgres000041_create_upload_sessionsUpSqlBytes() ([]byte, error) { func postgres000041_create_upload_sessionsUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -5352,7 +5352,7 @@ func postgres000051_create_msg_root_countDownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000051_create_msg_root_countUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x55\x5d\x6f\xda\x30\x14\x7d\x8e\x7f\xc5\x9d\x84\x04\x54\x2c\xe2\x79\x34\x48\x69\x62\xda\x4c\xf9\x40\x60\xd6\xee\x09\x19\x70\x21\x12\x49\x9a\xd8\x55\xf7\xf3\x27\x3b\x0e\x38\x0d\xa0\x6d\xda\x1b\xb2\xcf\x3d\xf7\x9c\xeb\x73\x89\x9f\x40\xaf\x87\xee\xef\xb3\x74\x5f\x51\xc1\xd6\x55\x51\x88\x75\xc6\x72\x91\x16\xf9\x7a\x5b\xbc\xe7\x62\x3a\x45\x3e\xf6\x42\x77\x81\x01\x01\x00\xb4\x2e\x6b\x3c\xfb\x95\x72\x01\x9b\xa2\x38\x32\x9a\xc3\x37\x07\x5e\xe9\x91\xb3\x49\x53\x57\x97\xf1\xfd\x9f\x94\x3c\xe0\xc7\x20\x46\x4b\x1c\x62\x8f\x80\xc2\x0f\xee\x86\xf0\xc5\x81\x31\x04\x31\x49\x2e\xd2\x28\xfe\xd9\x22\x89\x20\xcd\x5f\x8b\x2a\xa3\x4a\x1f\xdf\x1e\x58\x46\xed\x6d\x71\x7c\xcf\x72\xae\x30\xcf\x4f\x78\x81\x41\xd0\xcd\x91\xad\x73\x9a\x31\x70\xa0\xbf\x3d\xd0\x3c\x67\x47\xde\x57\x08\x37\xf6\xa1\xae\x38\x01\x44\x21\xe8\x31\xe3\x7b\xd5\x55\x36\xed\x4f\x10\x82\x1b\x0a\xaf\xcc\xe7\x7f\xa8\xcc\x58\xb6\x61\xd5\x75\xad\xba\x77\x4b\xaa\x1b\x12\xbc\x00\xe2\x3e\x84\x18\xda\x34\xe0\xfa\x3e\x78\x49\xb8\x8a\x62\x08\x66\x10\x27\x04\xf0\x4b\xb0\x24\x4b\xf8\xcc\x03\x9b\x74\x9f\xe6\x62\x82\x90\xf5\x1c\x90\x27\x28\xc1\x5d\xc2\x00\x59\x96\x1e\x83\x57\xf3\x06\xbb\x11\x78\x89\x1b\xe2\xa5\x87\x07\xcb\x55\x34\x58\xe5\x15\xa3\xbb\xa8\x66\xe3\xc3\x11\x8c\x87\xb2\xb2\x7d\x3c\x82\x15\x67\x55\xb0\x43\x96\xa5\xc6\x43\x0e\xf5\xad\xd2\x78\x48\xdf\x38\xb2\xac\x10\xcf\x08\x7c\x4f\x82\x58\xdf\x72\x48\xe2\x2e\xd0\x9e\x17\x5c\x04\x3b\x70\x1a\x94\x3e\x40\x96\xf5\xb8\x48\x56\x73\x78\xf8\x79\xba\x31\x24\x77\x79\x1a\x41\x43\x64\x59\xd6\x6a\xee\xbb\xe4\xf3\xec\xe4\xc5\x12\x13\xd0\x26\x3c\x39\xa9\x85\x9c\x94\xd3\x0c\x43\xf3\xd9\x26\x02\xbe\x42\x69\xb7\xdd\x4b\x22\x65\xbb\x94\xbf\xd4\xdb\xcb\x1f\x56\x79\x56\xd8\xe5\x3c\x5f\xb9\xb1\xaf\xe1\xb5\xe6\x2e\x56\x9f\x37\xc0\x5b\xea\xa6\x30\xbe\x1c\x98\x1b\x51\xe9\xac\xc7\x29\x2b\x7f\xc7\x73\xa4\x5c\x95\xbf\x15\x5c\x50\x23\x70\xff\x14\xdf\x4b\x72\x90\xc6\x5c\xfc\x23\x22\x4f\x38\x46\xd6\xcd\x70\x73\x3b\xd8\x35\x0a\x52\x33\xe8\x5e\xb2\x8a\xc9\xe0\x6e\x38\x1a\x0f\x21\x67\x1f\x8a\xdb\xb8\x8e\xdc\x97\x81\x8c\x21\xb7\xbd\x8a\x51\xc1\x5c\x51\xef\x01\xe5\xca\xb3\xf4\xdb\x24\xbf\xe9\xd4\x0a\xbc\xaa\x05\x99\x77\x53\x88\x03\x9a\xb3\x49\x02\xd2\xe1\xd1\xe7\x32\x8b\x0a\xd6\xef\x9b\xe9\x37\x28\xea\x74\xeb\x70\x37\xe7\x20\x33\x4d\xe4\x93\x46\x7c\x6f\x86\xba\xb4\xcf\xd6\x42\xca\xd5\xb1\xec\xe4\x0a\xa7\xb4\x3f\xfb\x28\xe1\xe3\xc0\x2a\x06\xa5\x7d\x9a\x97\x63\x74\x9e\x20\x1c\xfb\x10\xcc\x8c\x37\xb9\xf6\x4d\x69\xbf\x0b\xe5\x30\xd0\x8f\xd2\xd1\x38\x02\xb9\xca\x6d\x69\xf0\x5a\x15\xd9\xc9\x5b\xd7\xae\x5e\x02\xf0\x22\xe5\xdb\xa4\x73\x3a\x0d\xce\xe6\xea\x39\x97\xb6\x74\x15\xb5\x77\x51\x09\xf8\x91\xb2\x0f\xb6\x73\x05\x4c\xe5\xdc\xda\xc1\x36\xbc\x5f\xdc\x0f\x7f\x91\xcc\x8d\x50\x5f\x5c\x8e\x09\x52\x24\xd7\x3f\xd9\xd0\xeb\x4d\xd0\xef\x00\x00\x00\xff\xff\xce\x5b\x6a\x3b\xda\x07\x00\x00") var _postgres000051_create_msg_root_countUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x56\x5f\x6f\xfa\x36\x14\x7d\x8e\x3f\xc5\x9d\x84\x44\xf8\x89\x45\x3c\x97\x06\x29\x4d\x4c\x9b\x29\x7f\x50\xfe\xac\xdd\x13\x32\xe0\x42\x24\x92\x34\xb1\xab\xee\xe3\x4f\x76\x1c\x30\xa4\x30\x75\xda\x1b\xf2\x3d\x3e\xf7\x9c\xeb\x73\x23\xbc\x18\x46\x23\xf4\xf8\x58\x16\xfb\x96\x70\xba\x6e\xeb\x9a\xaf\x4b\x5a\xf1\xa2\xae\xd6\xdb\xfa\xb3\xe2\x8b\x05\xf2\xb0\x1b\x38\x09\x06\x04\x00\x70\x51\xec\xf0\xf4\xef\x82\x71\xd8\xd4\xf5\x91\x92\x0a\x1e\x6c\x78\x27\x47\x46\xe7\xfd\xbd\xee\x1a\xdb\xff\xe4\x8a\xc1\xcb\x0f\x0d\x0f\x45\xc5\xe9\x9e\xb6\x02\x39\x9b\xa3\x27\xfc\xec\x47\x28\xc5\x01\x76\x33\x90\x28\xf3\xd7\x04\x7e\xb3\x61\x06\x7e\x94\xc5\xdf\x36\x93\x2a\x96\x49\x1c\x42\x51\xbd\xd7\x6d\x49\xa4\x0b\xb6\x3d\xd0\x92\x58\xdb\xfa\xf8\x59\x56\x4c\x62\x5e\x5f\x70\x82\x81\x93\xcd\x91\xae\x2b\x52\x52\xb0\x61\xbc\x3d\x90\xaa\xa2\x47\x36\x96\x08\x27\xf2\xa0\xbb\x71\x02\xf0\x9a\x93\x63\xc9\xf6\xb2\xab\x68\x3a\x9e\x23\x04\x77\x14\xde\x98\xe2\xff\xa1\xb2\xa4\xe5\x86\xb6\xb7\xb5\xaa\xde\x17\x52\xfd\xe5\xed\x87\xcd\x5e\x70\x34\x78\x90\x07\x1b\xcc\x6b\x7b\x52\xf7\xa5\x08\xa5\x53\x9f\x0c\xd8\x10\xe5\x41\x00\x71\x02\xd7\x4a\x54\x69\x32\x47\x38\xf2\xc0\x5f\xce\x11\x72\x82\x0c\x27\x90\x39\x4f\x01\xbe\xa6\x76\x3c\x0f\xdc\x38\xc8\xc3\x08\xfc\x25\x44\x71\x06\xf8\xcd\x4f\xb3\x74\x48\xbb\x29\xf6\x45\xc5\x3b\x9b\xe6\x95\x91\x05\xcc\x26\xca\xe2\xab\x9f\xbd\x40\x03\x4e\x0a\x26\x32\x0c\xe5\xce\xed\x9a\xfa\xbb\x29\xb8\xb1\x13\xe0\xd4\xc5\x66\x9a\x87\x66\x5e\xb5\x94\xec\xc2\xae\x15\x9b\x4c\x05\x8d\x93\xc2\xe5\xf1\x14\x72\x46\x5b\x7f\x87\x0c\x43\x0e\x27\x3b\x74\x55\x69\xe0\x50\x7c\x30\x64\x18\x01\x5e\x66\xf0\x47\xec\x47\xaa\xca\x20\x8e\x86\x40\x6b\x55\x33\xee\xef\xc0\xee\x51\xea\x00\x19\xc6\x73\x12\xe7\x2b\x78\xfa\xeb\x54\xd1\x24\x0f\x79\x7a\x41\x13\x64\x18\x46\xbe\xf2\x9c\xec\x7a\xb0\xa2\x90\xe2\x0c\x94\x09\x57\xcc\x2a\xe9\x5e\x47\x31\x2b\x3e\x4b\x47\xc0\xef\xd0\x58\x97\xee\x05\x91\xb4\xdd\x88\x5f\x32\x09\xe2\x87\xd1\x9c\x15\x0e\x39\xcf\x25\x27\xf2\x14\xbc\xd3\x3c\xc4\xaa\xf3\x1e\x78\x4f\xdd\x42\x7c\x37\xee\xa5\xea\x4e\x9e\x06\xcb\x7d\x0a\xd4\xcf\x78\x8e\x84\xc9\xeb\x44\x4b\xe4\x7f\xca\xf7\x77\x52\x90\xc2\x7c\xfb\xa1\xed\xf2\x7d\x37\xe0\xcc\xf2\x77\xbd\x82\x42\x0f\xbb\x1b\xe7\x51\x66\xfe\x9a\x4c\x67\x13\xa8\xe8\x97\xe4\xd6\xca\xa1\xf3\x66\x8a\x28\x32\xcb\x6d\x29\xe1\xd4\xe1\xdd\x2e\x10\x26\xfd\x7e\xd4\x8c\xf7\xe9\xef\x3b\x5d\x84\x5e\xde\x05\x91\x79\x5d\x88\x0d\x8a\xb3\x4f\x03\x52\x01\x52\xe7\x22\x8f\x12\x36\x1e\xeb\x1b\xa0\x51\x74\x09\x57\x01\xef\xcf\x41\xe4\x3a\x13\xcf\x19\xb2\xbd\x1e\xec\xc6\x3a\x5b\x0b\x08\x93\xc7\x0e\xb7\x1b\xeb\xda\x43\x03\x5f\x07\xda\x52\x68\xac\xd3\xac\x6c\xad\xab\x96\xb1\xfe\x3d\xee\x7f\x56\xfb\x37\x21\xec\xf4\x3d\x1d\xe8\x9b\x82\x58\xe5\xb3\x2c\x78\x6f\xeb\xf2\xe4\x69\x68\x53\x2d\x00\xb8\xa1\xf4\xab\x53\xd9\x03\xf2\xb3\xb1\x6e\xbe\x8d\x25\x1c\x85\x97\x7b\x28\x9b\xff\x59\xd0\x2f\xba\x73\x38\x2c\xc4\xbc\xce\x61\xfe\xb7\xbd\xf2\x92\x78\xa5\x05\x79\xb0\x0c\x73\x24\x09\x6e\xff\x05\x81\xd1\x68\x8e\xfe\x09\x00\x00\xff\xff\x49\xce\x63\xe6\xaa\x08\x00\x00")
func postgres000051_create_msg_root_countUpSqlBytes() ([]byte, error) { func postgres000051_create_msg_root_countUpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@@ -6112,7 +6112,7 @@ func postgres000070_upgrade_cte_v61DownSql() (*asset, error) {
return a, nil return a, nil
} }
var _postgres000070_upgrade_cte_v61UpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x54\x92\xd1\x6b\xdb\x30\x10\xc6\x9f\xef\xfe\x8a\x1b\x04\x92\x8c\x61\xfa\x3c\xd7\x05\xd5\x96\x1b\x0f\xc7\x0a\xb6\x42\xb7\xa7\xa0\x38\x5a\x6b\xb0\xa5\x25\x52\x61\x7f\xfe\x50\xed\x2c\xce\x93\xd0\xdd\xe9\xf7\x7d\xf7\xa1\x4c\xd0\x62\x81\xf0\xf8\x48\x43\xf7\x76\x51\x5e\x1f\x5a\xaf\xe9\xe9\x09\x33\x9e\x96\xac\xe6\x08\xad\xed\x3f\x06\x73\xd0\x7f\x3b\xe7\xe9\x68\x6d\xaf\x95\xa1\xef\x09\xe5\xac\x6c\x78\x8c\xcf\xfc\xa5\xa8\x10\x1a\x5e\xf2\x54\x22\x40\x6b\x3f\x8c\x5f\x7d\x5d\xd3\x97\x84\x1e\xa8\xa8\xa4\xa0\x39\x01\x21\xaf\xc5\x16\x01\x3a\xf3\xdb\x5e\x06\xe5\x3b\x6b\x0e\xae\x7d\xd7\x83\x8a\xc6\x39\x87\xf0\xba\xe1\x41\x19\xbc\x3a\xf6\xfa\x60\xd4\xa0\x29\xa1\x65\xfb\xae\x8c\xd1\xbd\x5b\x22\x00\xab\xb2\x2b\xf6\xda\xee\x95\xf3\x17\x6b\xfd\x1f\xeb\xbc\xf2\xcb\x18\xa1\xc8\xa9\x12\xf2\x4e\x9e\xe4\x86\x57\xe1\x7d\x29\x79\x4d\x92\x3d\x97\x9c\xae\x5c\x62\x59\x46\xa9\x28\xf7\xdb\x8a\xee\x61\x74\xec\xde\x3a\xe3\x63\x04\x78\x2d\xe4\x86\xce\xc4\x1a\x5a\x21\xc0\x6d\x6d\x80\x74\xc2\x44\xc5\xe9\x8a\xec\x4e\xdf\xc6\x96\x60\x25\x6f\x52\xbe\xda\xb2\x9f\xab\x9d\x75\xde\x45\xe9\x45\x2b\xaf\x99\x5f\x8f\x13\xf0\xb0\x0e\xcc\xb9\x6c\xa8\x4f\x59\xdd\xe0\xe1\x52\xf2\x5c\xd2\x0f\x51\x54\xf4\x89\x22\x51\xd1\x5c\x3b\xa1\x49\x61\xac\x15\xa7\xe0\x7a\x0a\x14\xc6\x56\x6d\xad\xff\x9c\x5c\x86\x2c\x5f\x6a\xb1\xdf\xd1\xf3\x2f\xbc\x5f\x02\xd7\xb8\xdf\x65\x4c\x72\xbc\xa9\x37\x5c\x22\x94\xca\xf9\x40\x08\x2c\xe6\x29\xa1\x73\x74\xe7\x7b\x34\x7d\xc6\x49\xf4\x1c\xfd\x4f\x83\x92\xb9\xd3\x18\x79\x95\x51\x91\x8f\xe7\xec\xfb\xe1\x62\x11\xe3\xbf\x00\x00\x00\xff\xff\x6d\xce\x58\x69\x99\x02\x00\x00") var _postgres000070_upgrade_cte_v61UpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x54\x92\x51\x8b\xa3\x30\x14\x85\x9f\xef\xfd\x15\x77\xa1\x60\xbb\x2c\xa5\xcf\x75\x1c\x48\x35\x4e\x5d\x52\x2d\x9a\x32\xbb\x4f\x25\xb5\xd9\x19\x41\xcd\xb6\xc9\xc0\xfe\xfc\x25\xa3\x9d\xda\x27\xf1\xde\x93\xef\x9c\x1c\x92\x14\x34\x9b\x21\x3c\x3d\x51\xd7\xbc\x5d\x95\xd3\xc7\xda\x69\x7a\x7e\xc6\x84\xc7\x82\x95\x1c\xa1\x36\xed\x47\xd7\x1f\xf5\xbf\xc6\x3a\x3a\x19\xd3\x6a\xd5\xd3\x3a\xa2\x94\x89\x8a\x87\xb8\xe1\x2f\x59\x8e\x50\x71\xc1\x63\x89\x00\xb5\xf9\xe8\xdd\xfc\xfb\x82\xbe\x45\xb4\xa2\x2c\x97\x05\x4d\x09\x08\x69\x59\xec\x10\xa0\xe9\xff\x98\x6b\xa7\x5c\x63\xfa\xa3\xad\xdf\x75\xa7\x96\x83\xce\x22\xbc\x6e\xb9\x77\x06\xa7\x4e\xad\x3e\xf6\xaa\xd3\x14\x51\x50\xbf\xab\xbe\xd7\xad\x0d\x10\x80\xe5\xc9\x0d\x7b\x5b\xb7\xca\xba\xab\x31\xee\xaf\xb1\x4e\xb9\x20\x44\xc8\x52\xca\x0b\xf9\x60\x4f\x72\xcb\x73\x7f\x5e\x48\x5e\x92\x64\x1b\xc1\xe9\xc6\x25\x96\x24\x14\x17\xe2\xb0\xcb\xe9\x11\x46\xa7\xe6\xad\xe9\x1d\x25\x3c\x65\x07\x21\x29\x58\x05\xeb\xf5\x30\x0b\x11\xe0\x35\x93\x5b\xba\x10\xab\x68\x8e\x00\xf7\x2a\x00\xe2\x11\xbd\xcc\xce\x37\x9b\xe6\xfc\x63\x58\x15\x4c\xf0\x2a\xe6\xf3\x1d\xfb\x35\xdf\x1b\xeb\xec\x32\xbe\x6a\xe5\x34\x73\x8b\x41\x01\xab\x85\x67\x4e\xa3\xf8\xf9\xd8\xdf\x1d\xee\x7f\x04\x4f\x25\xfd\x2c\xb2\x9c\x3e\x51\x54\xe4\x34\xf5\x8e\x68\x74\x18\x66\xd9\xd9\xa7\x1e\x4b\x86\x61\x55\x1a\xe3\x3e\x95\x81\xef\xf7\xa5\x2c\x0e\x7b\xda\xfc\xc6\xc7\x4b\xe0\x02\x0f\xfb\x84\x49\x8e\x77\xf7\x8a\x4b\x04\xa1\xac\xf3\x04\xcf\x62\x8e\x22\xba\x2c\x1f\x72\x0f\xa1\x2f\x38\x9a\x5e\x96\x5f\x6d\x50\x34\x4d\x1a\x22\xcf\x13\xca\xd2\xe1\x3b\x79\x92\x38\x9b\x85\xf8\x3f\x00\x00\xff\xff\x39\x04\x57\xbd\xad\x02\x00\x00")
func postgres000070_upgrade_cte_v61UpSqlBytes() ([]byte, error) { func postgres000070_upgrade_cte_v61UpSqlBytes() ([]byte, error) {
return bindataRead( return bindataRead(

Просмотреть файл

@@ -95,3 +95,83 @@ SET @preparedStatement = (SELECT IF(
PREPARE removeIndexIfExists FROM @preparedStatement; PREPARE removeIndexIfExists FROM @preparedStatement;
EXECUTE removeIndexIfExists; EXECUTE removeIndexIfExists;
DEALLOCATE PREPARE removeIndexIfExists; DEALLOCATE PREPARE removeIndexIfExists;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'Teams'
AND table_schema = DATABASE()
AND column_name = 'AllowedDomains'
AND column_type != 'text'
) > 0,
'ALTER TABLE Teams MODIFY COLUMN AllowedDomains text;',
'SELECT 1'
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'Teams'
AND table_schema = DATABASE()
AND column_name = 'GroupConstrained'
AND column_type != 'tinyint(1)'
) > 0,
'ALTER TABLE Teams MODIFY COLUMN GroupConstrained tinyint(1);',
'SELECT 1'
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.STATISTICS
WHERE table_name = 'Teams'
AND table_schema = DATABASE()
AND index_name = 'idx_teams_scheme_id'
) > 0,
'SELECT 1',
'CREATE INDEX idx_teams_scheme_id ON Teams(SchemeId);'
));
PREPARE createIndexIfNotExists FROM @preparedStatement;
EXECUTE createIndexIfNotExists;
DEALLOCATE PREPARE createIndexIfNotExists;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'Teams'
AND table_schema = DATABASE()
AND column_name = 'Type'
AND column_type != 'varchar(255)'
) > 0,
'ALTER TABLE Teams MODIFY COLUMN Type varchar(255);',
'SELECT 1'
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'Teams'
AND table_schema = DATABASE()
AND column_name = 'SchemeId'
AND column_type != 'varchar(26)'
) > 0,
'ALTER TABLE Teams MODIFY COLUMN SchemeId varchar(26);',
'SELECT 1'
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;

Просмотреть файл

@@ -174,3 +174,19 @@ CALL CheckColumnMaxLength('Username', 255);
CALL CheckColumnMaxLength('IconURL', 1024); CALL CheckColumnMaxLength('IconURL', 1024);
DROP PROCEDURE IF EXISTS CheckColumnMaxLength; DROP PROCEDURE IF EXISTS CheckColumnMaxLength;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'IncomingWebhooks'
AND table_schema = DATABASE()
AND column_name = 'Description'
AND column_type != 'text'
) > 0,
'ALTER TABLE IncomingWebhooks MODIFY COLUMN Description text;',
'SELECT 1'
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;

Просмотреть файл

@@ -147,3 +147,51 @@ SET @preparedStatement = (SELECT IF(
PREPARE createIndexIfNotExists FROM @preparedStatement; PREPARE createIndexIfNotExists FROM @preparedStatement;
EXECUTE createIndexIfNotExists; EXECUTE createIndexIfNotExists;
DEALLOCATE PREPARE createIndexIfNotExists; DEALLOCATE PREPARE createIndexIfNotExists;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'OutgoingWebhooks'
AND table_schema = DATABASE()
AND column_name = 'Description'
AND column_type != 'text'
) > 0,
'ALTER TABLE OutgoingWebhooks MODIFY COLUMN Description text;',
'SELECT 1'
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'OutgoingWebhooks'
AND table_schema = DATABASE()
AND column_name = 'IconURL'
AND column_type != 'text'
) > 0,
'ALTER TABLE OutgoingWebhooks MODIFY COLUMN IconURL text;',
'SELECT 1'
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;
SET @preparedStatement = (SELECT IF(
(
SELECT Column_Default FROM Information_Schema.Columns
WHERE table_name = 'OutgoingWebhooks'
AND table_schema = DATABASE()
AND column_name = 'Username'
) IS NULL,
'ALTER TABLE OutgoingWebhooks ALTER COLUMN Username SET DEFAULT NULL;',
'SELECT 1'
));
PREPARE alterIfDefaultNull FROM @preparedStatement;
EXECUTE alterIfDefaultNull;
DEALLOCATE PREPARE alterIfDefaultNull;

Просмотреть файл

@@ -27,9 +27,21 @@ PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists; EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists; DEALLOCATE PREPARE alterIfNotExists;
CREATE PROCEDURE MigrateRoles ()
BEGIN DECLARE
SchemaVersion TEXT;
SELECT Value FROM Systems WHERE Name = 'Version' INTO SchemaVersion;
IF(SchemaVersion = '4.10.0') THEN
UPDATE Roles SET SchemeManaged = 0 UPDATE Roles SET SchemeManaged = 0
WHERE Name NOT IN ('system_user', 'system_admin', 'team_user', 'team_admin', 'channel_user', 'channel_admin'); WHERE Name NOT IN ('system_user', 'system_admin', 'team_user', 'team_admin', 'channel_user', 'channel_admin');
END IF;
END;
Call MigrateRoles();
DROP PROCEDURE IF EXISTS MigrateRoles;
SET @preparedStatement = (SELECT IF( SET @preparedStatement = (SELECT IF(
( (
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS

Просмотреть файл

@@ -85,3 +85,15 @@ SET @preparedStatement = (SELECT IF(
PREPARE alterIfNotExists FROM @preparedStatement; PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists; EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists; DEALLOCATE PREPARE alterIfNotExists;
CREATE PROCEDURE SharedChannelsSupport ()
BEGIN DECLARE
SchemaVersion TEXT;
SELECT Value FROM Systems WHERE Name = 'Version' INTO SchemaVersion;
IF(SchemaVersion = '5.34.0') THEN
UPDATE UploadSessions SET RemoteId='', ReqFileId='' WHERE RemoteId IS NULL;
END IF;
END;
Call SharedChannelsSupport();
DROP PROCEDURE IF EXISTS SharedChannelsSupport;

Просмотреть файл

@@ -10,6 +10,14 @@ WHERE TABLE_NAME = 'ChannelMembers'
AND table_schema = DATABASE() AND table_schema = DATABASE()
AND COLUMN_NAME = 'MsgCountRoot' INTO MentionCountRoot_EXIST; AND COLUMN_NAME = 'MsgCountRoot' INTO MentionCountRoot_EXIST;
SET @tmp_count_root := 0;
IF(MentionCountRoot_EXIST = 1) THEN
SELECT @tmp_count_root := COUNT(*)
FROM ChannelMembers
WHERE MsgCountRoot = NULL
OR MentionCountRoot = NULL;
END IF;
SET @preparedStatement = SET @preparedStatement =
(SELECT IF( (SELECT IF(
(SELECT COUNT(*) (SELECT COUNT(*)
@@ -22,6 +30,7 @@ PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists; EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists; DEALLOCATE PREPARE alterIfNotExists;
IF(@tmp_count_root > 0) THEN
UPDATE ChannelMembers UPDATE ChannelMembers
INNER JOIN INNER JOIN
(SELECT ChannelId, (SELECT ChannelId,
@@ -34,6 +43,7 @@ INNER JOIN
AND q.UserId = ChannelMembers.UserId AND q.UserId = ChannelMembers.UserId
AND ChannelMembers.MentionCount > 0 AND ChannelMembers.MentionCount > 0
SET MentionCountRoot = ChannelMembers.MentionCount - q.UnreadMentions; SET MentionCountRoot = ChannelMembers.MentionCount - q.UnreadMentions;
END IF;
SET @preparedStatement = SET @preparedStatement =
(SELECT IF( (SELECT IF(
@@ -53,7 +63,7 @@ SET @preparedStatement =
FROM INFORMATION_SCHEMA.COLUMNS FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'Channels' WHERE TABLE_NAME = 'Channels'
AND table_schema = DATABASE() AND table_schema = DATABASE()
AND COLUMN_NAME = 'LastRootPostAt') > 0, 'SELECT 1', 'ALTER TABLE Channels ADD COLUMN LastRootPostAt bigint(20);')); AND COLUMN_NAME = 'LastRootAt') > 0, 'SELECT 1', 'ALTER TABLE Channels ADD COLUMN LastRootAt bigint(20);'));
PREPARE alterIfNotExists FROM @preparedStatement; PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists; EXECUTE alterIfNotExists;
@@ -82,7 +92,7 @@ INNER JOIN
WHERE Posts.RootId = '' WHERE Posts.RootId = ''
GROUP BY Channels.Id) AS q ON q.channelid = Channels.Id GROUP BY Channels.Id) AS q ON q.channelid = Channels.Id
SET TotalMsgCountRoot = q.newcount, SET TotalMsgCountRoot = q.newcount,
LastRootPostAt = q.lastpost; LastRootAt = q.lastpost;
END IF; END IF;
IF(MentionCountRoot_EXIST = 0) THEN IF(MentionCountRoot_EXIST = 0) THEN
@@ -90,9 +100,9 @@ UPDATE ChannelMembers CM
INNER JOIN INNER JOIN
(SELECT TotalMsgCountRoot, (SELECT TotalMsgCountRoot,
Id, Id,
LastRootPostAt LastRootAt
FROM Channels) AS q ON q.id = CM.ChannelId FROM Channels) AS q ON q.id = CM.ChannelId
AND LastViewedAt >= q.lastrootpostat AND LastViewedAt >= q.lastrootat
SET MsgCountRoot = TotalMsgCountRoot; SET MsgCountRoot = TotalMsgCountRoot;
END IF; END IF;
@@ -102,7 +112,7 @@ SET @preparedStatement =
FROM INFORMATION_SCHEMA.COLUMNS FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'Channels' WHERE TABLE_NAME = 'Channels'
AND table_schema = DATABASE() AND table_schema = DATABASE()
AND COLUMN_NAME = 'LastRootPostAt' ) > 0, 'ALTER TABLE Channels DROP COLUMN LastRootPostAt;', 'SELECT 1')); AND COLUMN_NAME = 'LastRootAt' ) > 0, 'ALTER TABLE Channels DROP COLUMN LastRootAt;', 'SELECT 1'));
PREPARE alterIfExists PREPARE alterIfExists
FROM @preparedStatement; FROM @preparedStatement;

Просмотреть файл

@@ -33,7 +33,7 @@ SET @preparedStatement = (SELECT IF(
AND index_name = 'idx_publicchannels_name' AND index_name = 'idx_publicchannels_name'
) > 0, ) > 0,
'SELECT 1', 'SELECT 1',
'CREATE INDEX idx_publicchannels_name ON PublicChannels(name);' 'CREATE INDEX idx_publicchannels_name ON PublicChannels(Name);'
)); ));
PREPARE createIndexIfNotExists FROM @preparedStatement; PREPARE createIndexIfNotExists FROM @preparedStatement;
@@ -48,7 +48,7 @@ SET @preparedStatement = (SELECT IF(
AND index_name = 'idx_publicchannels_delete_at' AND index_name = 'idx_publicchannels_delete_at'
) > 0, ) > 0,
'SELECT 1', 'SELECT 1',
'CREATE INDEX idx_publicchannels_delete_at ON PublicChannels(deleteat);' 'CREATE INDEX idx_publicchannels_delete_at ON PublicChannels(DeleteAt);'
)); ));
PREPARE createIndexIfNotExists FROM @preparedStatement; PREPARE createIndexIfNotExists FROM @preparedStatement;
@@ -63,7 +63,7 @@ SET @preparedStatement = (SELECT IF(
AND index_name = 'idx_publicchannels_search_txt' AND index_name = 'idx_publicchannels_search_txt'
) > 0, ) > 0,
'SELECT 1', 'SELECT 1',
'CREATE FULLTEXT INDEX idx_publicchannels_search_txt ON PublicChannels(name, displayname, purpose);' 'CREATE FULLTEXT INDEX idx_publicchannels_search_txt ON PublicChannels(Name, DisplayName, Purpose);'
)); ));
PREPARE createIndexIfNotExists FROM @preparedStatement; PREPARE createIndexIfNotExists FROM @preparedStatement;
@@ -71,10 +71,13 @@ EXECUTE createIndexIfNotExists;
DEALLOCATE PREPARE createIndexIfNotExists; DEALLOCATE PREPARE createIndexIfNotExists;
CREATE PROCEDURE MigratePC () CREATE PROCEDURE MigratePC ()
BEGIN BEGIN DECLARE
IF(NOT EXISTS ( PublicChannels_Count INT;
SELECT SELECT
1 FROM PublicChannels)) THEN COUNT(*)
FROM
PublicChannels INTO PublicChannels_Count;
IF(PublicChannels_Count = 0) THEN
INSERT INTO PublicChannels (Id, DeleteAt, TeamId, DisplayName, Name, Header, Purpose) INSERT INTO PublicChannels (Id, DeleteAt, TeamId, DisplayName, Name, Header, Purpose)
SELECT SELECT
c.Id, c.DeleteAt, c.TeamId, c.DisplayName, c.Name, c.Header, c.Purpose c.Id, c.DeleteAt, c.TeamId, c.DisplayName, c.Name, c.Header, c.Purpose

Просмотреть файл

@@ -27,3 +27,59 @@ ALTER TABLE teams ADD COLUMN IF NOT EXISTS description VARCHAR(255);
ALTER TABLE teams ADD COLUMN IF NOT EXISTS groupconstrained boolean; ALTER TABLE teams ADD COLUMN IF NOT EXISTS groupconstrained boolean;
DROP INDEX IF EXISTS idx_teams_name; DROP INDEX IF EXISTS idx_teams_name;
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'teams'
AND column_name = 'alloweddomains'
AND NOT data_type = 'varchar(1000)';
IF column_exist THEN
ALTER TABLE teams ALTER COLUMN alloweddomains TYPE VARCHAR(1000);
END IF;
END $$;
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'teams'
AND column_name = 'groupconstrained'
AND NOT data_type = 'boolean';
IF column_exist THEN
ALTER TABLE teams ALTER COLUMN groupconstrained TYPE boolean;
END IF;
END $$;
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'teams'
AND column_name = 'type'
AND NOT data_type = 'varchar(255)';
IF column_exist THEN
ALTER TABLE teams ALTER COLUMN type TYPE VARCHAR(255);
END IF;
END $$;
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'teams'
AND column_name = 'schemeid'
AND NOT data_type = 'varchar(26)';
IF column_exist THEN
ALTER TABLE teams ALTER COLUMN schemeid TYPE varchar(26);
END IF;
END $$;

Просмотреть файл

@@ -55,3 +55,17 @@ BEGIN
RAISE EXCEPTION 'IncomingWebhooks column IconURL has data larger that 1024 characters'; RAISE EXCEPTION 'IncomingWebhooks column IconURL has data larger that 1024 characters';
END IF; END IF;
END checks $$; END checks $$;
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'incomingwebhooks'
AND column_name = 'description'
AND NOT data_type = 'VARCHAR(500)';
IF column_exist THEN
ALTER TABLE incomingwebhooks ALTER COLUMN description TYPE VARCHAR(500);
END IF;
END $$;

Просмотреть файл

@@ -22,3 +22,57 @@ CREATE INDEX IF NOT EXISTS idx_outgoing_webhook_team_id ON outgoingwebhooks (tea
CREATE INDEX IF NOT EXISTS idx_outgoing_webhook_update_at ON outgoingwebhooks (updateat); CREATE INDEX IF NOT EXISTS idx_outgoing_webhook_update_at ON outgoingwebhooks (updateat);
CREATE INDEX IF NOT EXISTS idx_outgoing_webhook_create_at ON outgoingwebhooks (createat); CREATE INDEX IF NOT EXISTS idx_outgoing_webhook_create_at ON outgoingwebhooks (createat);
CREATE INDEX IF NOT EXISTS idx_outgoing_webhook_delete_at ON outgoingwebhooks (deleteat); CREATE INDEX IF NOT EXISTS idx_outgoing_webhook_delete_at ON outgoingwebhooks (deleteat);
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'outgoingwebhooks'
AND column_name = 'description'
AND NOT data_type = 'VARCHAR(500)';
IF column_exist THEN
ALTER TABLE outgoingwebhooks ALTER COLUMN description TYPE VARCHAR(500);
END IF;
END $$;
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'outgoingwebhooks'
AND column_name = 'iconurl'
AND NOT data_type = 'VARCHAR(1024)';
IF column_exist THEN
ALTER TABLE outgoingwebhooks ALTER COLUMN iconurl TYPE VARCHAR(1024);
END IF;
END $$;
DO $$
BEGIN
IF (
SELECT column_default::bigint
FROM information_schema.columns
WHERE table_schema='public'
AND table_name='outgoingwebhooks'
AND column_name='username'
) = 0 THEN
ALTER TABLE outgoingwebhooks ALTER COLUMN username SET DEFAULT NULL;
END IF;
END $$;
DO $$
BEGIN
IF (
SELECT column_default::bigint
FROM information_schema.columns
WHERE table_schema='public'
AND table_name='outgoingwebhooks'
AND column_name='iconurl'
) = 0 THEN
ALTER TABLE outgoingwebhooks ALTER COLUMN iconurl SET DEFAULT NULL;
END IF;
END $$;

Просмотреть файл

@@ -13,7 +13,19 @@ CREATE TABLE IF NOT EXISTS roles (
ALTER TABLE roles ADD COLUMN IF NOT EXISTS builtin boolean; ALTER TABLE roles ADD COLUMN IF NOT EXISTS builtin boolean;
UPDATE Roles SET SchemeManaged = false DO $$
WHERE Name NOT IN ('system_user', 'system_admin', 'team_user', 'team_admin', 'channel_user', 'channel_admin'); << migrate_roles >>
BEGIN
IF((
SELECT
value
FROM systems
WHERE
Name = 'Version') = '4.10.0') THEN
UPDATE Roles SET SchemeManaged = false
WHERE Name NOT IN ('system_user', 'system_admin', 'team_user', 'team_admin', 'channel_user', 'channel_admin');
END IF;
END migrate_roles
$$;
ALTER TABLE roles ALTER COLUMN permissions TYPE TEXT; ALTER TABLE roles ALTER COLUMN permissions TYPE TEXT;

Просмотреть файл

@@ -34,3 +34,17 @@ CREATE INDEX IF NOT EXISTS idx_posts_hashtags_txt ON posts USING gin(to_tsvector
ALTER TABLE posts ADD COLUMN IF NOT EXISTS remoteid VARCHAR(26); ALTER TABLE posts ADD COLUMN IF NOT EXISTS remoteid VARCHAR(26);
DROP INDEX IF EXISTS idx_posts_channel_id; DROP INDEX IF EXISTS idx_posts_channel_id;
DO $$
DECLARE
column_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO column_exist
FROM information_schema.columns
WHERE table_name = 'posts'
AND column_name = 'fileids'
AND NOT data_type = 'varchar(300)';
IF column_exist THEN
ALTER TABLE posts ALTER COLUMN fileids TYPE varchar(300);
END IF;
END $$;

Просмотреть файл

@@ -16,3 +16,17 @@ CREATE INDEX IF NOT EXISTS idx_uploadsessions_type ON uploadsessions(type);
ALTER TABLE uploadsessions ADD COLUMN IF NOT EXISTS remoteid VARCHAR(26); ALTER TABLE uploadsessions ADD COLUMN IF NOT EXISTS remoteid VARCHAR(26);
ALTER TABLE uploadsessions ADD COLUMN IF NOT EXISTS reqfileid VARCHAR(26); ALTER TABLE uploadsessions ADD COLUMN IF NOT EXISTS reqfileid VARCHAR(26);
DO $$
<< shared_channel_support >>
BEGIN
IF((
SELECT
value
FROM systems
WHERE
Name = 'Version') = '5.34.0') THEN
UPDATE UploadSessions SET RemoteId='', ReqFileId='' WHERE RemoteId IS NULL;
END IF;
END shared_channel_support
$$;

Просмотреть файл

@@ -4,6 +4,8 @@ DECLARE
mention_count_root_exist boolean := false; mention_count_root_exist boolean := false;
DECLARE DECLARE
msg_count_root_exist boolean := false; msg_count_root_exist boolean := false;
DECLARE
tmp_count_root integer := 0;
BEGIN BEGIN
SELECT count(*) != 0 INTO msg_count_root_exist SELECT count(*) != 0 INTO msg_count_root_exist
FROM information_schema.columns FROM information_schema.columns
@@ -15,8 +17,13 @@ SELECT count(*) != 0 INTO msg_count_root_exist
WHERE table_name = 'channelmembers' WHERE table_name = 'channelmembers'
AND column_name = 'mentioncountroot'; AND column_name = 'mentioncountroot';
IF mention_count_root_exist THEN
tmp_count_root := (SELECT count(*) FROM channelmembers WHERE msgcountroot = NULL OR mentioncountroot = NULL);
END IF;
ALTER TABLE channelmembers ADD COLUMN IF NOT EXISTS mentioncountroot bigint; ALTER TABLE channelmembers ADD COLUMN IF NOT EXISTS mentioncountroot bigint;
IF (tmp_count_root > 0) THEN
WITH q AS ( WITH q AS (
SELECT ChannelId, COALESCE(SUM(UnreadMentions), 0) AS UnreadMentions, UserId SELECT ChannelId, COALESCE(SUM(UnreadMentions), 0) AS UnreadMentions, UserId
FROM ThreadMemberships FROM ThreadMemberships
@@ -30,9 +37,10 @@ ALTER TABLE channelmembers ADD COLUMN IF NOT EXISTS mentioncountroot bigint;
q.ChannelId = ChannelMembers.ChannelId AND q.ChannelId = ChannelMembers.ChannelId AND
q.UserId = ChannelMembers.UserId AND q.UserId = ChannelMembers.UserId AND
ChannelMembers.MentionCount > 0; ChannelMembers.MentionCount > 0;
END IF;
ALTER TABLE channels ADD COLUMN IF NOT EXISTS totalmsgcountroot bigint; ALTER TABLE channels ADD COLUMN IF NOT EXISTS totalmsgcountroot bigint;
ALTER TABLE channels ADD COLUMN IF NOT EXISTS lastrootpostat bigint; ALTER TABLE channels ADD COLUMN IF NOT EXISTS lastrootat bigint;
ALTER TABLE channelmembers ADD COLUMN IF NOT EXISTS msgcountroot bigint; ALTER TABLE channelmembers ADD COLUMN IF NOT EXISTS msgcountroot bigint;
@@ -44,16 +52,16 @@ IF NOT msg_count_root_exist THEN
WHERE Posts.RootId = '' WHERE Posts.RootId = ''
GROUP BY Channels.Id GROUP BY Channels.Id
) )
UPDATE Channels SET TotalMsgCountRoot = q.newcount, LastRootPostAt=q.lastpost UPDATE Channels SET TotalMsgCountRoot = q.newcount, LastRootAt=q.lastpost
FROM q where q.channelid=Channels.Id; FROM q where q.channelid=Channels.Id;
END IF; END IF;
IF NOT mention_count_root_exist THEN IF NOT mention_count_root_exist THEN
WITH q as (SELECT TotalMsgCountRoot, Id, LastRootPostAt from Channels) WITH q as (SELECT TotalMsgCountRoot, Id, LastRootAt from Channels)
UPDATE ChannelMembers CM SET MsgCountRoot=TotalMsgCountRoot UPDATE ChannelMembers CM SET MsgCountRoot=TotalMsgCountRoot
FROM q WHERE q.id=CM.ChannelId AND LastViewedAt >= q.lastrootpostat; FROM q WHERE q.id=CM.ChannelId AND LastViewedAt >= q.lastrootat;
END IF; END IF;
ALTER TABLE channels DROP COLUMN IF EXISTS lastrootpostat; ALTER TABLE channels DROP COLUMN IF EXISTS lastrootat;
END migrate_root_mention_count $$; END migrate_root_mention_count $$;

Просмотреть файл

@@ -11,7 +11,7 @@ BEGIN
table_name = 'channels' table_name = 'channels'
AND column_name = 'lastrootpostat'; AND column_name = 'lastrootpostat';
IF NOT column_exist THEN IF NOT column_exist THEN
ALTER TABLE channels ADD COLUMN lastrootpostat bigint; ALTER TABLE channels ADD COLUMN lastrootpostat bigint DEFAULT '0'::bigint;
WITH q AS ( WITH q AS (
SELECT SELECT
Channels.Id channelid, Channels.Id channelid,

Просмотреть файл

@@ -527,17 +527,6 @@ func upgradeDatabaseToVersion57(sqlStore *SqlStore) {
func upgradeDatabaseToVersion58(sqlStore *SqlStore) { func upgradeDatabaseToVersion58(sqlStore *SqlStore) {
if shouldPerformUpgrade(sqlStore, Version570, Version580) { if shouldPerformUpgrade(sqlStore, Version570, Version580) {
// Fix column types and defaults where gorp converged on a different schema value than the
// original migration.
sqlStore.AlterColumnTypeIfExists("OutgoingWebhooks", "Description", "text", "VARCHAR(500)")
sqlStore.AlterColumnTypeIfExists("IncomingWebhooks", "Description", "text", "VARCHAR(500)")
sqlStore.AlterColumnTypeIfExists("OutgoingWebhooks", "IconURL", "text", "VARCHAR(1024)")
sqlStore.RemoveDefaultIfColumnExists("OutgoingWebhooks", "Username")
if sqlStore.DriverName() == model.DatabaseDriverPostgres {
sqlStore.RemoveDefaultIfColumnExists("OutgoingWebhooks", "IconURL")
}
sqlStore.AlterDefaultIfColumnExists("OutgoingWebhooks", "Username", model.NewString("NULL"), nil)
saveSchemaVersion(sqlStore, Version580) saveSchemaVersion(sqlStore, Version580)
} }
} }
@@ -550,8 +539,6 @@ func upgradeDatabaseToVersion59(sqlStore *SqlStore) {
func upgradeDatabaseToVersion510(sqlStore *SqlStore) { func upgradeDatabaseToVersion510(sqlStore *SqlStore) {
if shouldPerformUpgrade(sqlStore, Version590, Version5100) { if shouldPerformUpgrade(sqlStore, Version590, Version5100) {
sqlStore.CreateIndexIfNotExists("idx_groupchannels_channelid", "GroupChannels", "ChannelId")
saveSchemaVersion(sqlStore, Version5100) saveSchemaVersion(sqlStore, Version5100)
} }
} }
@@ -601,17 +588,10 @@ func upgradeDatabaseToVersion515(sqlStore *SqlStore) {
func upgradeDatabaseToVersion516(sqlStore *SqlStore) { func upgradeDatabaseToVersion516(sqlStore *SqlStore) {
if shouldPerformUpgrade(sqlStore, Version5150, Version5160) { if shouldPerformUpgrade(sqlStore, Version5150, Version5160) {
// Fix mismatches between the canonical and migrated schemas.
sqlStore.AlterColumnTypeIfExists("Teams", "AllowedDomains", "text", "VARCHAR(1000)")
sqlStore.AlterColumnTypeIfExists("Teams", "GroupConstrained", "tinyint(1)", "boolean")
// One known mismatch remains: ChannelMembers.SchemeGuest. The requisite migration // One known mismatch remains: ChannelMembers.SchemeGuest. The requisite migration
// is left here for posterity, but we're avoiding fix this given the corresponding // is left here for posterity, but we're avoiding fix this given the corresponding
// table rewrite in most MySQL and Postgres instances. // table rewrite in most MySQL and Postgres instances.
// sqlStore.AlterColumnTypeIfExists("ChannelMembers", "SchemeGuest", "tinyint(4)", "boolean") // sqlStore.AlterColumnTypeIfExists("ChannelMembers", "SchemeGuest", "tinyint(4)", "boolean")
sqlStore.CreateIndexIfNotExists("idx_groupchannels_channelid", "GroupChannels", "ChannelId")
saveSchemaVersion(sqlStore, Version5160) saveSchemaVersion(sqlStore, Version5160)
} }
} }
@@ -648,8 +628,6 @@ func upgradeDatabaseToVersion521(sqlStore *SqlStore) {
func upgradeDatabaseToVersion522(sqlStore *SqlStore) { func upgradeDatabaseToVersion522(sqlStore *SqlStore) {
if shouldPerformUpgrade(sqlStore, Version5210, Version5220) { if shouldPerformUpgrade(sqlStore, Version5210, Version5220) {
sqlStore.CreateIndexIfNotExists("idx_teams_scheme_id", "Teams", "SchemeId")
saveSchemaVersion(sqlStore, Version5220) saveSchemaVersion(sqlStore, Version5220)
} }
} }
@@ -690,9 +668,6 @@ func upgradeDatabaseToVersion528(sqlStore *SqlStore) {
mlog.Fatal("Error upgrading DB schema to 5.28.0", mlog.Err(err)) mlog.Fatal("Error upgrading DB schema to 5.28.0", mlog.Err(err))
} }
sqlStore.AlterColumnTypeIfExists("Teams", "Type", "VARCHAR(255)", "VARCHAR(255)")
sqlStore.AlterColumnTypeIfExists("Teams", "SchemeId", "VARCHAR(26)", "VARCHAR(26)")
saveSchemaVersion(sqlStore, Version5280) saveSchemaVersion(sqlStore, Version5280)
} }
} }
@@ -758,36 +733,7 @@ func upgradeDatabaseToVersion531(sqlStore *SqlStore) {
const RemoteClusterSiteURLUniqueIndex = "remote_clusters_site_url_unique" const RemoteClusterSiteURLUniqueIndex = "remote_clusters_site_url_unique"
func hasMissingMigrationsVersion532(sqlStore *SqlStore) bool {
scIdInfo, err := sqlStore.GetColumnInfo("Posts", "FileIds")
if err != nil {
mlog.Error("Error getting column info for migration check",
mlog.String("table", "Posts"),
mlog.String("column", "FileIds"),
mlog.Err(err),
)
return true
}
if sqlStore.DriverName() == model.DatabaseDriverPostgres {
if !sqlStore.IsVarchar(scIdInfo.DataType) || scIdInfo.CharMaximumLength != 300 {
return true
}
}
return false
}
func upgradeDatabaseToVersion532(sqlStore *SqlStore) { func upgradeDatabaseToVersion532(sqlStore *SqlStore) {
if hasMissingMigrationsVersion532(sqlStore) {
// this migration was reverted on MySQL due to performance reasons. Doing
// it only on PostgreSQL for the time being.
if sqlStore.DriverName() == model.DatabaseDriverPostgres {
// allow 10 files per post
sqlStore.AlterColumnTypeIfExists("Posts", "FileIds", "text", "varchar(300)")
}
}
if shouldPerformUpgrade(sqlStore, Version5310, Version5320) { if shouldPerformUpgrade(sqlStore, Version5310, Version5320) {
saveSchemaVersion(sqlStore, Version5320) saveSchemaVersion(sqlStore, Version5320)
} }
@@ -807,11 +753,6 @@ func upgradeDatabaseToVersion534(sqlStore *SqlStore) {
func upgradeDatabaseToVersion535(sqlStore *SqlStore) { func upgradeDatabaseToVersion535(sqlStore *SqlStore) {
if shouldPerformUpgrade(sqlStore, Version5340, Version5350) { if shouldPerformUpgrade(sqlStore, Version5340, Version5350) {
// Shared channels support
if _, err := sqlStore.GetMaster().ExecNoTimeout("UPDATE UploadSessions SET RemoteId='', ReqFileId='' WHERE RemoteId IS NULL"); err != nil {
mlog.Error("Error updating RemoteId,ReqFileId in UploadsSession table", mlog.Err(err))
}
saveSchemaVersion(sqlStore, Version5350) saveSchemaVersion(sqlStore, Version5350)
} }
} }