Feature/pure sql migration 20091123062515