lib/rails/generators/neo4j/model/model_generator.rb in neo4j-8.1.0.rc.1 vs lib/rails/generators/neo4j/model/model_generator.rb in neo4j-8.1.0.rc.2

- old
+ new

@@ -14,10 +14,10 @@ class_option :has_one, type: :array, desc: 'A list of has_one relationships' class_option :has_many, type: :array, desc: 'A list of has_many relationships' def create_model_file template 'model.erb', File.join('app/models', class_path, "#{singular_name}.rb") - migration_template 'migration.erb' + migration_template 'migration.erb', 'create_' end protected def migration?