Strapi uses SQLite by default which persists the data in a local file (hence the loss of data between re-deployments)