 	]
 	type: 'string'
 	help: 'Drop database: "main", "test" or "both".'
+	action: dropDatabase
 ,
 	names: [
 		'migrate-tables'

	]
	type: 'string'
	help: 'Create database: "main", "test" or "both".'
,
	names: [
		'drop-database'

#	create config.MYSQL_DATABASE_URL if opts.create_database is 'main' or opts.create_database is 'both'
#	create config.MYSQL_DATABASE_URL_TEST if opts.create_database is 'test' or opts.create_database is 'both'

i = 0
iter = () ->
	process.exit 0 if i >= opts._order.length
	op = opts._order[i]
	actions[op.key] op.value, (error) ->
		checkError error
		i++
		iter()
iter()
