Jan Provaznik
0fc9f9d3e7
Add version 4.2 to all existing migrations
...
DB schema generated by a migration may look different in
rails 4 and 5 (because rails 5 may use different default values).
For this reason it's important to explicitly set for which rails
version a migration was written for.
See https://stackoverflow.com/questions/35929869/activerecordmigration-deprecation-warning-asks-for-rails-version-but-im-no/35930912#35930912
2018-11-22 13:18:28 +01:00
Sean McGivern
6185429495
Merge branch 'fix/gh-import-status-check' into 'master'
...
Periodically mark projects that are stuck in importing as failed
Closes #17709
See merge request !10207
2017-04-06 11:02:13 +00:00
blackst0ne
9997c58fc0
Add remove_concurrent_index to database helper
2017-04-06 09:53:57 +11:00
James Lopez
44ec40028c
fix project authorizations migration issue
2017-04-05 16:59:28 +02:00
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