     
 
 # Apply the first migration from the remaining, and move on to the next
-applyMigration = (config, client, keyspace, file, version) ->
+applyMigration = (config, client, keyspace, file, version, interval) ->
   logInfo "Applying migration: #{file}"
 
   queryStrings = _.trim(FS.readFileSync(file, 'utf-8')).split('---')

    quietMode = config.quiet
    debugMode = config.debug
    keyspace = config.cassandra.keyspace

    if config.auth?
      logDebug "Connecting with simple user authentication."


quietMode = false
debugMode = false

sleep = (ms) ->
  new Promise((resolve) ->
    setTimeout resolve, ms
    return
  )

logError = (message, error) ->
  errorMessage = if error? then ": #{error}" else ''
