aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert2017-06-05 15:45:22 +0200
committerRobert2017-06-05 15:54:55 +0200
commit732f0b13bb240021c5292d483a432a7ec0f9612d (patch)
tree00b878eaf01510dbba0c6644bf05a2707fa67404
parent6b974a4cf5d0acf56bf225e843d40f9cd80f1c59 (diff)
downloadchouette-core-732f0b13bb240021c5292d483a432a7ec0f9612d.tar.bz2
xxx
-rw-r--r--app/workers/referential_cloning_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/referential_cloning_worker.rb b/app/workers/referential_cloning_worker.rb
index 87725ce5a..c56e11a64 100644
--- a/app/workers/referential_cloning_worker.rb
+++ b/app/workers/referential_cloning_worker.rb
@@ -16,6 +16,8 @@ class ReferentialCloningWorker
def clone_schema ref_cloning, source_schema, target_schema
ref_cloning.run!
+ require 'pry'
+ binding.pry
StoredProcedures.invoke_stored_procedure(:clone_schema, source_schema, target_schema, true)
execute_sql "DROP SCHEMA #{source_schema} CASCADE;"
execute_sql "ALTER SCHEMA #{target_schema} RENAME TO #{source_schema};"