migration inside sql