Sha256: 96115fa334fdb278e37302de15626262467d6c4d4ad82025f19d3b0f45afc6e6
Contents?: true
Size: 628 Bytes
Versions: 6
Compression:
Stored size: 628 Bytes
Contents
require_relative 'abstract_migration_generator' class Sufia::Models::UpdateContentBlocksGenerator < Sufia::Models::AbstractMigrationGenerator source_root File.expand_path('../templates', __FILE__) desc """ This generator creates a database migration to add an external_key column to the content_blocks table (if the migration doesn't already exist). This allows you to associate a user_key with a featured_researcher entry. """ def banner say_status("warning", "CREATING MIGRATION FILE", :yellow) end def copy_migrations better_migration_template 'add_external_key_to_content_blocks.rb' end end
Version data entries
6 entries across 6 versions & 2 rubygems