waldit 0.0.9 → 0.0.10

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: af8a3191d1b6471577a8f684b232d3634271624328674d04dc9db07556c1eca3
4
- data.tar.gz: dbb4b2d69139ae42581d57404d7c88bd95969deb9544fe006c3afe2a5870f8d1
3
+ metadata.gz: 36a418e6018778b191932f3ae0a024f249dadf81650680cc638e09582ae2cbf1
4
+ data.tar.gz: be6287122656902fd53defba9430506bed0c0039464c4a212457f552b9a94f27
5
5
  SHA512:
6
- metadata.gz: 03d6a7973c6ae02b6c7c0c859d8f02cb3135e0e0d7d0ad59c96247115f0e7db4c873928aebd3e1c0bbcb715f07c20ee7570cf3f02bbf66debf19a435cf511a7b
7
- data.tar.gz: 1296b36a4a737dfe4f4718dc9eed2010535851e74361818b8cbf999ead2d87290d8f3340503fa6ae1bf3904e59cc6253d531195eb87b0310976c07afa6f61840
6
+ metadata.gz: 5fbf80049a20bbb4f2bce49f2eadbc725f9ccca4555f7977581d33509ac3c50910e49766a6b10da0733c71d7b3dabd889a8276ce71f55a6519b3ce908cf37f49
7
+ data.tar.gz: 73a975b25ca05a32a34448bc96fa06eb57825f10eac3dea592b3a0e179b07126d501261c8d078f65c60d03aa59b724223a6d1c14b61583cb2962cf8f65a42042
@@ -30,8 +30,8 @@ module Waldit
30
30
 
31
31
  def create_waldit_publication
32
32
  reversible do |dir|
33
- dir.up { execute "CREATE PUBLICATION waldit" }
34
- dir.down { execute "DROP PUBLICATION waldit" }
33
+ dir.up { execute "CREATE PUBLICATION waldit_publication" }
34
+ dir.down { execute "DROP PUBLICATION waldit_publication" }
35
35
  end
36
36
  end
37
37
 
@@ -39,10 +39,10 @@ module Waldit
39
39
  reversible do |dir|
40
40
  dir.up do
41
41
  execute "ALTER TABLE #{table} REPLICA IDENTITY FULL"
42
- execute "ALTER PUBLICATION waldit ADD TABLE #{table}"
42
+ execute "ALTER PUBLICATION waldit_publication ADD TABLE #{table}"
43
43
  end
44
44
  dir.down do
45
- execute "ALTER PUBLICATION waldit DROP TABLE #{table}"
45
+ execute "ALTER PUBLICATION waldit_publication DROP TABLE #{table}"
46
46
  execute "ALTER TABLE #{table} REPLICA IDENTITY DEFAULT"
47
47
  end
48
48
  end
@@ -51,12 +51,12 @@ module Waldit
51
51
  def remove_table_from_waldit(table)
52
52
  reversible do |dir|
53
53
  dir.up do
54
- execute "ALTER PUBLICATION waldit DROP TABLE #{table}"
54
+ execute "ALTER PUBLICATION waldit_publication DROP TABLE #{table}"
55
55
  execute "ALTER TABLE #{table} REPLICA IDENTITY DEFAULT"
56
56
  end
57
57
  dir.down do
58
58
  execute "ALTER TABLE #{table} REPLICA IDENTITY FULL"
59
- execute "ALTER PUBLICATION waldit ADD TABLE #{table}"
59
+ execute "ALTER PUBLICATION waldit_publication ADD TABLE #{table}"
60
60
  end
61
61
  end
62
62
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Waldit
4
- VERSION = "0.0.9"
4
+ VERSION = "0.0.10"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waldit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Navarro