Added explicit Rails version to migrations as needed for Rails 6

This commit is contained in:
Christoph Haas 2020-08-16 19:22:47 +02:00
parent 208c99341a
commit cc080191fb
18 changed files with 18 additions and 18 deletions

View file

@ -1,5 +1,5 @@
# PostregreSQL text searches are now using weights. So the index has to reflect that.
class MakeFulltextSearchIndexWeighted < ActiveRecord::Migration
class MakeFulltextSearchIndexWeighted < ActiveRecord::Migration[5.0]
def change
execute "drop index packages_fts"