Skip to content

Commit

Permalink
lint: Fix rubocop offense
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Mar 21, 2024
1 parent 0f49464 commit c6d2321
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# frozen_string_literal: true

# This migration comes from decidim_decidim_awesome (originally 20230309124413)

class CreatePrivateProposalFields < ActiveRecord::Migration[5.2]
def up
create_table :decidim_awesome_private_proposal_fields do |t|
t.text :private_body, default: '<xml></xml>'
t.text :private_body, default: "<xml></xml>"

t.references :proposal, null: false, foreign_key: { to_table: :decidim_proposals_proposals }, index: { name: "decidim_awesome_private_proposal_fields_idx" }
t.timestamps
Expand Down

0 comments on commit c6d2321

Please sign in to comment.