Has this been solved?
We have almost the identical issue since upgrading from 8.0 to gitlab 8.4. Mattermost seems to be upgraded implicitely from 0.7 to 1.4.
The column that is not created in my system is called "inviteid" instead of teamid:
2016-01-25_13:50:29.02835 panic: Failed to create index pq: column "inviteid" does not exist
Postgres constantly keeps logging this:
...
2016-01-25_15:05:09.78374 STATEMENT: CREATE INDEX idx_teams_invite_id ON Teams (InviteId)
2016-01-25_15:05:10.80553 ERROR: relation "idx_teams_invite_id" does not exist
2016-01-25_15:05:10.80555 STATEMENT: SELECT $1::regclass
2016-01-25_15:05:10.80584 ERROR: column "inviteid" does not exist
2016-01-25_15:05:10.80585 STATEMENT: CREATE INDEX idx_teams_invite_id ON Teams (InviteId)
...
@coreyhule : How could I check if index exists. I installed Gitlab with omnibus, so everything runs out of the box. Could I query mattermost db in command line somehow?