ErisMik / Minutes-Made

Train ourselves and not the tech
3 stars 1 forks source link

[MM-PulpFree/MM-IO] Connect MongoDB transcript with Postgres meeting table #76

Open yuming-h opened 5 years ago

yuming-h commented 5 years ago

Need the postgres meeting tables to point to the MongoDB transcripts - ultimately so users can view their past meetings. I'm not too sure how the IO services work but I believe they would need to handle this.

ErisMik commented 5 years ago

When we place a meeting in MongoDB the current scheme is to include the meetingid. Would this not be enough to link the two? Its essentially a foreign key in the other database no?

yuming-h commented 5 years ago

Yep, that's correct. However, we need the controllers to implement the foreign key constraint i.e. the "join" between the databases and the cascade when the meeting is deleted.