Sha256: df725617e31d7e803c20778c4abc8ca8833e374bfa3c70d3ee46e5b6875c4f31
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
module Rapidfire module Generators class ActiveSurveyMigrationGenerator < ::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_active_to_survey.rb", "db/migrate/add_active_to_survey.rapidfire.rb" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rapidfire-8.0.0 | lib/generators/rapidfire/active_survey_migration_generator.rb |
rapidfire-5.0.0 | lib/generators/rapidfire/active_survey_migration_generator.rb |