Sha256: f2c3ebaabf2eb58de36bc8cdeb3c76bb3bc38d12eeadc45d0cf30f8a7a1d65ca
Contents?: true
Size: 519 Bytes
Versions: 10
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true require_relative "../migration_generator" module PaperTrail # Updates STI entries for PaperTrail class UpdateItemSubtypeGenerator < MigrationGenerator source_root File.expand_path("templates", __dir__) desc "Generates (but does not run) a migration to update item_subtype for STI entries in an "\ "existing versions table." def create_migration_file add_paper_trail_migration("update_versions_for_item_subtype", sti_type_options: options) end end end
Version data entries
10 entries across 10 versions & 1 rubygems