activegraph 11.0.0.beta.2-java → 11.0.0.beta.3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dabd800eb8d7b51eeab984f1c12f1fe1a98f74fa5f574d3cb7c4be8b5bcc6639
|
4
|
+
data.tar.gz: da816f07c51ebef78a442b4f7596bcaa00e2ba53a44c94241c993f433d837713
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6ff1e6885692740d539587f378f760e9b5818aff573820d8abf7d3666398ab78ed3f1a1ed129b9c3e19392e97e1eb7057a970e058bbc4afdfdc051689fc631d
|
7
|
+
data.tar.gz: ae09dcb6d8a79a38495c3065fa51d15ebf2a07c411553a1d582687b1662d036912a6fff8fcfce2b354c9b3d5307578cf1d12ff1b085219006f36bfc93e28223f
|
@@ -3,14 +3,15 @@ module ActiveGraph
|
|
3
3
|
module Schema
|
4
4
|
class << self
|
5
5
|
def fetch_schema_data
|
6
|
-
{constraints: fetch_constraint_descriptions.sort,
|
7
|
-
indexes: fetch_index_descriptions.sort}
|
6
|
+
{ constraints: fetch_constraint_descriptions.sort, indexes: fetch_index_descriptions.sort }
|
8
7
|
end
|
9
8
|
|
10
9
|
def synchronize_schema_data(schema_data, remove_missing)
|
11
10
|
queries = []
|
12
|
-
|
13
|
-
|
11
|
+
ActiveGraph::Base.read_transaction do
|
12
|
+
queries += drop_and_create_queries(fetch_constraint_descriptions, schema_data[:constraints], remove_missing)
|
13
|
+
queries += drop_and_create_queries(fetch_index_descriptions, schema_data[:indexes], remove_missing)
|
14
|
+
end
|
14
15
|
ActiveGraph::Base.write_transaction do
|
15
16
|
queries.each(&ActiveGraph::Base.method(:query))
|
16
17
|
end
|
@@ -88,9 +88,7 @@ COMMENT
|
|
88
88
|
|
89
89
|
ActiveGraph::Base.subscribe_to_query(&method(:puts))
|
90
90
|
|
91
|
-
ActiveGraph::
|
92
|
-
ActiveGraph::Migrations::Schema.synchronize_schema_data(schema_data, args[:remove_missing])
|
93
|
-
end
|
91
|
+
ActiveGraph::Migrations::Schema.synchronize_schema_data(schema_data, args[:remove_missing])
|
94
92
|
|
95
93
|
ActiveGraph::Base.transaction do
|
96
94
|
runner = ActiveGraph::Migrations::Runner.new
|
data/lib/active_graph/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.0.0.beta.
|
4
|
+
version: 11.0.0.beta.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge, Brian Underwood, Chris Grigg, Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|