Sha256: 93e17a114b20ab2a261567f9de0d3e233f3feac3e44aaebf616197efaa7ebf53
Contents?: true
Size: 448 Bytes
Versions: 6
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true class CreateDecidimAwesomeVoteWeights < ActiveRecord::Migration[6.0] def change create_table :decidim_awesome_vote_weights do |t| # this might be polymorphic in the future (if other types of votes are supported) t.references :proposal_vote, null: false, index: { name: "decidim_awesome_proposals_weights_vote" } t.integer :weight, null: false, default: 1 t.timestamps end end end
Version data entries
6 entries across 6 versions & 1 rubygems