axnish27 / employee-profile-manager

0 stars 0 forks source link

Relationship practice #28

Closed axnish27 closed 6 days ago

axnish27 commented 1 week ago

implemented a simple CRUD for companies

implemented below relationships company -> employee -- 1 - N employee ->company -- N - 1 company -> project -- 1 - N project ->company -- N - 1 project -> employee -- N - N (created a through table) employee -> BankAccount -- 1 - 1

@Raza9798

Raza9798 commented 6 days ago

can you draw a simple ERD diagram so I can understand easily @axnish27

axnish27 commented 6 days ago

can you draw a simple ERD diagram so I can understand easily @axnish27

Sure

axnish27 commented 6 days ago

image

As requested drew a simple erd to ilustrate the relationship between model please review @Raza9798

Raza9798 commented 6 days ago

image

i am not able to see the relationship information in the datatable

axnish27 commented 6 days ago

image

i am not able to see the relationship information in the datatable

I didnt make any changes to the front end or controllers cuz at the time i created a new branch the development branch was way behind and in other branch i had made so many changes to employee controller and view it was pending pull req.....so making any changes to view and controller could have created a big merge conflict...to avoid that i implemented only the backend logic....and very basic crud for companies to that you can find the link nav bar.....

@Raza9798