projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14873: Adjusts latest API Server changes to be rails5 worthy.
[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 4d93210da4faab479022d53f6fee6a551fbec2f5..39a62fcaffbe1ff96518fbcdcad1ccecdb2b3d6d 100644
(file)
--- a/
services/api/db/migrate/20150123142953_full_text_search.rb
+++ b/
services/api/db/migrate/20150123142953_full_text_search.rb
@@
-1,4
+1,8
@@
-class FullTextSearch < ActiveRecord::Migration
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+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});"