Sha256: 93cc5cd685f43a3302e8cb4352f2884b76181c0e033cf259804541601f396291

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

class AddIndexForProcessSlugOrganization < ActiveRecord::Migration[5.0]
  def change
    add_index :decidim_participatory_processes,
      [:decidim_organization_id, :slug],
      unique: true,
      name: "index_unique_process_slug_and_organization"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-core-0.2.0 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.1.0 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.0.8.1 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.0.7 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.0.6 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.0.5 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.0.3 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.0.2 db/migrate/20161110092735_add_index_for_process_slug_organization.rb
decidim-core-0.0.1 db/migrate/20161110092735_add_index_for_process_slug_organization.rb