Sha256: f10702471d21fa6c56a98edbd9347d69f417641cc7f7c9e3b55982400d96d931
Contents?: true
Size: 623 Bytes
Versions: 2
Compression:
Stored size: 623 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("info", "CREATING MIGRATION FILE", :blue) end def copy_migrations better_migration_template 'add_external_key_to_content_blocks.rb' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sufia-models-6.2.0 | lib/generators/sufia/models/update_content_blocks_generator.rb |
sufia-models-6.1.0 | lib/generators/sufia/models/update_content_blocks_generator.rb |