forked from e621ng/e621ng
disable statement timeout in migration
This commit is contained in:
parent
aea2d77c3a
commit
5958b3f5da
@ -1,5 +1,7 @@
|
||||
class AddTrigramIndexToArtistUrls < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
execute "set statement_timeout = 0"
|
||||
|
||||
change_table :artist_urls do |t|
|
||||
t.remove_index column: :url, name: :index_artist_urls_on_url
|
||||
t.remove_index column: :url, name: :index_artist_urls_on_url_pattern, opclass: :text_pattern_ops
|
||||
|
Loading…
Reference in New Issue
Block a user