renaming column names
Hello,
In the past I've made some really bad naming decisions for my columns and I'm wanting to rename these now.
current schema:
I would like to rename the
botStatusType
column to botActivityType
. To do this I tried using the @map property, below is an example of how i tried this:
My database is populated full of data which cannot be removed, id like this schema change to be seemless, but when attempting to prisma db push
I get the following error:
1 Reply
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into
#ask-ai
for a quick spin!