Obsah

Database

Cizí klíč (Foreign Key)

reset AUTO INCREMENT

 ALTER TABLE tablename AUTO_INCREMENT = 1

Zdroj: https://www.viralpatel.net/reseting-mysql-autoincrement-column/ a https://stackoverflow.com/questions/8923114/how-to-reset-auto-increment-in-mysql