Open stubailo opened 8 years ago
Where are the migrations or whatever creates the schema? I saw bits of bookshelf and knex but didn't find a schema or migrations anywhere.
So glad you guys are working on postgres support!
We're currently working with the Rocket.Chat team to design a working schema and decouple accounts from mongo. I'll link to the right place once we have some code up.
Right now, there is a super hacky schema for Accounts in the example apps. Since I am not a SQL expert, I don't know what the best schema design would be - how expensive are joins in this case, etc?
It would be awesome if someone who knows more about SQL schema design could give some pointers.