Delete old migrations in the api. Lims-core migrations are used.