Sha256: e75828d61bad86a6f3a797bd4748ea9ec390087fc7f13afed2eb80d9903cc663
Contents?: true
Size: 478 Bytes
Versions: 75
Compression:
Stored size: 478 Bytes
Contents
class <%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base def up <% @schema.each do |type, data| data.each do |element| %> add_<%= type %> <%= element[:label].inspect %>, <%= element[:property_name].inspect %>, force: true <% end end %> end def down <% @schema.each do |type, data| data.each do |element| %> drop_<%= type %> <%= element[:label].inspect %>, <%= element[:property_name].inspect %> <% end end %> end end
Version data entries
75 entries across 75 versions & 2 rubygems