5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 09:36:21 +00:00
panel/db/migrate/20240301194154_remove_unique_index_from_activity_pubs.rb
f d1a87177a5
fix: eliminar indice unico
en realidad lo queremos mantener...
2024-03-04 12:01:32 -03:00

8 lines
262 B
Ruby

# 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