Sha256: b8842d882270961131f15ea5704afd7d510b8ff957b38a587ae451e1e1cd8c50
Contents?: true
Size: 843 Bytes
Versions: 29
Compression:
Stored size: 843 Bytes
Contents
class CreateMetasploitCredentialCores < ActiveRecord::Migration[4.2] def change create_table :metasploit_credential_cores do |t| # # Foreign keys # t.references :origin, null: false, polymorphic: true t.references :private, null: true t.references :public, null: true t.references :realm, null: true t.references :workspace, null: false # # Timestamps # t.timestamps null: false end change_table :metasploit_credential_cores do |t| # # Foreign Key Indices # t.index [:origin_type, :origin_id] t.index :private_id t.index :public_id t.index :realm_id t.index :workspace_id end end end
Version data entries
29 entries across 29 versions & 1 rubygems