edgaras
05/09/2022, 9:04 PMjaitaiwan
05/09/2022, 11:01 PMJOIN
statement to bring the data together.edgaras
05/09/2022, 11:06 PMedgaras
05/09/2022, 11:08 PMCASCADE
? Is that necessary to make sure data is updated/deleted in all tables?jaitaiwan
05/10/2022, 11:15 PMedgaras
05/12/2022, 12:10 AMCASCADE
. For now I will leave without it and see when I meet with the problem when I need to update or delete multiple rows in different tables at once.
deleted_at
is a good idea, but on top of that there should be a period when all rows marked with deleted_at
should be cleared. Otherwise we would be storing unnecessary data and in some cases violating the user rights for data deletion. Something I will think about too. Most likely some kind of scheduler that runs and clears all deleted_at after half a year or a year.jaitaiwan
05/12/2022, 12:17 AMedgaras
05/12/2022, 12:17 AMjaitaiwan
05/12/2022, 12:18 AMedgaras
05/12/2022, 12:23 AM