Method: RR::ReplicationInitializer#ensure_change_logs
- Defined in:
- lib/rubyrep/replication_initializer.rb
#ensure_change_logs ⇒ Object
Checks in both databases, if the change log tables exists and creates them if necessary
214 215 216 217 218 |
# File 'lib/rubyrep/replication_initializer.rb', line 214 def ensure_change_logs [:left, :right].each do |database| create_change_log(database) unless change_log_exists?(database) end end |