Farmbot-Web-App/db/migrate/20180727152741_index_logs_type_verbosity.rb

8 lines
178 B
Ruby
Raw Normal View History

2018-07-27 09:38:44 -06:00
class IndexLogsTypeVerbosity < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :logs, [:verbosity, :type], algorithm: :concurrently
end
end