Farmbot-Web-App/db/migrate/20180727152741_index_logs_t...

8 lines
178 B
Ruby

class IndexLogsTypeVerbosity < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :logs, [:verbosity, :type], algorithm: :concurrently
end
end