Drizzle TeamDT
Drizzle Teamβ€’14mo agoβ€’
18 replies
jsingleton37

I messed up my supabase and drizzle setup

To start off, databases and ORMs I am not super familiar with and didn't realize I was just directly running migrations against the production db πŸ™ƒ so after chatting with some folks I decided to install docker and run
pnpm supabase start
locally and that ended up failing due to

ERROR: column "class_year" cannot be cast automatically to type integer (SQLSTATE 42804)
At statement 1: --> statement-breakpoint                                                
ALTER TABLE "transfer_portal_entries" ALTER COLUMN "class_year" SET DATA TYPE integer  


I used to have a
class_year
column in that table, however, I no longer do as it was renamed and even shows up under https://github.com/JamesSingleton/redshirt-sports/tree/feature/transfer-portal/supabase as being renamed... So not entirely sure what to do from here.
GitHub
Website for Redshirt Sports. Contribute to JamesSingleton/redshirt-sports development by creating an account on GitHub.
redshirt-sports/supabase at feature/transfer-portal Β· JamesSingleto...
Was this page helpful?