lib/generators/migration/migration_generator.rb in generator-spec-0.4.4 vs lib/generators/migration/migration_generator.rb in generator-spec-0.4.5
- old
+ new
@@ -5,9 +5,10 @@
def self.source_root
@source_root ||= File.expand_path("../templates", __FILE__)
end
- def create_migration
+ def create_migration
+ info "Create migration #{name}"
migration "#{name} name:string age:integer admin:boolean"
end
end