Sha256: 7691f4493706099b08d653f01a6ff0ec5b03fc936c47b68f9fe40d6367621d74

Contents?: true

Size: 215 Bytes

Versions: 59

Compression:

Stored size: 215 Bytes

Contents

class Create<%= @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

59 entries across 59 versions & 2 rubygems

Version Path
neo4j-9.6.2 lib/rails/generators/neo4j/model/templates/migration.erb
activegraph-10.0.0.pre.alpha.11 lib/rails/generators/neo4j/model/templates/migration.erb
activegraph-10.0.0.pre.alpha.10 lib/rails/generators/neo4j/model/templates/migration.erb
activegraph-10.0.0.pre.alpha.9 lib/rails/generators/neo4j/model/templates/migration.erb
activegraph-10.0.0.pre.alpha.8 lib/rails/generators/neo4j/model/templates/migration.erb
activegraph-10.0.0.pre.alpha.7 lib/rails/generators/neo4j/model/templates/migration.erb
activegraph-10.0.0.pre.alpha.6 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-10.0.0.pre.alpha.5 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-10.0.0.pre.alpha.4 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-10.0.0.pre.alpha.3 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-10.0.0.pre.alpha.2 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-10.0.0.pre.alpha.1 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.6.1 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.6.0 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.5.3 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.5.2 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.5.0 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.4.0 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.3.0 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-9.2.4 lib/rails/generators/neo4j/model/templates/migration.erb