evt-message_store-postgres-database 0.2.0.2 → 0.3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7a208ccc9135273d3d8125e634b38929390855de04c86685f9c32f2419af1b7
4
- data.tar.gz: b1b346bb5ab728d4fad2bd23ae8784d66aa49103d5478396ca7773aca90ae0a8
3
+ metadata.gz: 7588b97db4e6f186b6e39788e962d44e3c55cf450cf3317865147af48ffed4d7
4
+ data.tar.gz: 83001e6fa7d491d558c84f984f1d249380aea59f602606334d13b028c9fb2d94
5
5
  SHA512:
6
- metadata.gz: 72194e7c04537b6b2150b2be062bdcb7e875def24641c65706143d245f411ee79a1ae3a9e518b89f6fcb877138312bfbefcc5827a1f3ae086efde1cf79c25373
7
- data.tar.gz: 1d733304d7afd84940cf7c4f836c166d338bd6a61af5f1f6691d1d39eb401cbe0576a3778c5a4460fb67573af23b363e2d5b0ab760a8ea3fce3573b56fae58de
6
+ metadata.gz: f5bb2de5620dfb54eb5f816f67d8f911d25caafb83eebe0a43daeb5b6f6dc1b4ff359d449eb02ab41930c3f2228b3bdace16802601098f0a40c2352206aff877
7
+ data.tar.gz: ede86fdcdab1d79d13e46ddfc60d6c4bd98288e3799c5de55a8493c36e10ec4e6ba5c958828ddad1aea9f315a388841b2b2043ac31feca77448d84f4c3393375
@@ -0,0 +1 @@
1
+ CREATE UNIQUE INDEX CONCURRENTLY "messages_id_uniq_idx" ON "public"."messages" USING btree(id ASC NULLS LAST);
data/database/install.sh CHANGED
@@ -65,8 +65,8 @@ function create-types {
65
65
  function create-indexes {
66
66
  base=$(script_dir)
67
67
 
68
- echo "messages_id_idx"
69
- psql $database -f $base/indexes/messages-id.sql
68
+ echo "messages_id_uniq_idx"
69
+ psql $database -f $base/indexes/messages-id-uniq.sql
70
70
 
71
71
  echo "messages_category_global_position_idx"
72
72
  psql $database -f $base/indexes/messages-category-global-position.sql
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-message_store-postgres-database
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.2
4
+ version: 0.3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: scripts
10
10
  cert_chain: []
11
- date: 2018-06-21 00:00:00.000000000 Z
11
+ date: 2018-06-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " "
14
14
  email: opensource@eventide-project.org
@@ -37,7 +37,7 @@ files:
37
37
  - database/functions/stream-version.sql
38
38
  - database/functions/write-message.sql
39
39
  - database/indexes/messages-category-global-position.sql
40
- - database/indexes/messages-id.sql
40
+ - database/indexes/messages-id-uniq.sql
41
41
  - database/indexes/messages-stream-name-position-uniq.sql
42
42
  - database/install-functions.sh
43
43
  - database/install.sh
@@ -1 +0,0 @@
1
- CREATE INDEX CONCURRENTLY "messages_id_idx" ON "public"."messages" USING btree(id ASC NULLS LAST);