12 lines
630 B
Markdown
12 lines
630 B
Markdown
# anum
|
|
|
|
the unholy lovechild of Xitter and 4chan
|
|
|
|
## migration tutorial because i have dementia
|
|
### if this makes it to prod im going to follow lowtiergod's advice
|
|
1. `cp prisma/schema.prisma prisma/schema.prisma.old`
|
|
2. touch schema.prisma like diddy touches children
|
|
3. tell wrangler that we are Migrationing It
|
|
4. get prisma to create a migration from the old ass motherfucker schema to the new babyoiled one and throw its output in wrangler's migration template
|
|
5. tell wrangler that we have Migrationed It go apply this shit now you stinky ass motherfucker blackout revival flare looking ass
|
|
6. `rm prisma/schema.prisma.old`
|