bin/ridgepole in ridgepole-0.1.5 vs bin/ridgepole in ridgepole-0.1.6

- old
+ new

@@ -36,10 +36,11 @@ opt.on('', '--split') {|v| split = true } opt.on('', '--split-with-dir') {|v| split = :with_dir } opt.on('-o', '--output FILE') {|v| output_file = v } opt.on('-t', '--tables TABLES', Array) {|v| options[:tables] = v } opt.on('', '--disable-mysql-unsigned') { options[:disable_mysql_unsigned] = true } + opt.on('' , '--verbose') { Ridgepole::Logger.verbose = true } opt.on('' , '--debug') { options[:debug] = true } opt.parse! unless config and mode puts opt.help @@ -113,9 +114,10 @@ delta = client.diff(dsl, :path => file) if options[:dry_run] puts delta.script if delta.differ? else + logger.verbose_info('# Update schema') delta.migrate end unless delta.differ? logger.info('No change')