I have this scenario
User can have many profiles per year and i also want to keep history as well
I have following tables
Now i am confused should i make separate table for year.
I am confused to make separate profile per year.
I mean when the new year comes then i would want to copy the profile to new profile so that they can edit the new profile but previous year profile will remain uneditable
Just have one table for profiles. Each profile should have a creation date. Then you can sort by date and make the newest profile editable, and treat the older ones as archives.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.