Migration of pre-3.6 SQL databases into a shared SQL database