Method: RR::ReplicationInitializer#drop_change_logs

Defined in:
lib/rubyrep/replication_initializer.rb

#drop_change_logsObject

Checks in both databases, if the change_log tables exist. If yes, drops them.



229
230
231
232
233
# File 'lib/rubyrep/replication_initializer.rb', line 229

def drop_change_logs
  [:left, :right].each do |database|
    drop_change_log(database) if change_log_exists?(database)
  end
end