lib/multiverse/generators.rb in multiverse-0.1.2 vs lib/multiverse/generators.rb in multiverse-0.2.0
- old
+ new
@@ -9,7 +9,13 @@
module Migration
def db_migrate_path
Multiverse.migrate_path
end
end
+
+ module MigrationTemplate
+ def migration_template(source, destination, config = {})
+ super(source, destination.sub("db/migrate", Multiverse.migrate_path), config)
+ end
+ end
end
end