From 42d967900b083bb324aa0736c477161dc17c769c Mon Sep 17 00:00:00 2001 From: abicky Date: Mon, 10 Aug 2020 01:58:12 +0900 Subject: [PATCH] Improve warning message cf. https://github.com/winebarrel/ridgepole/issues/302 --- lib/ridgepole/dsl_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ridgepole/dsl_parser.rb b/lib/ridgepole/dsl_parser.rb index 9e225856..a915e936 100644 --- a/lib/ridgepole/dsl_parser.rb +++ b/lib/ridgepole/dsl_parser.rb @@ -41,7 +41,7 @@ def check_foreign_key_without_index(table_name, attrs) Ridgepole::Logger.instance.warn(<<-MSG) [WARNING] Table `#{table_name}` has a foreign key on `#{fk_index}` column, but doesn't have any indexes on the column. - Although an index will be added automatically by InnoDB, please add an index explicitly for your future operations. + Although an index will be added automatically by InnoDB, please add an index explicitly before the next operation. MSG end end