Sha256: ed4b679a5826d11e2baca9548c38768550aeeaebbd1c8501df7d092a98789057

Contents?: true

Size: 499 Bytes

Versions: 43

Compression:

Stored size: 499 Bytes

Contents

# frozen_string_literal: true

class AddParticipatoryProcessToComments < ActiveRecord::Migration[5.2]
  def change
    add_column :decidim_comments_comments, :decidim_participatory_space_type, :string
    add_column :decidim_comments_comments, :decidim_participatory_space_id, :integer

    add_index :decidim_comments_comments,
              [:decidim_participatory_space_id, :decidim_participatory_space_type],
              name: "index_decidim_comments_on_decidim_participatory_space"
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
decidim-comments-0.25.0.rc4 db/migrate/20210402124534_add_participatory_process_to_comments.rb
decidim-comments-0.25.0.rc3 db/migrate/20210402124534_add_participatory_process_to_comments.rb
decidim-comments-0.25.0.rc2 db/migrate/20210402124534_add_participatory_process_to_comments.rb