Sha256: 4ff3854d91b2141bfc504a258e2debd709bbbf6174d485715683397d15998485

Contents?: true

Size: 394 Bytes

Versions: 8

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

class AddSettingIdToDelegations < ActiveRecord::Migration[5.2]
  def change
    add_belongs_to :decidim_action_delegator_delegations,
                   :decidim_action_delegator_setting,
                   null: false,
                   foreign_key: true,
                   index: { name: "index_decidim_delegations_on_action_delegator_setting_id" }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-action_delegator-0.8.1 db/migrate/20200828113755_add_setting_id_to_delegations.rb
decidim-action_delegator-0.7.2 db/migrate/20200828113755_add_setting_id_to_delegations.rb
decidim-action_delegator-0.7.1 db/migrate/20200828113755_add_setting_id_to_delegations.rb
decidim-action_delegator-0.7.0 db/migrate/20200828113755_add_setting_id_to_delegations.rb
decidim-action_delegator-0.6.0 db/migrate/20200828113755_add_setting_id_to_delegations.rb
decidim-action_delegator-0.5.0 db/migrate/20200828113755_add_setting_id_to_delegations.rb
decidim-action_delegator-0.4.1 db/migrate/20200828113755_add_setting_id_to_delegations.rb
decidim-action_delegator-0.4 db/migrate/20200828113755_add_setting_id_to_delegations.rb