====== Database ====== ===== Cizí klíč (Foreign Key) ===== * 1:1 * 1:N * N:M ===== 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