add statement timeout to migration
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class AddTagsToSavedSearches < ActiveRecord::Migration
|
||||
def change
|
||||
execute "set statement_timeout = 0"
|
||||
add_column :saved_searches, :labels, "text", array: true, null: false, default: []
|
||||
add_index :saved_searches, :labels, using: :gin
|
||||
rename_column :saved_searches, :tag_query, :query
|
||||
|
||||
Reference in New Issue
Block a user