Sha256: cc43b38fde80e0aaf0f5653b255c0df3330eecc88fd0f32851a348370f89e4d4

Contents?: true

Size: 350 Bytes

Versions: 7

Compression:

Stored size: 350 Bytes

Contents

class RoundGroupReference < ActiveRecord::Migration[6.0]
  def change
    add_column :foreman_patch_rounds, :group_id, :integer

    add_index :foreman_patch_rounds, :group_id, name: :foreman_patch_rounds_by_group_id

    add_foreign_key :foreman_patch_rounds, :foreman_patch_groups, column: :group_id, name: :foreman_patch_rounds_by_group
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_patch-1.2.0.alpha1 db/migrate/20211014212415_round_group_reference.rb
foreman_patch-1.1.6.alpha5 db/migrate/20211014212415_round_group_reference.rb
foreman_patch-1.1.6.alpha4 db/migrate/20211014212415_round_group_reference.rb
foreman_patch-1.1.5 db/migrate/20211014212415_round_group_reference.rb
foreman_patch-1.1.4 db/migrate/20211014212415_round_group_reference.rb
foreman_patch-1.1.3 db/migrate/20211014212415_round_group_reference.rb
foreman_patch-1.1.1 db/migrate/20211014212415_round_group_reference.rb