fix migration for server’s sqlite version