Sha256: 644757135cd696002b836267bc5afce9041838640ce29c928555a9adc9f88a33

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

# lib/generators/credere/credere_generator.rb
require 'rails/generators'
require 'rails/generators/migration'
require_relative 'base_generator'

module Credere
  class IdToUuidGenerator < BaseGenerator
    def create_migration_file
      migration_template 'id_to_uuid_migration.rb', 'db/migrate/id_to_uuid_credere_tables.rb'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
credere-0.10.3 lib/generators/credere/id_to_uuid_generator.rb
credere-0.10.2 lib/generators/credere/id_to_uuid_generator.rb