Sha256: 864ecc7fcfa72a2722493fdf6b8c507609ece9b3ecb0c4e0d5a8e255b682306c

Contents?: true

Size: 209 Bytes

Versions: 16

Compression:

Stored size: 209 Bytes

Contents

class <%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
  def up
    add_constraint :<%= class_name %>, :uuid
  end

  def down
    drop_constraint :<%= class_name %>, :uuid
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
neo4j-8.1.0.rc.1 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.17 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.16 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.15 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.13 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.12 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.11 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.10 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.9 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.8 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.7 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.6 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.5 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.4 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.3 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.2 lib/rails/generators/neo4j/model/templates/migration.erb