Sha256: 92e03f823e67ca1e717dde21e792f02d5bd3fd88f6e2459451dc804be7c739e5

Contents?: true

Size: 460 Bytes

Versions: 22

Compression:

Stored size: 460 Bytes

Contents

class AddHostProxyInvocations < ActiveRecord::Migration[6.0]
  def change
    # rubocop:disable Rails/CreateTableWithTimestamps
    create_table :host_proxy_invocations, if_not_exists: true do |t|
      t.references :host, :null => false
      t.references :smart_proxy, :null => false
    end
    # rubocop:enable Rails/CreateTableWithTimestamps

    add_index :host_proxy_invocations, [:host_id, :smart_proxy_id], unique: true, if_not_exists: true
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.1 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-14.1.0 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-14.0.2 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-14.0.1 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.2.6 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-14.0.0 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.2.5 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.2.4 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.2.3 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.2.2 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-12.0.7 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.2.1 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.2.0 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-13.0.0 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-12.0.5 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-12.0.4 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-12.0.1 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-12.0.2 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-11.1.3 db/migrate/20210517132916_add_host_proxy_invocations.rb
foreman_remote_execution-12.0.0 db/migrate/20210517132916_add_host_proxy_invocations.rb