Sha256: 0198bf8ac0efe7b2d8bdca2c881ccc0a6804f60a8db4c2cc11f09a0c02f2b711
Contents?: true
Size: 718 Bytes
Versions: 39
Compression:
Stored size: 718 Bytes
Contents
# frozen_string_literal: true class ChangeElectionsResults < ActiveRecord::Migration[5.2] def change change_table :decidim_elections_results do |t| t.rename :votes_count, :value t.remove_belongs_to :decidim_elections_answer t.remove_belongs_to :decidim_votings_polling_station t.integer :result_type, index: true t.belongs_to :closurable, null: false, polymorphic: true, index: false t.belongs_to :decidim_elections_answer, null: true, index: false t.belongs_to :decidim_elections_question, null: true, index: false end end end
Version data entries
39 entries across 39 versions & 1 rubygems