Sha256: 1b6faa26773626733335d2bd47826d76646f54e488783879c00dc8be6507ff18
Contents?: true
Size: 327 Bytes
Versions: 25
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true class <%= migration_class_name %> < <%= migration_parent %> def self.up add_column :audits, :association_id, :integer add_column :audits, :association_type, :string end def self.down remove_column :audits, :association_type remove_column :audits, :association_id end end
Version data entries
25 entries across 25 versions & 2 rubygems