message-db 1.0.0 → 1.1.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: 933944df84aeb9ae8e8a0d265b7ef3b95a82df0d58eceed0ca31507f96f04299
4
- data.tar.gz: 307379e48df23685b9ad494315568f152b57a3481b8f17a1dcf128fabefded9c
3
+ metadata.gz: 7a59e21d708924019e01007e57fd6ec70e56e8414bbed5c6383e4e31a4b82d9c
4
+ data.tar.gz: 8972744da6ef9f35e809f1e2da16337dac6c938c340a80b7d4240c651c735654
5
5
  SHA512:
6
- metadata.gz: e730605cb9dbad8cf9072df8ec1fde409edaa6765e852893117a0a99e60bd387f94a0dbd6ffc895ca69ab3180d7b4217a2858ac640b6e272dc94038510ebf2be
7
- data.tar.gz: 664e88ea262afa6f2771563b0926fc406e3585c2a112534ba80270de13a55de5816b437217ed21265308a517fc45989994dfa2b54945b1472c204aeb47b5e326
6
+ metadata.gz: 24751890afbea5a17a81c88f4a1cdb3bdf9c29db74ad294ea0ad4ec7372c85412869139ee8ea9ac2766f132e6bac3ccda4aae409613d8c46ea03c4ba849e4183
7
+ data.tar.gz: 9cbcaf795cefc68261da3f204c9ad5d754a7e28a520b9d3437d37b55d08a3bef4d534a3d847e5d5fdac0dfee120a2c3686013306e20c2d058ba3ae8e423cc310
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -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.0.0';
5
+ RETURN '1.1.0';
6
6
  END;
7
7
  $$ LANGUAGE plpgsql
8
8
  VOLATILE;
@@ -17,6 +17,9 @@ function grant-privileges {
17
17
 
18
18
  base=$(script_dir)
19
19
 
20
+ echo "» schema privileges"
21
+ psql $database -q -f $base/privileges/schema.sql
22
+
20
23
  echo "» messages table privileges"
21
24
  psql $database -q -f $base/privileges/table.sql
22
25
 
@@ -0,0 +1 @@
1
+ GRANT USAGE ON SCHEMA message_store TO message_store;
@@ -1 +1 @@
1
- CREATE SCHEMA IF NOT EXISTS message_store AUTHORIZATION message_store;
1
+ CREATE SCHEMA IF NOT EXISTS message_store;
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.0.0
4
+ version: 1.1.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: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " "
14
14
  email: opensource@eventide-project.org
@@ -70,6 +70,7 @@ files:
70
70
  - database/print-type-stream-summary.sh
71
71
  - database/print-type-summary.sh
72
72
  - database/privileges/functions.sql
73
+ - database/privileges/schema.sql
73
74
  - database/privileges/sequence.sql
74
75
  - database/privileges/table.sql
75
76
  - database/privileges/views.sql