Sha256: 6663949aeb3fc2f5aca1d31cb2d8b2930eede619d5c65c015a1ff2afe8a65531
Contents?: true
Size: 484 Bytes
Versions: 65
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true class AddUniqIndexToDecidimMetrics < ActiveRecord::Migration[5.2] def change add_index( :decidim_metrics, [ :day, :metric_type, :decidim_organization_id, :participatory_space_type, :participatory_space_id, :related_object_type, :related_object_id, :decidim_category_id ], unique: true, name: "idx_metric_by_day_type_org_space_object_category" ) end end
Version data entries
65 entries across 65 versions & 1 rubygems