Skip to content

Commit

Permalink
index name
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Nov 9, 2023
1 parent 360cbaa commit d613ae4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CreateDecidimAwesomeProposalExtraFields < ActiveRecord::Migration[6.0]
def change
create_table :decidim_awesome_proposal_extra_fields do |t|
# this might be polymorphic in the future (if other types of votes are supported)
t.references :decidim_proposal, null: false, index: { name: "decidim_awesome_proposal_extra_fields" }
t.references :decidim_proposal, null: false, index: { name: "decidim_awesome_extra_fields_on_proposal"} }

t.jsonb :vote_weights_totals
t.integer :weight_total, default: 0
Expand Down

0 comments on commit d613ae4

Please sign in to comment.