Sha256: 8f3dd5f3188a4e5ae1a3a217b4dc8473deb1de2294ac776822e143376e5fec70
Contents?: true
Size: 331 Bytes
Versions: 11
Compression:
Stored size: 331 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
11 entries across 11 versions & 1 rubygems