R
Railway13mo ago
dan

PostgreSQL & Prisma auto increment

Currently, my database relies on prisma as an orm to save punishments and whatnot. I'm wondering if there's a way to make the punishment id start from a specific number and auto increment from there. E.g instead of starting from 1 and going up (1, 2, 3, 4) it starts from 10000 (10001, 10002) and goes up like so. Would this be possible?
5 Replies
Percy
Percy13mo ago
Project ID: bdf52ca3-6199-4fdc-b415-bc60d97ba135
dan
danOP13mo ago
bdf52ca3-6199-4fdc-b415-bc60d97ba135
Brody
Brody13mo ago
I'm really sorry but these help threads are for questions relating to railway, your question would better be served on maybe a prisma specific help forum
dan
danOP13mo ago
Oh right. I thought railway might have a built in command that could perhaps do it. Sorry for the inconvenience
Brody
Brody13mo ago
yeah this is just a regular database and prisma question, nothing railway specific
Want results from more Discord servers?
Add your server