I am trying to figure out a way to share a single Users table in a database across multiple websites, in the most painless way possible. I'm specifically looking at NOP Commerce.
The issue with modifying the source code, is that plugins/etc aren't guarenteed to work due to the modified code. So I thought about SQL Server.
If I installed NOP Commerce onto two different databases, couldn't I "FORCE DROP" the entire user table in one, and replace it with a "SYNONYM" pointing it to the other?
(What is the use of SYNONYM in SQL Server 2008?)
(How can foreign key constraints be temporarily disabled using T-SQL?)
I'm not a pro on SQL Server, and am wondering of this is even feasible. iknow NOP 3+ has multstore support - but my concept is varied enough to where different code bases would be preferential.