Method: RR::ReplicationInitializer#change_log_exists?
- Defined in:
- lib/rubyrep/replication_initializer.rb
#change_log_exists?(database) ⇒ Boolean
Returns true
if the change log exists in the specified database.
-
database: either :
left
or :right
104 105 106 |
# File 'lib/rubyrep/replication_initializer.rb', line 104 def change_log_exists?(database) session.send(database).tables.include? "#{[:rep_prefix]}_pending_changes" end |