adds pure sql for migration