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

9 lines
262 B
Ruby
Raw 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