Sha256: 4cf299e3fa6cb54ae1b6b86fee6a9117e0a6cb75f3806dbca9d031485a965a61

Contents?: true

Size: 473 Bytes

Versions: 4

Compression:

Stored size: 473 Bytes

Contents

# frozen_string_literal: true

class CreateDecidimActionDelegatorPonderations < ActiveRecord::Migration[6.0]
  def change
    create_table :decidim_action_delegator_ponderations do |t|
      t.references :decidim_action_delegator_setting, null: false, index: { name: "index_decidim_action_delegator_ponderations_on_setting_id" }
      t.string :name, null: false
      t.decimal :weight, null: false, default: 1, precision: 5, scale: 2
      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-action_delegator-0.8.1 db/migrate/20230323101247_create_decidim_action_delegator_ponderations.rb
decidim-action_delegator-0.7.2 db/migrate/20230323101247_create_decidim_action_delegator_ponderations.rb
decidim-action_delegator-0.7.1 db/migrate/20230323101247_create_decidim_action_delegator_ponderations.rb
decidim-action_delegator-0.7.0 db/migrate/20230323101247_create_decidim_action_delegator_ponderations.rb