From 3291f00cc0837aa51b2fe2b7b6d5796793e81d89 Mon Sep 17 00:00:00 2001 From: Ibrahim Serdar Acikgoz Date: Tue, 15 Feb 2022 16:34:18 +0300 Subject: [PATCH] fix typo in the mysql/000010_create_group_channels.up.sql (#19554) Automatic Merge --- db/migrations/bindata.go | 2 +- db/migrations/mysql/000010_create_group_channels.up.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/migrations/bindata.go b/db/migrations/bindata.go index 09f65fad0d..378493b62d 100644 --- a/db/migrations/bindata.go +++ b/db/migrations/bindata.go @@ -756,7 +756,7 @@ func mysql000010_create_group_channelsDownSql() (*asset, error) { return a, nil } -var _mysql000010_create_group_channelsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x55\x41\x6f\x9b\x4c\x10\xbd\xf3\x2b\xe6\x66\xf8\x14\x7d\x4a\xa2\xaa\xaa\x64\xb9\xea\x78\x19\xc7\xab\xe2\xc5\x62\x17\xd5\x39\x59\x18\x36\x31\x92\x59\x5b\x78\x5d\xb9\xff\xbe\x32\x20\x8c\x13\x97\x54\xad\x7a\xca\x05\xc1\xee\x9b\xd9\x79\xef\xcd\xb0\x2c\x22\x54\x04\x0a\xc7\x01\x01\x9f\x80\x08\x15\xd0\x82\x4b\x25\xe1\xa1\xdc\x1e\x76\x6c\x9d\x18\xa3\x37\x7b\x70\x1d\x00\xa8\xd7\x78\x06\xdf\x93\x32\x5d\x27\xa5\x7b\xff\xd1\xab\x42\x44\x1c\x04\x37\x15\x02\x0f\x76\x8b\x59\x06\x36\x37\x3f\x72\x63\xdd\x3b\xaf\x5e\x97\xe9\x5a\x17\x1a\xb3\x22\x37\x9d\x3d\xf0\x69\x82\x71\xd0\x4d\xc0\x4a\x9d\x58\x8d\x16\x56\xf9\xf3\x09\x74\x7f\x7b\x0d\xe5\xeb\x8d\x7e\x1b\x15\xef\xb2\xdf\xc8\xd5\x70\xec\xa5\x35\x8f\xf8\x0c\xa3\x47\xf8\x4a\x8f\xe0\x36\x2a\xdc\x9c\x23\x1b\x92\xa7\xdd\x3c\x3b\x2e\x9f\x4f\x80\xb4\x91\x6e\xb9\xaf\xa8\x27\x15\x75\xb7\xa3\x43\x6f\x50\xf3\x92\x67\xe0\x9e\x4f\x71\x3c\x20\xf1\xc0\x05\x8d\xb8\x31\x5b\x7f\xdc\x92\x61\x53\x8c\x24\xa9\xd1\xc1\x3e\x7d\x2a\x56\x1f\x86\x8e\x23\x49\xc1\x97\x5d\xa9\x77\x49\xa9\x33\x69\x13\xab\x0b\x6d\x2c\x8c\xc0\x95\x14\x10\x53\xc0\x27\xb5\xa5\xf5\xb3\xb2\xa8\xde\x60\x61\x2c\x94\xfb\x9f\x07\x93\x28\x9c\x01\x17\x93\x30\x9a\xa1\xe2\xa1\x58\x4a\x36\xa5\x19\xfe\x2f\x15\x2a\x2e\x15\x67\xb2\x0d\xfd\x36\xa5\x88\xc0\x26\xab\x8d\x5e\x9a\xa4\xd0\x30\x82\xc1\x45\xff\x0c\x5a\x28\x0a\xbf\x01\x56\xba\x24\x30\x02\x1f\x15\x8e\x51\x92\xeb\x5d\xa0\x72\x93\xe9\x63\x9b\xae\x47\xa2\x3a\xb9\x07\x9f\xe1\xb6\x96\x74\xd0\x50\xb9\x1b\x34\xdf\x4d\x9b\x73\xe1\xd3\xa2\x57\xec\x50\xbc\xec\xfb\xb3\xfa\xc3\x81\xe3\x79\x43\xc7\x99\x47\x34\xc7\x88\x20\xad\x3a\x95\x9f\xaa\xe4\x4f\x62\x6b\xe9\x98\xef\xed\xbe\x96\xed\xb5\xf4\x43\x87\x16\xc4\x62\xf5\xab\xb8\xa1\xe3\x13\x06\x41\xc8\x4e\x85\xf6\x1f\xf1\x3e\xec\xed\x8c\xcd\x5f\x1b\xdc\x1d\xc1\x97\x16\xbb\x32\x6d\x27\xf2\x9d\x58\xcc\xc2\x20\x9e\x89\x7f\xec\x6f\xba\xdd\x1c\x0a\xd3\xe6\xeb\xfc\xf8\xde\xb6\x13\x03\x45\x51\x73\x2b\x5d\xce\x23\xfa\x3e\xd4\xe5\xc3\xd9\xb7\xce\x8d\x72\xdd\x41\x56\xd5\xf2\x07\x16\xbe\x0a\xec\xf1\xf0\x0a\xf6\x67\x00\x00\x00\xff\xff\x36\x4b\x51\x36\x5f\x07\x00\x00") +var _mysql000010_create_group_channelsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x55\x51\x6f\xda\x30\x10\x7e\xcf\xaf\xb8\x37\x92\xa9\x9a\xda\x6a\x9a\x26\x21\xa6\x5d\x9d\xa3\x58\x0b\x0e\x8a\x1d\x8d\x3e\xa1\x40\xdc\x12\x89\x18\x14\xcc\xc4\xfe\xfd\x44\x62\x41\x68\x69\x3a\x6d\xda\x53\x5f\x10\xf1\x7d\x77\xbe\xef\xfb\xee\x64\x96\x10\x2a\x02\x85\x77\x11\x01\x1f\x82\x88\x15\xd0\x94\x4b\x25\xe1\xbe\x5a\xef\x36\x6c\x99\x19\xa3\x57\x5b\xf0\x3d\x00\x68\xce\x78\x0e\x3f\xb3\x6a\xb1\xcc\x2a\xff\xf6\x73\x50\xa7\x88\x34\x8a\xae\x6a\x04\xee\xec\x1a\xf3\x1c\x6c\x61\x7e\x15\xc6\xfa\x37\x41\x73\x2e\x17\x4b\x5d\x6a\xcc\xcb\xc2\xb4\x62\x10\xd2\x10\xd3\xa8\x5d\x80\x55\x3a\xb3\x1a\x2d\xcc\x8b\xa7\x03\xe8\xf6\xfa\x12\x2a\xd4\x2b\xfd\x36\x2a\xdd\xe4\x7f\x50\xcb\x71\xec\xa4\x35\x49\xf8\x18\x93\x07\xf8\x4e\x0f\xe0\x3b\x15\xae\x4e\x99\x8e\xe4\x21\x5a\xe4\xfb\xd9\xd3\x01\xb0\x70\xd2\xcd\xb6\x35\xf5\xac\xa6\xee\xb7\x74\xe8\x4c\x72\x7f\x8a\x1c\xfc\xd3\x2d\x5e\x00\x24\xee\xb9\xa0\x01\x37\x66\x1d\xde\x1d\xc9\xb0\x11\x26\x92\xd4\x60\x67\x1f\xbf\x94\xf3\x4f\x7d\xcf\x93\xa4\xe0\xdb\xa6\xd2\x9b\xac\xd2\xb9\xb4\x99\xd5\xa5\x36\x16\x06\xe0\x4b\x8a\x88\x29\xe0\xc3\xc6\xd2\xe6\xb7\xb6\xa8\x09\xb0\x38\x15\xca\xff\x10\xc0\x30\x89\xc7\xc0\xc5\x30\x4e\xc6\xa8\x78\x2c\x66\x92\x8d\x68\x8c\x1f\xa5\x42\xc5\xa5\xe2\x4c\x1e\x53\x7f\x8c\x28\x21\xb0\xd9\x7c\xa5\x67\x26\x2b\x35\x0c\xa0\x77\x36\x3f\xbd\x23\x14\x45\xe8\x80\xb5\x2e\x19\x0c\x20\x44\x85\x77\x28\xc9\x0f\xce\x50\x85\xc9\xf5\xfe\x58\xae\x43\xa2\xa6\x78\x00\x5f\xe1\xba\x91\xb4\xe7\xa8\xdc\xf4\xdc\xb7\x1b\x73\x2e\x42\x9a\x76\x8a\x1d\x8b\xe7\x73\x7f\x52\xbf\xdf\xf3\x82\xa0\xef\x79\x93\x84\x26\x98\x10\x2c\xea\x49\xe5\x87\x2e\xf9\xa3\x58\x5b\xda\x17\x5b\xbb\x6d\x64\x7b\x29\x7d\xdf\xa3\x29\xb1\x54\xbd\x96\xd7\xf7\x42\xc2\x28\x8a\xd9\xa1\xd1\xee\x2b\xde\x87\xbd\xad\xb5\xf9\x67\x83\xdb\x2b\xf8\xdc\xe2\xb3\x95\x7c\x27\x1e\xb3\x38\x4a\xc7\xe2\x3f\x1b\xbc\x58\xaf\x76\xa5\x39\xd6\x6b\xc9\xfc\xb6\x9f\x18\x29\x4a\xdc\xb3\x74\xbe\x90\x18\x86\xd0\xb4\xff\xca\x9b\x72\xd9\x42\x56\x37\xf3\x17\x1e\xbe\x48\xec\x30\xf1\x02\xf6\x77\x00\x00\x00\xff\xff\xea\xa4\xe8\xb1\x61\x07\x00\x00") func mysql000010_create_group_channelsUpSqlBytes() ([]byte, error) { return bindataRead( diff --git a/db/migrations/mysql/000010_create_group_channels.up.sql b/db/migrations/mysql/000010_create_group_channels.up.sql index dfe8b7e6af..f75a96aa94 100644 --- a/db/migrations/mysql/000010_create_group_channels.up.sql +++ b/db/migrations/mysql/000010_create_group_channels.up.sql @@ -34,7 +34,7 @@ SET @preparedStatement = (SELECT IF( AND index_name = 'idx_groupchannels_schemeadmin' ) > 0, 'SELECT 1', - 'CREATE INDEX idx_groupchannels_schemeadmin ON GroupChannels(ScemeAdmin);' + 'CREATE INDEX idx_groupchannels_schemeadmin ON GroupChannels(SchemeAdmin);' )); PREPARE createIndexIfNotExists FROM @preparedStatement; @@ -49,7 +49,7 @@ SET @preparedStatement = (SELECT IF( AND column_name = 'SchemeAdmin' ) > 0, 'SELECT 1', - 'ALTER TABLE GroupChannels ADD COLUMN ScemeAdmin tinyint(1);' + 'ALTER TABLE GroupChannels ADD COLUMN SchemeAdmin tinyint(1);' )); PREPARE createColumnIfNotExists FROM @preparedStatement;