Backport from #367.
Fixing bug in EF migration for non-fixed length string types.
(cherry picked from commit 048070294279ee0b1a595e8ad5d8d07bdac08553)