Mysql – How do SQL history tables work when there are foreign keys at play?
Lets say I have 2 tables: User: ID: PK, AI username: varchar pwd: varchar addressID: FK references address.ID Address: ID: PK, AI street varchar, houseNr varchar, postal varchar, How would the history tables look like since we obviously have foreign…