Sha256: eceafc61346bd14d41ec17e250e260a98e5ab7179c057ebd549a42ed576f167f

Contents?: true

Size: 310 Bytes

Versions: 13

Compression:

Stored size: 310 Bytes

Contents

require 'generators/fx_rate'

module FxRate
  module Generators
    class MigrationGenerator < Base
      desc "Generate fx_rates migration"

      def create_migration_file
        migration_template "create_fx_rate_table.rb", File.join('db', 'migrate', 'create_fx_rate_table.rb')
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fx_lib-0.1.5 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.1.4 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.1.3 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.1.2 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.1.1 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.1.0 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.0.9 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.0.8 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.0.7 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.0.6 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.0.5 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.0.4 lib/generators/fx_rate/migration/migration_generator.rb
fx_lib-0.0.3 lib/generators/fx_rate/migration/migration_generator.rb