Recently I had to deal with some limitations of my database provider that doesn’t support table renaming. So I had to duplicate a table manually. The database of my SaaS platform is hosted on Planetscale. The company provides a MySQL-compatible serverless database.