Sha256: f56c71662f224ca803da37881ef801641228700b95096d75acbf66c7e19930b6

Contents?: true

Size: 328 Bytes

Versions: 58

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

class AddEndorsableToDebates < ActiveRecord::Migration[5.2]
  def change
    add_column :decidim_debates_debates, :endorsements_count, :integer, null: false, default: 0
    add_index :decidim_debates_debates, :endorsements_count, name: "idx_decidim_debates_debates_on_endorsemnts_count"
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
decidim-debates-0.29.1 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.28.4 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.27.9 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.29.0 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.28.3 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.27.8 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.29.0.rc4 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.29.0.rc3 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.29.0.rc2 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.29.0.rc1 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.28.2 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.27.7 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.28.1 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.27.6 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.26.10 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.26.9 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.28.0 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.27.5 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.28.0.rc5 db/migrate/20200716143929_add_endorsable_to_debates.rb
decidim-debates-0.28.0.rc4 db/migrate/20200716143929_add_endorsable_to_debates.rb