message-db 1.1.0 → 2.0.1

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: 7a59e21d708924019e01007e57fd6ec70e56e8414bbed5c6383e4e31a4b82d9c
4
- data.tar.gz: 8972744da6ef9f35e809f1e2da16337dac6c938c340a80b7d4240c651c735654
3
+ metadata.gz: 49621caad583b64239cbd8f169e5e4ce4542e8c3fb34e919feb29f2ea7e0b482
4
+ data.tar.gz: 6b18052ddcb2099b3deeaf0be0594fbc15c452b6a5e4db2f9ac86431cddc8742
5
5
  SHA512:
6
- metadata.gz: 24751890afbea5a17a81c88f4a1cdb3bdf9c29db74ad294ea0ad4ec7372c85412869139ee8ea9ac2766f132e6bac3ccda4aae409613d8c46ea03c4ba849e4183
7
- data.tar.gz: 9cbcaf795cefc68261da3f204c9ad5d754a7e28a520b9d3437d37b55d08a3bef4d534a3d847e5d5fdac0dfee120a2c3686013306e20c2d058ba3ae8e423cc310
6
+ metadata.gz: 9d35a1ab074508046fa3c5c664687ddcc6b27e223841902175b2ddc9b5bd764926d9c016234448fd56edb1e839d066ea53fa8c50804b1c4d0ac09de44c9b8dc3
7
+ data.tar.gz: efc1c0ece0763d8939e5459ab733b54fe132a9a90d55ce2fc587345f8729c6ced5067913cba3abe8d474fd8e0d95e5aab82df756eed2eca01d65a5bbd82bfebb
data/database/VERSION.txt CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.5
@@ -1 +1 @@
1
- CREATE EXTENSION IF NOT EXISTS pgcrypto SCHEMA message_store;
1
+ CREATE EXTENSION IF NOT EXISTS pgcrypto;
@@ -2,7 +2,7 @@ CREATE OR REPLACE FUNCTION message_store.message_store_version()
2
2
  RETURNS varchar
3
3
  AS $$
4
4
  BEGIN
5
- RETURN '1.1.0';
5
+ RETURN '1.1.5';
6
6
  END;
7
7
  $$ LANGUAGE plpgsql
8
8
  VOLATILE;
@@ -12,8 +12,6 @@ DECLARE
12
12
  _message_id uuid;
13
13
  _stream_version bigint;
14
14
  _next_position bigint;
15
- _category varchar;
16
- _category_name_hash bigint;
17
15
  BEGIN
18
16
  PERFORM acquire_lock(write_message.stream_name);
19
17
 
@@ -65,8 +63,6 @@ BEGIN
65
63
  RAISE NOTICE 'data ($4): %', write_message.data;
66
64
  RAISE NOTICE 'metadata ($5): %', write_message.metadata;
67
65
  RAISE NOTICE 'expected_version ($6): %', write_message.expected_version;
68
- RAISE NOTICE '_category: %', _category;
69
- RAISE NOTICE '_category_name_hash: %', _category_name_hash;
70
66
  RAISE NOTICE '_stream_version: %', _stream_version;
71
67
  RAISE NOTICE '_next_position: %', _next_position;
72
68
  END IF;
@@ -1,14 +1,15 @@
1
+ GRANT EXECUTE ON FUNCTION gen_random_uuid() TO message_store;
2
+ GRANT EXECUTE ON FUNCTION md5(text) TO message_store;
3
+
1
4
  GRANT EXECUTE ON FUNCTION message_store.acquire_lock(varchar) TO message_store;
2
5
  GRANT EXECUTE ON FUNCTION message_store.cardinal_id(varchar) TO message_store;
3
6
  GRANT EXECUTE ON FUNCTION message_store.category(varchar) TO message_store;
4
- GRANT EXECUTE ON FUNCTION message_store.gen_random_uuid() TO message_store;
5
7
  GRANT EXECUTE ON FUNCTION message_store.get_category_messages(varchar, bigint, bigint, varchar, bigint, bigint, varchar) TO message_store;
6
8
  GRANT EXECUTE ON FUNCTION message_store.get_last_stream_message(varchar) TO message_store;
7
9
  GRANT EXECUTE ON FUNCTION message_store.get_stream_messages(varchar, bigint, bigint, varchar) TO message_store;
8
10
  GRANT EXECUTE ON FUNCTION message_store.hash_64(varchar) TO message_store;
9
11
  GRANT EXECUTE ON FUNCTION message_store.id(varchar) TO message_store;
10
12
  GRANT EXECUTE ON FUNCTION message_store.is_category(varchar) TO message_store;
11
- GRANT EXECUTE ON FUNCTION md5(text) TO message_store;
12
13
  GRANT EXECUTE ON FUNCTION message_store.message_store_version() TO message_store;
13
14
  GRANT EXECUTE ON FUNCTION message_store.stream_version(varchar) TO message_store;
14
15
  GRANT EXECUTE ON FUNCTION message_store.write_message(varchar, varchar, varchar, jsonb, jsonb, bigint) TO message_store;
@@ -1,5 +1,5 @@
1
1
  CREATE TABLE IF NOT EXISTS message_store.messages (
2
- id UUID NOT NULL DEFAULT message_store.gen_random_uuid(),
2
+ id UUID NOT NULL DEFAULT gen_random_uuid(),
3
3
  stream_name text NOT NULL,
4
4
  type text NOT NULL,
5
5
  position bigint NOT NULL,
data/database/update.sh CHANGED
@@ -2,170 +2,17 @@
2
2
 
3
3
  set -e
4
4
 
5
- function script_dir {
6
- val="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7
- echo "$val"
8
- }
9
-
10
- base=$(script_dir)
11
-
12
- echo
13
- echo "Updating Database"
14
- echo "Version: $(cat $base/VERSION.txt)"
15
- echo "= = ="
16
-
17
- if [ -z ${DATABASE_NAME+x} ]; then
18
- echo "(DATABASE_NAME is not set. Default will be used.)"
19
- database=message_store
20
- export DATABASE_NAME=$database
21
- else
22
- database=$DATABASE_NAME
23
- fi
24
- echo
25
-
26
- if [ -z ${PGOPTIONS+x} ]; then
27
- export PGOPTIONS='-c client_min_messages=warning'
28
- fi
29
-
30
- function delete-extensions {
31
- echo "» pgcrypto extension"
32
- psql $database -q -c "DROP EXTENSION IF EXISTS pgcrypto";
33
- }
34
-
35
- function delete-indexes {
36
- echo "» messages_id_uniq_idx index"
37
- psql $database -q -c "DROP INDEX IF EXISTS messages_id_uniq_idx CASCADE";
38
-
39
- echo "» messages_stream_name_position_uniq_idx index"
40
- psql $database -q -c "DROP INDEX IF EXISTS messages_stream_name_position_uniq_idx";
41
-
42
- echo "» messages_category_global_position_idx index"
43
- psql $database -q -c "DROP INDEX IF EXISTS messages_category_global_position_idx";
44
- }
45
-
46
- function delete-views {
47
- echo "» stream_summary view"
48
- psql $database -q -c "DROP VIEW IF EXISTS stream_summary CASCADE";
49
-
50
- echo "» type_summary view"
51
- psql $database -q -c "DROP VIEW IF EXISTS type_summary CASCADE";
52
-
53
- echo "» stream_type_summary view"
54
- psql $database -q -c "DROP VIEW IF EXISTS stream_type_summary CASCADE";
55
-
56
- echo "» type_stream_summary view"
57
- psql $database -q -c "DROP VIEW IF EXISTS type_stream_summary CASCADE";
58
-
59
- echo "» category_type_summary view"
60
- psql $database -q -c "DROP VIEW IF EXISTS category_type_summary CASCADE";
61
-
62
- echo "» type_category_summary view"
63
- psql $database -q -c "DROP VIEW IF EXISTS type_category_summary CASCADE";
64
- }
65
-
66
- function delete-functions {
67
- echo "» hash_64 function"
68
- psql $database -q -c "DROP FUNCTION IF EXISTS hash_64 CASCADE";
69
-
70
- echo "» category function"
71
- psql $database -q -c "DROP FUNCTION IF EXISTS category CASCADE";
72
-
73
- echo "» stream_version function"
74
- psql $database -q -c "DROP FUNCTION IF EXISTS stream_version CASCADE";
75
-
76
- echo "» write_message function"
77
- psql $database -q -c "DROP FUNCTION IF EXISTS write_message CASCADE";
78
-
79
- echo "» get_stream_messages function"
80
- psql $database -q -c "DROP FUNCTION IF EXISTS get_stream_messages CASCADE";
81
-
82
- echo "» get_category_messages function"
83
- psql $database -q -c "DROP FUNCTION IF EXISTS get_category_messages CASCADE";
84
-
85
- echo "» get_last_message function"
86
- psql $database -q -c "DROP FUNCTION IF EXISTS get_last_message CASCADE";
87
- }
88
-
89
- function delete-extensions {
90
- echo "» pgcrypto extension"
91
- psql $database -q -c "DROP EXTENSION IF EXISTS pgcrypto CASCADE";
92
- }
93
-
94
- function create-schema {
95
- echo "» message_store schema"
96
- psql $database -q -f $base/schema/message-store.sql
97
- }
98
-
99
- function add-table-to-schema {
100
- echo "» messages table"
101
- psql $database -q -c "ALTER TABLE messages SET SCHEMA message_store";
102
- }
103
-
104
- function create-extensions {
105
- base=$(script_dir)
106
-
107
- echo "» pgcrypto extension"
108
- psql $database -q -f $base/extensions/pgcrypto.sql
109
- }
110
-
111
- function set-default-value {
112
- echo "» id column"
113
- psql $database -q -c "ALTER TABLE message_store.messages ALTER COLUMN id SET DEFAULT message_store.gen_random_uuid()";
114
- }
115
-
116
- echo "Deleting Views"
117
- echo "- - -"
118
- delete-views
119
- echo
120
-
121
- echo "Deleting Indexes"
122
- echo "- - -"
123
- delete-indexes
124
- echo
125
-
126
- echo "Deleting Functions"
127
- echo "- - -"
128
- delete-functions
129
- echo
130
-
131
- echo "Deleting Extensions"
132
- echo "- - -"
133
- delete-extensions
134
5
  echo
135
-
136
- echo "Creating Schema"
137
- echo "- - -"
138
- create-schema
6
+ echo "WARNING: OBSOLETE"
139
7
  echo
140
-
141
- echo "Creating Extensions"
142
- echo "- - -"
143
- create-extensions
8
+ echo "The ${BASH_SOURCE[0]} has been deprecated"
9
+ echo "See the database/update directory for current update scripts"
144
10
  echo
145
11
 
146
- echo "Adding Table to Schema"
147
- echo "- - -"
148
- add-table-to-schema
149
- echo
150
-
151
- echo "Set Default Value for ID Column"
152
- echo "- - -"
153
- set-default-value
154
- echo
155
-
156
- # Install functions
157
- source $base/install-functions.sh
158
-
159
- # Install indexes
160
- source $base/install-indexes.sh
161
-
162
- # Install views
163
- source $base/install-views.sh
12
+ current_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
13
+ update_directory="$current_directory/update"
164
14
 
165
- # Install privileges
166
- source $base/install-privileges.sh
15
+ echo "Contents of $update_directory"
16
+ ls -1 $update_directory
167
17
 
168
- echo "= = ="
169
- echo "Done Updating Database"
170
- echo "Version: $(cat $base/VERSION.txt)"
171
18
  echo
@@ -0,0 +1,26 @@
1
+ # 1.0.0 Update
2
+
3
+ Note: Formerly, `postgres-message-store`.
4
+
5
+ The following changes are made by the 1.0.0.sh update script:
6
+
7
+ - **Note: There are no changes to the `messages` table, and no data migration is necessary**
8
+ - The executables named `evt-pg-*` are renamed to `mdb-*`
9
+ - **[breaking change]** The `get_category_messages` server function supports pub/sub directly by receiving a `correlation` argument and composing the correlation metadata query condition directly in the server function ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-messages-from-a-stream](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-messages-from-a-stream))
10
+ - **[breaking change]** The message_store database and its objects are contained in a Postgres schema named `message_store`
11
+ - **[breaking change]** The `get_category_messages` server function supports consumer groups via the `consumer_group_member` and `consumer_group_size` parameters ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-messages-from-a-category](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-messages-from-a-category))
12
+ - The retrieval server functions provide debugging output that is activated via the Postgres setting, `message_store.debug_get` ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#debugging-output](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#debugging-output))
13
+ - The write server function provides debugging output that is activated via the Postgres setting, `message_store.debug_write` ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#debugging-output](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#debugging-output))
14
+ - The `message_store.debug` Postgres setting activates both the retrieval and write debug output ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#debugging-output](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#debugging-output))
15
+ - `id` stream parsing function ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-the-id-from-a-stream-name](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-the-id-from-a-stream-name))
16
+ - `cardinal_id` stream parsing function ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-the-cardinal-id-from-a-stream-name](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-the-cardinal-id-from-a-stream-name))
17
+ - `acquire_lock` function encapsulates the application of the advisory lock used by the `write_message` function ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-message-store-database-schema-version](http://docs.eventide-project.org/user-guide/message-store/server-functions.html#get-message-store-database-schema-version))
18
+ - Database management tool output is clarified
19
+ - **[breaking change]** All server function parameter names are no longer named with underscore prefixes ([http://docs.eventide-project.org/user-guide/message-store/server-functions.html](http://docs.eventide-project.org/user-guide/message-store/server-functions.html))
20
+ - Indexes are no longer built with the `CONCURRENTLY` option ([http://docs.eventide-project.org/user-guide/message-store/anatomy.html#source-code](http://docs.eventide-project.org/user-guide/message-store/anatomy.html#source-code))
21
+ - **[breaking change]** The `messages_category_global_position_idx` is removed and replaced with the `messages_category` index, which now indexes correlation metadata
22
+ - **[breaking change]** The `messages_stream_name_position_uniq_idx` is removed and replaced with the `messages_stream` index, which now indexes correlation metadata
23
+ - **[breaking change]** The `messages_id_uniq_idx` is removed and replaced with the `messages_id` index
24
+ - Message DB RubyGem: [https://github.com/message-db/ruby-gem](https://github.com/message-db/ruby-gem)
25
+ - Message DB NPM Module: [https://github.com/message-db/npm-module](https://github.com/message-db/npm-module)
26
+ - Improvements to interactive tests ([https://github.com/eventide-project/postgres-message-store/tree/master/test](https://github.com/eventide-project/postgres-message-store/tree/master/test))
@@ -0,0 +1,187 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ echo
6
+ echo "Message DB"
7
+ echo
8
+ echo "Update the message_store database"
9
+ echo
10
+ echo "WARNING:"
11
+ echo "This script updates a pre-v1 message_store database to Message DB v1.x"
12
+ echo "Do not run this script on a Message DB v1 database"
13
+ echo
14
+ echo "Fore more information about the changes made to the message store by"
15
+ echo "this update, see: https://github.com/message-db/message-db/blob/master/database/update/1.0.0.md"
16
+ echo
17
+ echo "- Press CTRL+C to stop this script from running"
18
+ echo "- Press RETURN to allow the script to proceed"
19
+ echo
20
+ read
21
+
22
+ function script_dir {
23
+ val="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
24
+ echo "$val"
25
+ }
26
+
27
+ base="$(script_dir)/.."
28
+ echo $base
29
+
30
+ echo
31
+ echo "Updating Database"
32
+ echo "Version: $(cat $base/VERSION.txt)"
33
+ echo "= = ="
34
+
35
+ if [ -z ${DATABASE_NAME+x} ]; then
36
+ echo "(DATABASE_NAME is not set. Default will be used.)"
37
+ database=message_store
38
+ export DATABASE_NAME=$database
39
+ else
40
+ database=$DATABASE_NAME
41
+ fi
42
+ echo
43
+
44
+ if [ -z ${PGOPTIONS+x} ]; then
45
+ export PGOPTIONS='-c client_min_messages=warning'
46
+ fi
47
+
48
+ function delete-extensions {
49
+ echo "» pgcrypto extension"
50
+ psql $database -q -c "DROP EXTENSION IF EXISTS pgcrypto";
51
+ }
52
+
53
+ function delete-indexes {
54
+ echo "» messages_id_uniq_idx index"
55
+ psql $database -q -c "DROP INDEX IF EXISTS messages_id_uniq_idx CASCADE";
56
+
57
+ echo "» messages_stream_name_position_uniq_idx index"
58
+ psql $database -q -c "DROP INDEX IF EXISTS messages_stream_name_position_uniq_idx";
59
+
60
+ echo "» messages_category_global_position_idx index"
61
+ psql $database -q -c "DROP INDEX IF EXISTS messages_category_global_position_idx";
62
+ }
63
+
64
+ function delete-views {
65
+ echo "» stream_summary view"
66
+ psql $database -q -c "DROP VIEW IF EXISTS stream_summary CASCADE";
67
+
68
+ echo "» type_summary view"
69
+ psql $database -q -c "DROP VIEW IF EXISTS type_summary CASCADE";
70
+
71
+ echo "» stream_type_summary view"
72
+ psql $database -q -c "DROP VIEW IF EXISTS stream_type_summary CASCADE";
73
+
74
+ echo "» type_stream_summary view"
75
+ psql $database -q -c "DROP VIEW IF EXISTS type_stream_summary CASCADE";
76
+
77
+ echo "» category_type_summary view"
78
+ psql $database -q -c "DROP VIEW IF EXISTS category_type_summary CASCADE";
79
+
80
+ echo "» type_category_summary view"
81
+ psql $database -q -c "DROP VIEW IF EXISTS type_category_summary CASCADE";
82
+ }
83
+
84
+ function delete-functions {
85
+ echo "» hash_64 function"
86
+ psql $database -q -c "DROP FUNCTION IF EXISTS hash_64 CASCADE";
87
+
88
+ echo "» category function"
89
+ psql $database -q -c "DROP FUNCTION IF EXISTS category CASCADE";
90
+
91
+ echo "» stream_version function"
92
+ psql $database -q -c "DROP FUNCTION IF EXISTS stream_version CASCADE";
93
+
94
+ echo "» write_message function"
95
+ psql $database -q -c "DROP FUNCTION IF EXISTS write_message CASCADE";
96
+
97
+ echo "» get_stream_messages function"
98
+ psql $database -q -c "DROP FUNCTION IF EXISTS get_stream_messages CASCADE";
99
+
100
+ echo "» get_category_messages function"
101
+ psql $database -q -c "DROP FUNCTION IF EXISTS get_category_messages CASCADE";
102
+
103
+ echo "» get_last_message function"
104
+ psql $database -q -c "DROP FUNCTION IF EXISTS get_last_message CASCADE";
105
+ }
106
+
107
+ function delete-extensions {
108
+ echo "» pgcrypto extension"
109
+ psql $database -q -c "DROP EXTENSION IF EXISTS pgcrypto CASCADE";
110
+ }
111
+
112
+ function create-schema {
113
+ echo "» message_store schema"
114
+ psql $database -q -f $base/schema/message-store.sql
115
+ }
116
+
117
+ function add-table-to-schema {
118
+ echo "» messages table"
119
+ psql $database -q -c "ALTER TABLE messages SET SCHEMA message_store";
120
+ }
121
+
122
+ function create-extensions {
123
+ echo "» pgcrypto extension"
124
+ psql $database -q -f $base/extensions/pgcrypto.sql
125
+ }
126
+
127
+ function set-default-value {
128
+ echo "» id column"
129
+ psql $database -q -c "ALTER TABLE message_store.messages ALTER COLUMN id SET DEFAULT gen_random_uuid()";
130
+ }
131
+
132
+ echo "Deleting Views"
133
+ echo "- - -"
134
+ delete-views
135
+ echo
136
+
137
+ echo "Deleting Indexes"
138
+ echo "- - -"
139
+ delete-indexes
140
+ echo
141
+
142
+ echo "Deleting Functions"
143
+ echo "- - -"
144
+ delete-functions
145
+ echo
146
+
147
+ echo "Deleting Extensions"
148
+ echo "- - -"
149
+ delete-extensions
150
+ echo
151
+
152
+ echo "Creating Schema"
153
+ echo "- - -"
154
+ create-schema
155
+ echo
156
+
157
+ echo "Creating Extensions"
158
+ echo "- - -"
159
+ create-extensions
160
+ echo
161
+
162
+ echo "Adding Table to Schema"
163
+ echo "- - -"
164
+ add-table-to-schema
165
+ echo
166
+
167
+ echo "Set Default Value for ID Column"
168
+ echo "- - -"
169
+ set-default-value
170
+ echo
171
+
172
+ # Install functions
173
+ source $base/install-functions.sh
174
+
175
+ # Install indexes
176
+ source $base/install-indexes.sh
177
+
178
+ # Install views
179
+ source $base/install-views.sh
180
+
181
+ # Install privileges
182
+ source $base/install-privileges.sh
183
+
184
+ echo "= = ="
185
+ echo "Done Updating Database"
186
+ echo "Version: $(cat $base/VERSION.txt)"
187
+ echo
@@ -2,4 +2,4 @@
2
2
 
3
3
  root = File.expand_path '../database', __dir__
4
4
 
5
- system `open #{root}`
5
+ puts root
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: message-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.1
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: 2019-12-12 00:00:00.000000000 Z
11
+ date: 2019-12-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " "
14
14
  email: opensource@eventide-project.org
@@ -18,15 +18,14 @@ executables:
18
18
  - mdb-print-type-category-summary
19
19
  - mdb-install-views
20
20
  - mdb-delete-db
21
- - mdb-update-db
22
21
  - mdb-print-type-summary
23
22
  - mdb-print-stream-type-summary
24
23
  - mdb-install-privileges
25
24
  - mdb-recreate-db
26
25
  - mdb-print-messages
27
26
  - mdb-print-message-store-version
27
+ - mdb-print-database-scripts-dir
28
28
  - mdb-print-type-stream-summary
29
- - mdb-open-database-scripts-dir
30
29
  - mdb-write-test-message
31
30
  - mdb-install-indexes
32
31
  - mdb-install-functions
@@ -80,6 +79,8 @@ files:
80
79
  - database/types/message.sql
81
80
  - database/uninstall.sh
82
81
  - database/update.sh
82
+ - database/update/1.0.0.md
83
+ - database/update/1.0.0.sh
83
84
  - database/views/category-type-summary.sql
84
85
  - database/views/stream-summary.sql
85
86
  - database/views/stream-type-summary.sql
@@ -94,8 +95,8 @@ files:
94
95
  - scripts/mdb-install-indexes
95
96
  - scripts/mdb-install-privileges
96
97
  - scripts/mdb-install-views
97
- - scripts/mdb-open-database-scripts-dir
98
98
  - scripts/mdb-print-category-type-summary
99
+ - scripts/mdb-print-database-scripts-dir
99
100
  - scripts/mdb-print-message-store-version
100
101
  - scripts/mdb-print-messages
101
102
  - scripts/mdb-print-stream-summary
@@ -104,7 +105,6 @@ files:
104
105
  - scripts/mdb-print-type-stream-summary
105
106
  - scripts/mdb-print-type-summary
106
107
  - scripts/mdb-recreate-db
107
- - scripts/mdb-update-db
108
108
  - scripts/mdb-write-test-message
109
109
  homepage: https://github.com/message-db/message-db
110
110
  licenses:
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- root = File.expand_path '../database', __dir__
4
- script_filename = 'update.sh'
5
- script_filepath = File.join root, script_filename
6
-
7
- system script_filepath