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