  * @type {[type]}
 ###
 template = coffee.compile template, bare: true if config.ext is '.js'
-
-schema = null
 
 ###*
  * output infomation

    migration = require task.path
    throw new Error('INVALID MIGRATION: ' + task.name) unless typeof migration.up is 'function'

    if schema[task.name]
      _info 'skip', task.name
      return num



    migration = require task.path
    throw new Error('INVALID MIGRATION: ' + task.name) unless typeof migration.down is 'function'
    return _info 'skip', task.name unless schemas[task.name]?.status is 'up'

    _exec migration.down

    .then ->
      delete schemas[task.name]
      fs.writeFileAsync config.schema, JSON.stringify schema

    .then ->
