Sha256: 495f7bbc0ee4236c627e34b0453d37516afd4dcb75703335d9797ab5368308af
Contents?: true
Size: 512 Bytes
Versions: 3
Compression:
Stored size: 512 Bytes
Contents
module Rapidfire module Generators class AfterSurveyContentMigrationGenerator < ::Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) def self.next_migration_number(dir) Time.now.utc.strftime("%Y%m%d%H%M%S") end def copy_migrations migration_template "migrations/add_after_survey_content_to_survey.rb", "db/migrate/add_after_survey_content_to_survey.rapidfire.rb" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems