Skip to content

Commit

Permalink
Improve warning message
Browse files Browse the repository at this point in the history
cf. #302
  • Loading branch information
abicky committed Aug 9, 2020
1 parent 65e6097 commit 42d9679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ridgepole/dsl_parser.rb
Expand Up @@ -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
Expand Down

0 comments on commit 42d9679

Please sign in to comment.