eBooru/db/migrate/20230204141325_dev_prod_cleanup.rb
Earlopain fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00

10 lines
241 B
Ruby

# frozen_string_literal: true
class DevProdCleanup < ActiveRecord::Migration[7.0]
def up
execute("DROP TYPE IF EXISTS post_status")
execute("DROP INDEX IF EXISTS index_users_on_name_trgm")
drop_table :janitor_trials
end
end