Sha256: 3e53a076a14b273e56e6c2258ae0a5e752da03bb43c2b7055adb830b7b2a655c

Contents?: true

Size: 304 Bytes

Versions: 7

Compression:

Stored size: 304 Bytes

Contents

require 'rails/generators'
require 'rails/generators/migration'
require_relative 'base_generator'

module Borutus
  class AddDateUpgradeGenerator < BaseGenerator
    def create_migration_file
      migration_template 'add_date_migration.rb', 'db/migrate/add_date_to_borutus_entries.rb'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
borutus-1.0.0 lib/generators/borutus/add_date_upgrade_generator.rb
borutus-0.2.4 lib/generators/borutus/add_date_upgrade_generator.rb
borutus-0.2.3 lib/generators/borutus/add_date_upgrade_generator.rb
borutus-0.2.2 lib/generators/borutus/add_date_upgrade_generator.rb
borutus-0.2.1 lib/generators/borutus/add_date_upgrade_generator.rb
borutus-0.2.0 lib/generators/borutus/add_date_upgrade_generator.rb
borutus-0.1.0 lib/generators/borutus/add_date_upgrade_generator.rb