projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17152: Adds migration to fix collection versions' modified_at timestamps.
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20150123142953_full_text_search.rb
diff --git
a/services/api/db/migrate/20150123142953_full_text_search.rb
b/services/api/db/migrate/20150123142953_full_text_search.rb
index b9b56a53cbbcc66e268a3b27ed2c632a2a58fb38..39a62fcaffbe1ff96518fbcdcad1ccecdb2b3d6d 100644
(file)
--- a/
services/api/db/migrate/20150123142953_full_text_search.rb
+++ b/
services/api/db/migrate/20150123142953_full_text_search.rb
@@
-2,7
+2,7
@@
#
# SPDX-License-Identifier: AGPL-3.0
#
# SPDX-License-Identifier: AGPL-3.0
-class FullTextSearch < ActiveRecord::Migration
+class FullTextSearch < ActiveRecord::Migration
[4.2]
def up
execute "CREATE INDEX collections_full_text_search_idx ON collections USING gin(#{Collection.full_text_tsvector});"
def up
execute "CREATE INDEX collections_full_text_search_idx ON collections USING gin(#{Collection.full_text_tsvector});"