Best way to quickly increase the ids to over 4 digits?

I want the IDs to start over 1000
7 Replies
greenlemur
greenlemur•7mo ago
Ask the AI assistant in the editor to create 1000 records for that model for you. Then clear the entire table. The next record you create should be 1001
Chocci_Milk
Chocci_Milk•7mo ago
The other option is to use the bulkCreate method of the model that you're trying to create records on
Jay
JayOP•7mo ago
will it work in producttion?
Chocci_Milk
Chocci_Milk•7mo ago
Which option?
Jay
JayOP•7mo ago
so actuallyt just created a global action which accepts a count, and will deploy and run in productstion i was reffering to the first opiton so i guess im doing the second option 🙂
Chocci_Milk
Chocci_Milk•7mo ago
Did you try using the assistant in production to see if it would work?
Jay
JayOP•7mo ago
looks disabled in production
No description

Did you find this page helpful?