Sha256: 90ed6ed176e8c065334a1460a92a7c98507c892249d7b2f109bb4ab2c1ddaafd
Contents?: true
Size: 532 Bytes
Versions: 10
Compression:
Stored size: 532 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 & 2 rubygems