HELP:
Hello I have a question to create a model, it turns out that I have a table of drivers (drivers) that have many fields of data, ranging from personal data, date of discharge, date of withdrawal, in addition to data as no license , expiration date, status of the document (if active, expired or due, this based on the days remaining to expire) as well as a field document_licencia (which would be the path of the image), but I also have other information about the insurance, my question is, how do I relate the status_licencia and status_seguro fields to the DocumentStatus table, how do I do the relationship in the migration and also between the models, since it is related 2 times to Drivers with DocumentStatus ... the same will happen to me with Trucks, but they are more documents, I thought about dividing into Drivers, Drivers_licenses, drivers_, but that would add more complexity when it comes to saving data and making inquiries ..... I HOPE HAVING EXPLAINED