projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16811-public-favs' refs #16811
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20180806133039_index_all_filenames.rb
diff --git
a/services/api/db/migrate/20180806133039_index_all_filenames.rb
b/services/api/db/migrate/20180806133039_index_all_filenames.rb
index 36b155cc2580e823429b2783b0c6542234c7eb0a..6597798b27848eff3a66decd1018da4d4f7052cf 100644
(file)
--- a/
services/api/db/migrate/20180806133039_index_all_filenames.rb
+++ b/
services/api/db/migrate/20180806133039_index_all_filenames.rb
@@
-2,7
+2,7
@@
#
# SPDX-License-Identifier: AGPL-3.0
#
# SPDX-License-Identifier: AGPL-3.0
-class IndexAllFilenames < ActiveRecord::Migration
+class IndexAllFilenames < ActiveRecord::Migration
[4.2]
def up
ActiveRecord::Base.connection.execute 'ALTER TABLE collections ALTER COLUMN file_names TYPE text'
end
def up
ActiveRecord::Base.connection.execute 'ALTER TABLE collections ALTER COLUMN file_names TYPE text'
end