Method: Neo4j::Migration::AddIdProperty#setup
- Defined in:
- lib/neo4j/migration.rb
#setup ⇒ Object
65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/neo4j/migration.rb', line 65 def setup super return if File.file?(models_filename) File.open(models_filename, 'w') do |file| = "# Provide models to which IDs should be added.\n# # It will only modify nodes that do not have IDs. There is no danger of overwriting data.\n# # models: [Student,Lesson,Teacher,Exam]\\nmodels: []\n" file.write() end end |