Sha256: b269bad05d8ada33658230c989374412a68c66e02e59d5c4c63788298cff1e86

Contents?: true

Size: 524 Bytes

Versions: 5

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

class CreateDecidimProposalsProposalState < ActiveRecord::Migration[6.1]
  def change
    create_table :decidim_proposals_proposal_states do |t|
      t.jsonb :title
      t.jsonb :announcement_title
      t.string :token, null: false
      t.references :decidim_component, index: true, null: false
      t.integer :proposals_count, default: 0, null: false
      t.string :bg_color, default: "#F6F8FA", null: false
      t.string :text_color, default: "#4B5058", null: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 db/migrate/20240110203501_create_decidim_proposals_proposal_state.rb
decidim-proposals-0.29.0 db/migrate/20240110203501_create_decidim_proposals_proposal_state.rb
decidim-proposals-0.29.0.rc4 db/migrate/20240110203501_create_decidim_proposals_proposal_state.rb
decidim-proposals-0.29.0.rc3 db/migrate/20240110203501_create_decidim_proposals_proposal_state.rb
decidim-proposals-0.29.0.rc2 db/migrate/20240110203501_create_decidim_proposals_proposal_state.rb