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
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
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).
yeah, agreed this is unusually hard in convex right now. we'll have to figure out something easier here one day
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