summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-08-28 08:26:33 -0400
committerChristopher Speller <crspeller@gmail.com>2015-08-28 08:26:33 -0400
commitd107b392a6309a41eac6cd7d07d720a21968eb56 (patch)
tree3be26fed1cb5fd22d344d54ba99e93b80b5d6c93 /store/sql_post_store.go
parent2bc6451e39a4080832e0b6250f536972c42b1f48 (diff)
parentf96513809f2f1ff64d8f0919c67408438713ba83 (diff)
downloadchat-d107b392a6309a41eac6cd7d07d720a21968eb56.tar.gz
chat-d107b392a6309a41eac6cd7d07d720a21968eb56.tar.bz2
chat-d107b392a6309a41eac6cd7d07d720a21968eb56.zip
Merge pull request #511 from mattermost/MM-1698
MM-1698 Fixes upgrade db from 0.6 for postgres
Diffstat (limited to 'store/sql_post_store.go')
-rw-r--r--store/sql_post_store.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go
index a94a1c014..cd668b13c 100644
--- a/store/sql_post_store.go
+++ b/store/sql_post_store.go
@@ -35,11 +35,6 @@ func NewSqlPostStore(sqlStore *SqlStore) PostStore {
}
func (s SqlPostStore) UpgradeSchemaIfNeeded() {
-
- // These execs are for upgrading currently created databases to full utf8mb4 compliance
- // Will be removed as seen fit for upgrading
- s.GetMaster().Exec("ALTER TABLE Posts charset=utf8mb4")
- s.GetMaster().Exec("ALTER TABLE Posts MODIFY COLUMN Message varchar(4000) CHARACTER SET utf8mb4")
}
func (s SqlPostStore) CreateIndexesIfNotExists() {