Sha256: 5e75197ec55283ee4a342fb07a086a2ed3600511be1cd4374466139c00ea3145
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
# This migration and AddTransactionIdColumnToVersions provide the necessary # schema for tracking associations. class AddForeignTypeToVersionAssociations < ActiveRecord::Migration<%= migration_version %> def self.up add_column :version_associations, :foreign_type, :string, index: true end def self.down remove_column :version_associations, :foreign_type end end
Version data entries
2 entries across 2 versions & 1 rubygems