Sha256: 9be41ebacdfa5899f4a7f7a24a46a630abfee6fc609c1b39312619415a172f8f
Contents?: true
Size: 449 Bytes
Versions: 134
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true class AddUniquenessToNameAndDocumentNumberToUserGroups < ActiveRecord::Migration[5.0] def change add_index :decidim_user_groups, [:decidim_organization_id, :name], unique: true, name: "index_decidim_user_groups_names_on_organization_id" add_index :decidim_user_groups, [:decidim_organization_id, :document_number], unique: true, name: "index_decidim_user_groups_document_number_on_organization_id" end end
Version data entries
134 entries across 134 versions & 2 rubygems