David Alonso
David Alonso6mo ago

Easiest way to rename a table when in production?

I assume this is a standard migration so just wondering what the recommended approach is
4 Replies
Matt Luo
Matt Luo6mo ago
As of right now, I don't think you can literally rename a table. You can make an alias or migrate all the rows to a new table
erquhart
erquhart6mo ago
I'm probably going to start using aliasing across all tables for this reason, just let the actual table name be a low level detail (although still visible in the dashboard).
jamwt
jamwt6mo ago
yeah, agreed this is unusually hard in convex right now. we'll have to figure out something easier here one day
erquhart
erquhart6mo ago
Maybe a purpose built derivative of whatever migration component comes out But a lower level solution where a migration isn't required would be pretty sweet

Did you find this page helpful?