jeudi 2 avril 2015

how to modify start of auto_increment of primary key?

I am making an invoice app for my company and want to start my invoices where my old system left( 909). How can I go about this? I thought that modifying the invoices table' primary key to start auto increment at 909. How would you guys go about this? I am using rails 4 and sqlite for db.


Thank you for your time!


Aucun commentaire:

Enregistrer un commentaire