Sha256: 40b1bd4ff84a05e0e031020f71b0ba1d6b1ad1cc46b3ce06ba5f38437608db61

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

require '<%= name %>/version'
require 'pg_migrate'

module <%= constant_name %>

  class Migrator
    def migrate options={}
      pgMigrator = PgMigrate::Migrator.new(PgMigrate::ManifestReader.new, PgMigrate::SqlReader.new, options)
      pgMigrator.migrate(File.expand_path('../<%= name %>/schemas', __FILE__))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_migrate-0.1.11 lib/pg_migrate/package_templates/lib/gem.rb