Sha256: a82c571c41918b76a056e4f1faf466fadd8321265d4bbcdd6150c409d69d6846

Contents?: true

Size: 189 Bytes

Versions: 15

Compression:

Stored size: 189 Bytes

Contents

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

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
neo4j-8.0.1 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.rc.4 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.rc.3 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.rc.2 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.rc.1 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.12 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.11 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.10 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.9 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.8 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.7 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.6 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.5 lib/rails/generators/neo4j/model/templates/migration.erb
neo4j-8.0.0.alpha.4 lib/rails/generators/neo4j/model/templates/migration.erb