Sha256: 6044ffaa148299f505c309c841cdb3c16f8e10b9d6dfd86e7cdcaaec60a3b275

Contents?: true

Size: 364 Bytes

Versions: 12

Compression:

Stored size: 364 Bytes

Contents

class AddSccKatelloRepositoryRelation < ActiveRecord::Migration[6.0]
  def change
    create_table(:scc_katello_repositories) do |t|
      t.references :scc_repository, null: false, foreign_key: { on_delete: :cascade }
      t.references :katello_root_repository, null: false, foreign_key: { on_delete: :cascade }

      t.timestamps null: false
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_scc_manager-4.0.0 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-3.1.1 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-3.1.0 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-3.0.0 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-2.3.0 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-2.2.3 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-2.2.2 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-2.2.1 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-2.2.0 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-2.1.0 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-2.0.0 db/migrate/20220425132605_add_scc_katello_repository_relation.rb
foreman_scc_manager-1.8.20 db/migrate/20220425132605_add_scc_katello_repository_relation.rb