myreplicator 1.1.35 → 1.1.36
Sign up to get free protection for your applications and to get access to all the features.
@@ -151,7 +151,7 @@ module Myreplicator
|
|
151
151
|
elsif get_analyze_constraints(ops) > 0 # check for primary key/unique keys violations
|
152
152
|
exp = Export.find(metadata.export_id)
|
153
153
|
Kernel.p "===== DROP CURRENT TABLE ====="
|
154
|
-
sql = "DROP TABLE IF EXISTS #{options[:db]}.#{options[:destination_schema]}.#{options[:
|
154
|
+
sql = "DROP TABLE IF EXISTS #{options[:db]}.#{options[:destination_schema]}.#{options[:table_name]} CASCADE;"
|
155
155
|
Myreplicator::DB.exec_sql("vertica",sql)
|
156
156
|
# run the export. The next time loader runs, it will load the file
|
157
157
|
exp.export
|
data/lib/myreplicator/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myreplicator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.36
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -360,7 +360,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
360
360
|
version: '0'
|
361
361
|
segments:
|
362
362
|
- 0
|
363
|
-
hash:
|
363
|
+
hash: -2753650323082711292
|
364
364
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
365
365
|
none: false
|
366
366
|
requirements:
|
@@ -369,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
369
369
|
version: '0'
|
370
370
|
segments:
|
371
371
|
- 0
|
372
|
-
hash:
|
372
|
+
hash: -2753650323082711292
|
373
373
|
requirements: []
|
374
374
|
rubyforge_project:
|
375
375
|
rubygems_version: 1.8.24
|