logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20161122163057_remove_unneeded_indexes.rb (308B)


  1. class RemoveUnneededIndexes < ActiveRecord::Migration[5.0]
  2. def change
  3. remove_index :notifications, name: "index_notifications_on_account_id"
  4. remove_index :settings, name: "index_settings_on_target_type_and_target_id"
  5. remove_index :statuses_tags, name: "index_statuses_tags_on_tag_id"
  6. end
  7. end