5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 22:46:22 +00:00
panel/db/migrate/20240301194154_remove_unique_index_from_activity_pubs.rb

9 lines
262 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
# A veces tenemos varias acciones sobre el mismo objeto
class RemoveUniqueIndexFromActivityPubs < ActiveRecord::Migration[6.1]
def change
remove_index :activity_pubs, %i[site_id object_id object_type], unique: true
end
end