Sha256: c15a2521af28e3e401ebf01ce1343017ece526f30f628a29c6ab7f9314634f5f

Contents?: true

Size: 342 Bytes

Versions: 7

Compression:

Stored size: 342 Bytes

Contents

# lib/generators/borutus/borutus_generator.rb
require 'rails/generators'
require 'rails/generators/migration'
require_relative 'base_generator'

module Borutus
  class UpgradeBorutusGenerator < BaseGenerator
    def create_migration_file
      migration_template 'update_migration.rb', 'db/migrate/update_borutus_tables.rb'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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