Commit Graph

3 Commits

Author SHA1 Message Date
Lin Jen-Shin f67d8eb1da Drop the index only for postgresql, because
mysql cannot simply drop the index without dropping the corresponding
foreign key, and we certainly don't want to drop the foreign key
here.
2017-03-14 20:03:22 +08:00
Lin Jen-Shin 0b20d850cb Fix for postgresql 2017-03-14 14:36:33 +08:00
Stan Hu fff098e4bd Add project ID index to `project_authorizations` table to optimize queries
As described in #27443, the `project_authorizations` table is often used to retrieve
all team members of this project. This can lead to a number of slow queries impacting
load times. This MR adds an index for just `project_id`.

Closes #27443
2017-01-30 12:52:25 -08:00