Method: RR::ReplicationInitializer#drop_change_log

Defined in:
lib/rubyrep/replication_initializer.rb

#drop_change_log(database) ⇒ Object

Drops the change log table in the specified database

  • database: either :left or :right



115
116
117
# File 'lib/rubyrep/replication_initializer.rb', line 115

def drop_change_log(database)
  session.send(database).drop_table "#{options[:rep_prefix]}_pending_changes"
end