removed raw sql from migration script

require re-installing

Signed-off-by: Raf <7909000@gmail.com>