update db migration for sql