mattermost/scripts
Jesse Hallam 739725bffd
MM-16888: fix missing indexes (#12746)
* MM-16888: fix missing indexes

As part of https://mattermost.atlassian.net/browse/MM-16888, we discovered and fixed a number of column and index mismatches between the canonical (i.e. created from scratch) and migrated schemas (i.e migrated from 5.0 through 5.16).

Unfortunately, the migration to fix same was added to `UpgradeDatabaseToVersion514` but never cherry picked to the pending v5.14 release at the time. Customers who upgraded to v5.14 or v5.15 and then get this code as part of v5.16 will never run that migration. Copy it to the UpgradeDatabaseToVersion516 accordingly.

* avoid fixing ChannelMembers.SchemeGuest on MySQL

* synchronize .circleci/config.yml with scripts/mysql-migration-test.sh

* fix circleci invocation

* additional logging on diff

* update build/Jenkinsfile.pr too!
2019-10-15 15:56:23 -03:00
..
diff-config.sh [MM-17703] Diff config files (#11898) 2019-08-29 22:44:12 +02:00
ldap-check.sh Adding a script to help with ldap config issues (#7995) 2018-01-02 12:11:30 -08:00
license-check.sh Defaulting to using go modules vendored (#12040) 2019-09-24 22:02:40 +02:00
mattermost-mysql-5.0.sql [MM-13341] Add an upgrade test to verify schema (#10419) 2019-03-19 15:05:15 -04:00
mattermost-postgresql-5.0.sql [MM-13341] Add an upgrade test to verify schema (#10419) 2019-03-19 15:05:15 -04:00
mysql-migration-test.sh MM-16888: fix missing indexes (#12746) 2019-10-15 15:56:23 -03:00
prereq-check.sh update go to 1.12 (#10382) 2019-03-01 12:55:35 -05:00
psql-migration-test.sh MM-16888: fix missing indexes (#12746) 2019-10-15 15:56:23 -03:00
test-xprog.sh Make test execution not take quadratic compilation time (#7610) 2017-10-12 08:35:19 -07:00
test.sh escaping file name to allow for special chars 10796 (#10824) 2019-05-15 06:59:28 +02:00